python312Packages.pgvector: 0.3.6 -> 0.4.1 (#407658)
This commit is contained in:
@@ -13,8 +13,10 @@
|
||||
asyncpg,
|
||||
django,
|
||||
peewee,
|
||||
pg8000,
|
||||
postgresql,
|
||||
postgresqlTestHook,
|
||||
psycopg-pool,
|
||||
psycopg,
|
||||
psycopg2,
|
||||
pytest-asyncio,
|
||||
@@ -26,14 +28,14 @@
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pgvector";
|
||||
version = "0.3.6";
|
||||
version = "0.4.1";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pgvector";
|
||||
repo = "pgvector-python";
|
||||
tag = "v${version}";
|
||||
hash = "sha256-ho0UgamZxsN+pv7QkpsDnN7f+I+SrexA2gVtmJF8/3Q=";
|
||||
hash = "sha256-QbNzEQctKgxdH1cpMmf2Yg05Q3KOT9tGtK4YSr9GiC4=";
|
||||
};
|
||||
|
||||
build-system = [ setuptools ];
|
||||
@@ -44,8 +46,10 @@ buildPythonPackage rec {
|
||||
asyncpg
|
||||
django
|
||||
peewee
|
||||
pg8000
|
||||
psycopg
|
||||
psycopg2
|
||||
psycopg-pool
|
||||
(postgresql.withPackages (p: with p; [ pgvector ]))
|
||||
postgresqlTestHook
|
||||
pytest-asyncio
|
||||
@@ -61,6 +65,12 @@ buildPythonPackage rec {
|
||||
postgresqlTestUserOptions = "LOGIN SUPERUSER";
|
||||
};
|
||||
|
||||
disabledTestPaths = [
|
||||
# DB error
|
||||
"tests/test_pg8000.py"
|
||||
"tests/test_sqlalchemy.py"
|
||||
];
|
||||
|
||||
pythonImportsCheck = [ "pgvector" ];
|
||||
|
||||
__darwinAllowLocalNetworking = true;
|
||||
|
||||
Reference in New Issue
Block a user