python311Packages.numexpr 0 -> 1 attrpath: python311Packages.numexpr 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] Going to be running update for following packages: - python3.11-numexpr-2.9.0 Press Enter key to continue... Running update for: - python3.11-numexpr-2.9.0: UPDATING ... - python3.11-numexpr-2.9.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/numexpr/default.nix b/pkgs/development/python-modules/numexpr/default.nix index 4de1e4a7de05..3c8a78acd643 100644 --- a/pkgs/development/python-modules/numexpr/default.nix +++ b/pkgs/development/python-modules/numexpr/default.nix @@ -9,14 +9,14 @@ buildPythonPackage rec { pname = "numexpr"; - version = "2.9.0"; + version = "2.10.0"; format = "setuptools"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; - hash = "sha256-8h0S9sQyzjSQieuVNCur9mKa67P93xh6RJLTqtqtqvA="; + hash = "sha256-yJ6TB1JjnfBAU5FgMm2PmahBWbvqQZQ6uOlgWR7arvA="; }; nativeBuildInputs = [ No auto update branch exists Old version 2.9.0" not present in staging derivation file with contents: { lib , buildPythonPackage , fetchPypi , numpy , pytestCheckHook , setuptools , wheel }: buildPythonPackage rec { pname = "numexpr"; version = "2.10.0"; pyproject = true; src = fetchPypi { inherit pname version; hash = "sha256-yJ6TB1JjnfBAU5FgMm2PmahBWbvqQZQ6uOlgWR7arvA="; }; # patch for compatibility with numpy < 2.0 # see more details, https://numpy.org/devdocs/numpy_2_0_migration_guide.html#c-api-changes postPatch = '' substituteInPlace pyproject.toml \ --replace-fail "numpy>=2.0.0rc1" "numpy" sed -i "1i#define PyDataType_SET_ELSIZE(descr, elsize)" numexpr/interpreter.cpp sed -i "1i#define PyDataType_ELSIZE(descr) ((descr)->elsize)" numexpr/interpreter.cpp ''; build-system = [ setuptools wheel numpy ]; dependencies = [ numpy ]; preBuild = '' # Remove existing site.cfg, use the one we built for numpy ln -s ${numpy.cfg} site.cfg ''; nativeCheckInputs = [ pytestCheckHook ]; preCheck = '' pushd $out ''; postCheck = '' popd ''; disabledTests = [ # fails on computers with more than 8 threads # https://github.com/pydata/numexpr/issues/479 "test_numexpr_max_threads_empty_string" "test_omp_num_threads_empty_string" ]; pythonImportsCheck = [ "numexpr" ]; meta = with lib; { description = "Fast numerical array expression evaluator for NumPy"; homepage = "https://github.com/pydata/numexpr"; license = licenses.mit; maintainers = with maintainers; [ ]; }; }