Merge pull request #259154 from doronbehar/pkg/astropy

python3.pkgs.astropy: 5.3.3 -> 5.3.4
This commit is contained in:
Doron Behar 2023-10-06 14:27:42 +03:00 committed by GitHub
commit a95049d917
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,25 +26,15 @@
buildPythonPackage rec {
pname = "astropy";
version = "5.3.3";
version = "5.3.4";
format = "pyproject";
disabled = pythonOlder "3.8"; # according to setup.cfg
src = fetchPypi {
inherit pname version;
hash = "sha256-AzDfn116IlQ2fpuM9EJVuhBwsGEjGIxqcu3BgEk/k7s=";
hash = "sha256-1JD34vqsLMwBySRCAtYpFUJZr4qXkQTO2J3ErOTm8dg=";
};
patches = [
# Fixes running tests in parallel issue
# https://github.com/astropy/astropy/issues/15316. Fix from
# https://github.com/astropy/astropy/pull/15327
(fetchpatch {
url = "https://github.com/astropy/astropy/commit/1042c0fb06a992f683bdc1eea2beda0b846ed356.patch";
hash = "sha256-bApAcGBRrJ94thhByoYvdqw2e6v77+FmTfgmGcE6MMk=";
})
];
# Relax cython dependency to allow this to build, upstream only doesn't
# support cython 3 as of writing. See:
# https://github.com/astropy/astropy/issues/15315
@ -85,6 +75,11 @@ buildPythonPackage rec {
pythonImportsCheck = [
"astropy"
];
disabledTests = [
# May fail due to parallelism, see:
# https://github.com/astropy/astropy/issues/15441
"TestUnifiedOutputRegistry"
];
meta = {
description = "Astronomy/Astrophysics library for Python";