updated python

This commit is contained in:
2026-06-12 03:12:26 -04:00
parent 03c85c5ebd
commit e936b5850c
+28 -1
View File
@@ -17,15 +17,41 @@
python-env = final: _prev: { python-env = final: _prev: {
my_python = final.python314.withPackages ( my_python = final.python314.withPackages (
ps: with 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;
[
alembic alembic
apprise apprise
apscheduler apscheduler
beautifulsoup4
ebooklib
fastapi fastapi
fastapi-cli fastapi-cli
httpx httpx
mypy mypy
numpy
orjson orjson
pgvector
polars polars
psycopg psycopg
pydantic pydantic
@@ -39,6 +65,7 @@
scalene scalene
sqlalchemy sqlalchemy
sqlalchemy sqlalchemy
bm25s
tenacity tenacity
textual textual
tiktoken tiktoken