python3Packages.postgrest-py: init at 1.1.1 (#419934)

This commit is contained in:
Aleksana
2025-06-29 08:43:41 +08:00
committed by GitHub
2 changed files with 63 additions and 0 deletions
@@ -0,0 +1,61 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
deprecation,
h2,
httpx,
poetry-core,
pydantic,
pytestCheckHook,
pythonPackages,
}:
buildPythonPackage rec {
pname = "postgrest-py";
version = "1.1.1";
pyproject = true;
src = fetchFromGitHub {
owner = "supabase";
repo = "postgrest-py";
tag = "v${version}";
hash = "sha256-WTS8J8XhHPSe6N1reY3j2QYHaRY1goiVoqQCUKSgbVY=";
};
build-system = [ poetry-core ];
dependencies = [
deprecation
httpx
pydantic
];
nativeCheckInputs = [
pytestCheckHook
h2
];
# Lots of tests fail without network access
disabledTestPaths = [
"tests/_async/test_client.py"
"tests/_async/test_filter_request_builder.py"
"tests/_async/test_filter_request_builder_integration.py"
"tests/_async/test_query_request_builder.py"
"tests/_async/test_request_builder.py"
"tests/_sync/test_filter_request_builder_integration.py"
];
disabledTests = [
"test_params_purged_after_execute"
];
pythonImportsCheck = [ "postgrest" ];
meta = {
description = "PostgREST client for Python, provides an ORM interface to PostgREST";
homepage = "https://github.com/supabase/postgrest-py";
changelog = "https://github.com/supabase/postgrest-py/releases/tag/v${version}";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ jherland ];
};
}
+2
View File
@@ -11703,6 +11703,8 @@ self: super: with self; {
posix-ipc = callPackage ../development/python-modules/posix-ipc { };
postgrest-py = callPackage ../development/python-modules/postgrest-py { };
posthog = callPackage ../development/python-modules/posthog { };
pot = callPackage ../development/python-modules/pot { };