From 5e7b18da59aab2f11e7eb09cd43e336ded09af22 Mon Sep 17 00:00:00 2001 From: "Markus S. Wamser" Date: Thu, 20 Feb 2025 12:41:07 +0100 Subject: [PATCH] python3Packages.pydal: 20241204.1 -> 20250215.2 --- pkgs/development/python-modules/pydal/default.nix | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/pkgs/development/python-modules/pydal/default.nix b/pkgs/development/python-modules/pydal/default.nix index cb5cc6120748..58d448b13a17 100644 --- a/pkgs/development/python-modules/pydal/default.nix +++ b/pkgs/development/python-modules/pydal/default.nix @@ -3,26 +3,30 @@ buildPythonPackage, fetchPypi, pytestCheckHook, + pythonAtLeast, pythonOlder, setuptools, + legacy-cgi, }: buildPythonPackage rec { pname = "pydal"; - version = "20241204.1"; - format = "pyproject"; + version = "20250215.2"; + pyproject = true; disabled = pythonOlder "3.7"; src = fetchPypi { inherit pname version; - hash = "sha256-G6H55Si5heI09bOs/Z1UmZi0T37XrnR7no1K0wR79RE="; + hash = "sha256-FbykqwXXCse8CPD6Dm/w5I8lco5XWLH3BlJJtHuU8Vk="; }; - nativeBuildInputs = [ setuptools ]; + build-system = [ setuptools ]; nativeCheckInputs = [ pytestCheckHook ]; + checkInputs = lib.optionals (pythonAtLeast "3.13") [ legacy-cgi ]; + pytestFlagsArray = [ "tests/*.py" # these tests already seem to be broken on the upstream @@ -32,6 +36,7 @@ buildPythonPackage rec { "--deselect=tests/nosql.py::TestExpressions::testRun" "--deselect=tests/nosql.py::TestImportExportUuidFields::testRun" "--deselect=tests/nosql.py::TestConnection::testRun" + "--deselect=tests/restapi.py::TestRestAPI::test_search" "--deselect=tests/validation.py::TestValidateAndInsert::testRun" "--deselect=tests/validation.py::TestValidateUpdateInsert::testRun" "--deselect=tests/validators.py::TestValidators::test_IS_IN_DB"