python311Packages.pyerfa 0 -> 1 attrpath: python311Packages.pyerfa Checking auto update branch... [version] [version] skipping because derivation has updateScript [rustCrateVersion] [rustCrateVersion] No cargoSha256 or cargoHash found [golangModuleVersion] [golangModuleVersion] Not a buildGoModule package with vendorSha256 or vendorHash [npmDepsVersion] [npmDepsVersion] No npmDepsHash [updateScript] [updateScript] Success [updateScript] this derivation will be built: /nix/store/ngm9gldgj5gmfpaj2dsy8pi75142pv8d-packages.json.drv building '/nix/store/ngm9gldgj5gmfpaj2dsy8pi75142pv8d-packages.json.drv'... Going to be running update for following packages: - python3.11-pyerfa-2.0.1.1 Press Enter key to continue... Running update for: - python3.11-pyerfa-2.0.1.1: UPDATING ... - python3.11-pyerfa-2.0.1.1: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/pyerfa/default.nix b/pkgs/development/python-modules/pyerfa/default.nix index 8561738f8428..1abc8efb5bda 100644 --- a/pkgs/development/python-modules/pyerfa/default.nix +++ b/pkgs/development/python-modules/pyerfa/default.nix @@ -15,11 +15,11 @@ buildPythonPackage rec { pname = "pyerfa"; format = "pyproject"; - version = "2.0.1.1"; + version = "2.0.1.4"; src = fetchPypi { inherit pname version; - hash = "sha256-26x07409Ow8i7wrTu72zCyqeEFcLH6Wpi+NMe+Nsmms="; + hash = "sha256-rLimcTIy6jXAS8bkCsTkYd/MgX05XvKjyAUcGjMkndM="; }; nativeBuildInputs = [ No auto update branch exists Old version 2.0.1.1" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchPypi , jinja2 , setuptools , setuptools-scm , liberfa , packaging , numpy , pytestCheckHook , pytest-doctestplus }: buildPythonPackage rec { pname = "pyerfa"; version = "2.0.1.4"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-rLimcTIy6jXAS8bkCsTkYd/MgX05XvKjyAUcGjMkndM="; }; postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "numpy>=2.0.0rc1" "numpy" ''; build-system = [ jinja2 packaging setuptools setuptools-scm ]; dependencies = [ numpy ]; buildInputs = [ liberfa ]; preBuild = '' export PYERFA_USE_SYSTEM_LIBERFA=1 ''; # See https://github.com/liberfa/pyerfa/issues/112#issuecomment-1721197483 NIX_CFLAGS_COMPILE = "-O2"; nativeCheckInputs = [ pytestCheckHook pytest-doctestplus ]; # Getting circular import errors without this, not clear yet why. This was mentioned to # upstream at: https://github.com/liberfa/pyerfa/issues/112 and downstream at # https://github.com/NixOS/nixpkgs/issues/255262 preCheck = '' cd $out ''; pythonImportsCheck = [ "erfa" ]; meta = with lib; { description = "Python bindings for ERFA routines"; longDescription = '' PyERFA is the Python wrapper for the ERFA library (Essential Routines for Fundamental Astronomy), a C library containing key algorithms for astronomy, which is based on the SOFA library published by the International Astronomical Union (IAU). All C routines are wrapped as Numpy universal functions, so that they can be called with scalar or array inputs. ''; homepage = "https://github.com/liberfa/pyerfa"; license = licenses.bsd3; maintainers = [ maintainers.rmcgibbo ]; }; }