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] 3446ae072b
This commit is contained in:
parent
2ac643c241
commit
06041fd174
@ -9,18 +9,26 @@
|
|||||||
, numpy
|
, numpy
|
||||||
, isPy27
|
, isPy27
|
||||||
, astropy
|
, astropy
|
||||||
|
, setuptools_scm
|
||||||
|
, setuptools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "asdf";
|
pname = "asdf";
|
||||||
version = "2.3.3";
|
version = "2.4.2";
|
||||||
disabled = isPy27;
|
disabled = isPy27;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
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 = [
|
checkInputs = [
|
||||||
pytest-astropy
|
pytest-astropy
|
||||||
astropy
|
astropy
|
||||||
@ -32,6 +40,8 @@ buildPythonPackage rec {
|
|||||||
jsonschema
|
jsonschema
|
||||||
six
|
six
|
||||||
numpy
|
numpy
|
||||||
|
setuptools_scm
|
||||||
|
setuptools
|
||||||
];
|
];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user