diff options
author | Maximilian Bosch <maximilian@mbosch.me> | 2019-10-03 11:03:07 +0200 |
---|---|---|
committer | Maximilian Bosch <maximilian@mbosch.me> | 2019-10-03 11:07:15 +0200 |
commit | 06041fd174fe53b2db7c487cbad0acfe10ffdaef (patch) | |
tree | 34d58c70a425409be025f0dcaeaa164068fc3b3e /pkgs/development/python-modules | |
parent | 2ac643c241bb13d52021efc3ac524f202ec88524 (diff) | |
download | nixlib-06041fd174fe53b2db7c487cbad0acfe10ffdaef.tar nixlib-06041fd174fe53b2db7c487cbad0acfe10ffdaef.tar.gz nixlib-06041fd174fe53b2db7c487cbad0acfe10ffdaef.tar.bz2 nixlib-06041fd174fe53b2db7c487cbad0acfe10ffdaef.tar.lz nixlib-06041fd174fe53b2db7c487cbad0acfe10ffdaef.tar.xz nixlib-06041fd174fe53b2db7c487cbad0acfe10ffdaef.tar.zst nixlib-06041fd174fe53b2db7c487cbad0acfe10ffdaef.zip |
python3Packages.asdf: 2.3.3 -> 2.4.2
Bump to fix the broken build of the package: * Disable doctest as they're currently broken in our test env * Loosen version constraint for `semantic_version` as it was only introduced to work around some deprecation warnings[1] See also: https://hydra.nixos.org/build/102480957 ZHF #68361 [1] https://github.com/spacetelescope/asdf/commit/3446ae072ba99b72d8f6405853f832ef8197f270
Diffstat (limited to 'pkgs/development/python-modules')
-rw-r--r-- | pkgs/development/python-modules/asdf/default.nix | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/pkgs/development/python-modules/asdf/default.nix b/pkgs/development/python-modules/asdf/default.nix index 8efc251140a8..6d685429e50b 100644 --- a/pkgs/development/python-modules/asdf/default.nix +++ b/pkgs/development/python-modules/asdf/default.nix @@ -9,18 +9,26 @@ , numpy , isPy27 , astropy +, setuptools_scm +, setuptools }: buildPythonPackage rec { pname = "asdf"; - version = "2.3.3"; + version = "2.4.2"; disabled = isPy27; src = fetchPypi { inherit pname version; - sha256 = "d02e936a83abd206e7bc65050d94e8848da648344dbec9e49dddc2bdc3bd6870"; + sha256 = "1wlgx8469wwsczc2gjka9k1a03yzird67zg3va0kg8y6j1qmbwvg"; }; + postPatch = '' + substituteInPlace setup.cfg \ + --replace "semantic_version>=2.3.1,<=2.6.0" "semantic_version>=2.3.1" \ + --replace "doctest_plus = enabled" "" + ''; + checkInputs = [ pytest-astropy astropy @@ -32,6 +40,8 @@ buildPythonPackage rec { jsonschema six numpy + setuptools_scm + setuptools ]; checkPhase = '' |