Loading pkgs/development/python-modules/scikit-build-core/default.nix +9 −6 Original line number Diff line number Diff line Loading @@ -16,24 +16,24 @@ , pytestCheckHook , setuptools , tomli , virtualenv , wheel }: buildPythonPackage rec { pname = "scikit-build-core"; version = "0.5.1"; format = "pyproject"; version = "0.7.0"; pyproject = true; src = fetchPypi { pname = "scikit_build_core"; inherit version; hash = "sha256-xtrVpRJ7Kr+qI8uR0jrCEFn9d83fcSKzP9B3kQJNz78="; hash = "sha256-hffyRpxWjGzjWrL6Uv4tJqBODeUH06JMGrtyg3Vlf9M="; }; postPatch = '' postPatch = lib.optionalString (pythonOlder "3.11") '' substituteInPlace pyproject.toml \ --replace 'minversion = "7.2"' "" \ --replace '"error",' '"error", "ignore::DeprecationWarning", "ignore::UserWarning",' --replace '"error",' '"error", "ignore::UserWarning",' ''; nativeBuildInputs = [ Loading Loading @@ -65,6 +65,7 @@ buildPythonPackage rec { pytest-subprocess pytestCheckHook setuptools virtualenv wheel ] ++ passthru.optional-dependencies.pyproject; Loading @@ -76,6 +77,8 @@ buildPythonPackage rec { "tests/test_pyproject_pep660.py" "tests/test_setuptools_pep517.py" "tests/test_setuptools_pep518.py" # store permissions issue in Nix: "tests/test_editable.py" ]; pythonImportsCheck = [ Loading Loading
pkgs/development/python-modules/scikit-build-core/default.nix +9 −6 Original line number Diff line number Diff line Loading @@ -16,24 +16,24 @@ , pytestCheckHook , setuptools , tomli , virtualenv , wheel }: buildPythonPackage rec { pname = "scikit-build-core"; version = "0.5.1"; format = "pyproject"; version = "0.7.0"; pyproject = true; src = fetchPypi { pname = "scikit_build_core"; inherit version; hash = "sha256-xtrVpRJ7Kr+qI8uR0jrCEFn9d83fcSKzP9B3kQJNz78="; hash = "sha256-hffyRpxWjGzjWrL6Uv4tJqBODeUH06JMGrtyg3Vlf9M="; }; postPatch = '' postPatch = lib.optionalString (pythonOlder "3.11") '' substituteInPlace pyproject.toml \ --replace 'minversion = "7.2"' "" \ --replace '"error",' '"error", "ignore::DeprecationWarning", "ignore::UserWarning",' --replace '"error",' '"error", "ignore::UserWarning",' ''; nativeBuildInputs = [ Loading Loading @@ -65,6 +65,7 @@ buildPythonPackage rec { pytest-subprocess pytestCheckHook setuptools virtualenv wheel ] ++ passthru.optional-dependencies.pyproject; Loading @@ -76,6 +77,8 @@ buildPythonPackage rec { "tests/test_pyproject_pep660.py" "tests/test_setuptools_pep517.py" "tests/test_setuptools_pep518.py" # store permissions issue in Nix: "tests/test_editable.py" ]; pythonImportsCheck = [ Loading