feat(python-env): remove unused dependencies and clean up package list
This commit is contained in:
@@ -18,44 +18,18 @@
|
|||||||
python-env = final: _prev: {
|
python-env = final: _prev: {
|
||||||
my_python = final.python314.withPackages (
|
my_python = final.python314.withPackages (
|
||||||
ps:
|
ps:
|
||||||
let
|
|
||||||
bm25s = ps.buildPythonPackage rec {
|
|
||||||
pname = "bm25s";
|
|
||||||
version = "0.3.9";
|
|
||||||
pyproject = true;
|
|
||||||
|
|
||||||
src = final.fetchPypi {
|
|
||||||
inherit pname version;
|
|
||||||
hash = "sha256-iVxnnZUrfeg1XttfPhpiCh4vKU0dQrkZvwghzOLi9Zc=";
|
|
||||||
};
|
|
||||||
|
|
||||||
build-system = [ ps.setuptools ];
|
|
||||||
dependencies = with ps; [
|
|
||||||
numpy
|
|
||||||
scipy
|
|
||||||
];
|
|
||||||
|
|
||||||
pythonImportsCheck = [ "bm25s" ];
|
|
||||||
};
|
|
||||||
in
|
|
||||||
with ps;
|
with ps;
|
||||||
[
|
[
|
||||||
alembic
|
alembic
|
||||||
apprise
|
apprise
|
||||||
apscheduler
|
apscheduler
|
||||||
beautifulsoup4
|
|
||||||
ebooklib
|
|
||||||
fastapi
|
fastapi
|
||||||
fastapi-cli
|
fastapi-cli
|
||||||
httpx
|
httpx
|
||||||
mypy
|
mypy
|
||||||
numpy
|
|
||||||
orjson
|
|
||||||
pgvector
|
pgvector
|
||||||
polars
|
|
||||||
psycopg
|
psycopg
|
||||||
pydantic
|
pydantic
|
||||||
pydantic-settings
|
|
||||||
pyfakefs
|
pyfakefs
|
||||||
pytest
|
pytest
|
||||||
pytest-cov
|
pytest-cov
|
||||||
@@ -63,12 +37,8 @@
|
|||||||
pytest-xdist
|
pytest-xdist
|
||||||
python-multipart
|
python-multipart
|
||||||
ruff
|
ruff
|
||||||
scalene
|
|
||||||
sqlalchemy
|
sqlalchemy
|
||||||
bm25s
|
|
||||||
tenacity
|
tenacity
|
||||||
textual
|
|
||||||
tiktoken
|
|
||||||
tinytuya
|
tinytuya
|
||||||
typer
|
typer
|
||||||
websockets
|
websockets
|
||||||
|
|||||||
Reference in New Issue
Block a user