Skip to content

Commit b52b4c2

Browse files
python313Packages.calmjs: disable more argparse-related tests
1 parent 02793bc commit b52b4c2

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

pkgs/development/python-modules/calmjs/default.nix

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,24 @@
55
calmjs-types,
66
calmjs-parse,
77
pytestCheckHook,
8+
setuptools,
89
}:
910

1011
buildPythonPackage rec {
1112
pname = "calmjs";
1213
version = "3.4.4";
13-
format = "setuptools";
14+
pyproject = true;
1415

1516
src = fetchPypi {
1617
inherit pname version;
1718
hash = "sha256-73NQiY1RMdBrMIlm/VTvHY4dCHL1pQoj6a48CWRos3o=";
1819
extension = "zip";
1920
};
2021

22+
build-system = [
23+
setuptools
24+
];
25+
2126
propagatedBuildInputs = [
2227
calmjs-parse
2328
calmjs-types
@@ -28,6 +33,10 @@ buildPythonPackage rec {
2833
disabledTests = [
2934
# spacing changes in argparse output
3035
"test_integration_choices_in_list"
36+
# formatting changes in argparse output
37+
"test_sorted_case_insensitivity"
38+
"test_sorted_simple_first"
39+
"test_sorted_standard"
3140
];
3241

3342
# ModuleNotFoundError: No module named 'calmjs.types'

0 commit comments

Comments
 (0)