From d6ac2df61db7d814513b58132a8c1c4c297a0125 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Thu, 5 Oct 2023 12:30:13 +0300 Subject: [PATCH] python3.pkgs.astropy: 5.3.3 -> 5.3.4 --- .../python-modules/astropy/default.nix | 19 +++++++------------ 1 file changed, 7 insertions(+), 12 deletions(-) diff --git a/pkgs/development/python-modules/astropy/default.nix b/pkgs/development/python-modules/astropy/default.nix index 8ee70bf64044..0a70e40e9e8a 100644 --- a/pkgs/development/python-modules/astropy/default.nix +++ b/pkgs/development/python-modules/astropy/default.nix @@ -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";