pythonPackages.reproject: fix tests
Co-Authored-By: Jon <jonringer@users.noreply.github.com>
This commit is contained in:
parent
705afab44d
commit
a0f50fe24b
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,7 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, fetchpatch
|
||||
, numpy
|
||||
, astropy
|
||||
, astropy-healpix
|
||||
|
@ -24,6 +25,12 @@ buildPythonPackage rec {
|
|||
|
||||
nativeBuildInputs = [ astropy-helpers cython ];
|
||||
|
||||
# Fix tests
|
||||
patches = [ (fetchpatch {
|
||||
url = "https://github.com/astropy/reproject/pull/218/commits/4661e075137424813ed77f1ebcbc251fee1b8467.patch";
|
||||
sha256 = "13g3h824pqn2lgypzg1b87vkd44y7m302lhw3kh4rfww1dkzhm9v";
|
||||
}) ];
|
||||
|
||||
# Disable automatic update of the astropy-helper module
|
||||
postPatch = ''
|
||||
substituteInPlace setup.cfg --replace "auto_use = True" "auto_use = False"
|
||||
|
|
Loading…
Reference in a new issue