File tree Expand file tree Collapse file tree 1 file changed +9
-4
lines changed
pkgs/development/python-modules/pydal Expand file tree Collapse file tree 1 file changed +9
-4
lines changed Original file line number Diff line number Diff line change 33 buildPythonPackage ,
44 fetchPypi ,
55 pytestCheckHook ,
6+ pythonAtLeast ,
67 pythonOlder ,
78 setuptools ,
9+ legacy-cgi ,
810} :
911
1012buildPythonPackage rec {
1113 pname = "pydal" ;
12- version = "20241204.1 " ;
13- format = "pyproject" ;
14+ version = "20250215.2 " ;
15+ pyproject = true ;
1416
1517 disabled = pythonOlder "3.7" ;
1618
1719 src = fetchPypi {
1820 inherit pname version ;
19- hash = "sha256-G6H55Si5heI09bOs/Z1UmZi0T37XrnR7no1K0wR79RE =" ;
21+ hash = "sha256-FbykqwXXCse8CPD6Dm/w5I8lco5XWLH3BlJJtHuU8Vk =" ;
2022 } ;
2123
22- nativeBuildInputs = [ setuptools ] ;
24+ build-system = [ setuptools ] ;
2325
2426 nativeCheckInputs = [ pytestCheckHook ] ;
2527
28+ checkInputs = lib . optionals ( pythonAtLeast "3.13" ) [ legacy-cgi ] ;
29+
2630 pytestFlagsArray = [
2731 "tests/*.py"
2832 # these tests already seem to be broken on the upstream
@@ -32,6 +36,7 @@ buildPythonPackage rec {
3236 "--deselect=tests/nosql.py::TestExpressions::testRun"
3337 "--deselect=tests/nosql.py::TestImportExportUuidFields::testRun"
3438 "--deselect=tests/nosql.py::TestConnection::testRun"
39+ "--deselect=tests/restapi.py::TestRestAPI::test_search"
3540 "--deselect=tests/validation.py::TestValidateAndInsert::testRun"
3641 "--deselect=tests/validation.py::TestValidateUpdateInsert::testRun"
3742 "--deselect=tests/validators.py::TestValidators::test_IS_IN_DB"
You can’t perform that action at this time.
0 commit comments