python311Packages.tables 3.8.0 -> 3.9.2 https://repology.org/project/python:tables/versions attrpath: python311Packages.tables Checking auto update branch... [version] [version] generic version rewriter does not support multiple hashes [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/5rv03i78sc8sxy4v5wyanzc62307sn0i-packages.json.drv building '/nix/store/5rv03i78sc8sxy4v5wyanzc62307sn0i-packages.json.drv'... Going to be running update for following packages: - python3.11-tables-3.8.0 Press Enter key to continue... Running update for: - python3.11-tables-3.8.0: UPDATING ... - python3.11-tables-3.8.0: DONE. Packages updated! Diff after rewrites: diff --git a/pkgs/development/python-modules/tables/default.nix b/pkgs/development/python-modules/tables/default.nix index 3879520b2510..da90d874a747 100644 --- a/pkgs/development/python-modules/tables/default.nix +++ b/pkgs/development/python-modules/tables/default.nix @@ -21,14 +21,14 @@ buildPythonPackage rec { pname = "tables"; - version = "3.8.0"; + version = "3.9.2"; format = "setuptools"; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; - hash = "sha256-NPP6I2bOILGPHfVzp3wdJzBs4fKkHZ+e/2IbUZLqh4g="; + hash = "sha256-1HAmPC5QxLfIY1oNmawf8vnnBMJNceX6M8RSnn0K2cM="; }; patches = [ No auto update branch exists Old version 3.8.0" not present in staging derivation file with contents: { lib , fetchPypi , fetchpatch , buildPythonPackage , pythonOlder , blosc2 , bzip2 , c-blosc , cython , hdf5 , lzo , numpy , numexpr , packaging , setuptools , sphinx # Test inputs , python , pytest , py-cpuinfo }: buildPythonPackage rec { pname = "tables"; version = "3.9.2"; pyproject = true; disabled = pythonOlder "3.8"; src = fetchPypi { inherit pname version; hash = "sha256-1HAmPC5QxLfIY1oNmawf8vnnBMJNceX6M8RSnn0K2cM="; }; patches = [ (fetchpatch { name = "numpy-1.25-compatibility.patch"; url = "https://github.com/PyTables/PyTables/commit/337792561e5924124efd20d6fea6bbbd2428b2aa.patch"; hash = "sha256-pz3A/jTPWXXlzr+Yl5PRUvdSAinebFsoExfek4RUHkc="; }) (fetchpatch { name = "numexpr-2.8.5-compatibility.patch"; url = "https://github.com/PyTables/PyTables/commit/1a235490ebe1a138da1139cfa19829b5f0a2af37.patch"; includes = [ "tables/tests/test_queries.py" ]; hash = "sha256-uMS+Z2Zcz68ILMQaBdIDMnCyasozCaCGOiGIyw0+Evc="; }) ]; nativeBuildInputs = [ blosc2 cython setuptools sphinx ]; buildInputs = [ bzip2 c-blosc hdf5 lzo ]; propagatedBuildInputs = [ blosc2 py-cpuinfo numpy numexpr packaging # uses packaging.version at runtime ]; # When doing `make distclean`, ignore docs postPatch = '' substituteInPlace Makefile --replace "src doc" "src" # Force test suite to error when unittest runner fails substituteInPlace tables/tests/test_suite.py \ --replace "return 0" "assert result.wasSuccessful(); return 0" \ --replace "return 1" "assert result.wasSuccessful(); return 1" substituteInPlace requirements.txt \ --replace "cython>=0.29.21" "" \ --replace "blosc2~=2.0.0" "blosc2" ''; # Regenerate C code with Cython preBuild = '' make distclean ''; setupPyBuildFlags = [ "--hdf5=${lib.getDev hdf5}" "--lzo=${lib.getDev lzo}" "--bzip2=${lib.getDev bzip2}" "--blosc=${lib.getDev c-blosc}" ]; nativeCheckInputs = [ pytest ]; preCheck = '' cd .. ''; # Runs the light (yet comprehensive) subset of the test suite. # The whole "heavy" test suite supposedly takes ~4 hours to run. checkPhase = '' runHook preCheck ${python.interpreter} -m tables.tests.test_all runHook postCheck ''; pythonImportsCheck = [ "tables" ]; meta = with lib; { description = "Hierarchical datasets for Python"; homepage = "https://www.pytables.org/"; changelog = "https://github.com/PyTables/PyTables/releases/tag/v${version}"; license = licenses.bsd2; maintainers = with maintainers; [ drewrisinger ]; }; }