feat(python-env): remove unused dependencies and clean up package list

This commit is contained in:
2026-07-09 11:04:59 -04:00
parent 507c3f5406
commit e596652582
-30
View File
@@ -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