Merge pull request #269751 from fabaff/pgvector-bump
python311Packages.pgvector: 0.2.3 -> 0.2.4
This commit is contained in:
@@ -13,11 +13,12 @@
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, sqlalchemy
|
||||
, sqlmodel
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "pgvector";
|
||||
version = "0.2.3";
|
||||
version = "0.2.4";
|
||||
format = "setuptools";
|
||||
|
||||
disabled = pythonOlder "3.8";
|
||||
@@ -26,7 +27,7 @@ buildPythonPackage rec {
|
||||
owner = "pgvector";
|
||||
repo = "pgvector-python";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-KQROG0cHvKmdWssr7Git3JH0YguRPno/ZzYiQL7VhwU=";
|
||||
hash = "sha256-XKoaEwLW59pV4Dwis7p2L65XoO2zUEa1kXxz6Lgs2d8=";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
@@ -44,6 +45,7 @@ buildPythonPackage rec {
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
sqlalchemy
|
||||
sqlmodel
|
||||
];
|
||||
|
||||
env = {
|
||||
|
||||
@@ -0,0 +1,58 @@
|
||||
{ lib
|
||||
, buildPythonPackage
|
||||
, fastapi
|
||||
, fetchFromGitHub
|
||||
, poetry-core
|
||||
, pydantic
|
||||
, pytest-asyncio
|
||||
, pytestCheckHook
|
||||
, pythonOlder
|
||||
, sqlalchemy
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "sqlmodel";
|
||||
version = "0.0.12";
|
||||
pyproject = true;
|
||||
|
||||
disabled = pythonOlder "3.7";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "tiangolo";
|
||||
repo = "sqlmodel";
|
||||
rev = "refs/tags/${version}";
|
||||
hash = "sha256-ER8NGDcCCCXT8lsm8fgJUaLyjdf5v2/UdrBw5T9EeXQ=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
poetry-core
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pydantic
|
||||
sqlalchemy
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
fastapi
|
||||
pytest-asyncio
|
||||
pytestCheckHook
|
||||
];
|
||||
|
||||
pythonImportsCheck = [
|
||||
"sqlmodel"
|
||||
];
|
||||
|
||||
disabledTestPaths = [
|
||||
# Coverage
|
||||
"tests/test_tutorial/test_create_db_and_table/test_tutorial001.py"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Module to work with SQL databases";
|
||||
homepage = "https://github.com/tiangolo/sqlmodel";
|
||||
changelog = "https://github.com/tiangolo/sqlmodel/releases/tag/${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [ fab ];
|
||||
};
|
||||
}
|
||||
@@ -13421,6 +13421,8 @@ self: super: with self; {
|
||||
|
||||
sqlmap = callPackage ../development/python-modules/sqlmap { };
|
||||
|
||||
sqlmodel = callPackage ../development/python-modules/sqlmodel { };
|
||||
|
||||
sqlobject = callPackage ../development/python-modules/sqlobject { };
|
||||
|
||||
sqlparse = callPackage ../development/python-modules/sqlparse { };
|
||||
|
||||
Reference in New Issue
Block a user