Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump the pip-version group with 3 updates #1004

Merged
merged 6 commits into from
Sep 16, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Sep 1, 2024

Bumps the pip-version group with 3 updates: coverage, numpy and tables.

Updates coverage from 7.6.0 to 7.6.1

Changelog

Sourced from coverage's changelog.

Version 7.6.1 — 2024-08-04

  • Fix: coverage used to fail when measuring code using :func:runpy.run_path <python:runpy.run_path> with a :class:Path <python:pathlib.Path> argument. This is now fixed, thanks to Ask Hjorth Larsen <pull 1819_>_.

  • Fix: backslashes preceding a multi-line backslashed string could confuse the HTML report. This is now fixed, thanks to LiuYinCarl <pull 1828_>_.

  • Now we publish wheels for Python 3.13, both regular and free-threaded.

.. _pull 1819: nedbat/coveragepy#1819 .. _pull 1828: nedbat/coveragepy#1828

.. _changes_7-6-0:

Commits
  • 29f5898 docs: sample HTML for 7.6.1
  • 9b829f1 docs: prep for 7.6.1
  • ebbb6a2 build: wheels for 3.13rc1
  • 3872525 chore: make upgrade
  • 7a27f40 test: fix a test on free-threading, use abiflags to get site-packages path co...
  • 2b53664 build: include gil/nogil in the version banner
  • da1682f docs: changelog and contributor for #1828
  • dc819ff test: two tests for #1828
  • 9aaa404 fix: properly handle backslash before multi-line string (#1828)
  • 9c50270 chore: make upgrade
  • Additional commits viewable in compare view

Updates numpy from 2.0.1 to 2.1.0

Release notes

Sourced from numpy's releases.

2.1.0 (Aug 18, 2024)

NumPy 2.1.0 Release Notes

NumPy 2.1.0 provides support for the upcoming Python 3.13 release and drops support for Python 3.9. In addition to the usual bug fixes and updated Python support, it helps get us back into our usual release cycle after the extended development of 2.0. The highlights for this release are:

  • Support for the array-api 2023.12 standard.
  • Support for Python 3.13.
  • Preliminary support for free threaded Python 3.13.

Python versions 3.10-3.13 are supported in this release.

New functions

New function numpy.unstack

A new function np.unstack(array, axis=...) was added, which splits an array into a tuple of arrays along an axis. It serves as the inverse of [numpy.stack]{.title-ref}.

(gh-26579)

Deprecations

  • The fix_imports keyword argument in numpy.save is deprecated. Since NumPy 1.17, numpy.save uses a pickle protocol that no longer supports Python 2, and ignored fix_imports keyword. This keyword is kept only for backward compatibility. It is now deprecated.

    (gh-26452)

  • Passing non-integer inputs as the first argument of [bincount]{.title-ref} is now deprecated, because such inputs are silently cast to integers with no warning about loss of precision.

    (gh-27076)

Expired deprecations

  • Scalars and 0D arrays are disallowed for numpy.nonzero and numpy.ndarray.nonzero.

    (gh-26268)

  • set_string_function internal function was removed and PyArray_SetStringFunction was stubbed out.

... (truncated)

Commits
  • 2f7fe64 Merge pull request #27236 from charris/prepare-2.1.0
  • b6f434f REL: Prepare for the NumPy 2.1.0 release [wheel build]
  • 3cf9394 Merge pull request #27234 from charris/backport-25984
  • 7443dcc Merge pull request #27233 from charris/backport-27223
  • 85b1cab BUG: Allow fitting of degree zero polynomials with Polynomial.fit
  • 395a81d DOC: reword discussion about shared arrays to hopefully be clearer
  • 5af2e96 Move NUMUSERTYPES thread safety discussion to legacy DType API docs
  • d902c24 DOC: add docs on thread safety in NumPy
  • c080180 Merge pull request #27229 from charris/backport-27226
  • 44ce7e8 BUG: Fix PyArray_ZeroContiguousBuffer (resize) with struct dtypes
  • Additional commits viewable in compare view

Updates tables from 3.9.2 to 3.10.1

Release notes

Sourced from tables's releases.

Release v3.10.1

Changes from 3.10.1 to 3.10.0

Bugfixes

  • Fix version constraints for the numpy runtime requirements (#1204). For a mistake it didn't allow to use PyTables with numpy 2.x.
  • Fix compatibility with PyPy (:issue:1205), Thanks to Michał Górny.

Improvements

  • Enforce numpy >= 2 as build constraint (see discussion in #1200).
  • Use tuple of plain ints for chunk info coordinates. Thanks to Ivan Vilata-i-Balaguer.
  • Enable faulthandler in tables.tests.test_all. Thanks to Eric Larson.

Release v3.10.0

Changes from 3.10.0 to 3.9.2

New features

  • New direct chunking API which allows access to raw chunk data skipping the HDF5 filter pipeline (cutting overhead, see "Optimization tips" in User's Guide), as well as querying chunk information (#1187). Thanks to Ivan Vilata and Francesc Alted. This development was funded by a NumFOCUS grant.

Improvements

Bugfixes

  • Fix Windows AMD64 build issues with Bzip2 and C-Blosc2 libraries (#1188). Thanks to Antonio Valentino and Eric Larson.
  • Fix typos and may other language errors in docstrings (#1122). Thanks to Ko Stehner.
  • Fix Blosc2 filter not setting dparams.schunk on decompression (#1110 and #1109). Thanks to Tom Birch.
  • Fix using B2ND optimizations when Blosc2 is not the only enabled filter; move Fletcher32 compression to end of pipeline when enabled (#1191 and #1162). Thanks to Ivan Vilata and Alex Laslavic.
  • Fix broken internal passing of createparents argument in Leaf.copy (#1127 and #1125). Thanks to Ko Stehner.
  • Re-enable relative paths in ExternalLink class (#1095). Thanks to erikdl-zeiss.
  • Fix using prefix in heavy tests methods of test_queries (#1169). Thanks to Miro Hrončok.
  • Fix TypeError when computing Blosc2 search paths with missing library (#1188 and #1100). Thanks to martinowitsch, Padraic Calpin and Eric Larson.
  • Avoid overflow RuntimeWarning on NumPy expectedrows value (#1010). Thanks to wony-zheng and Ivan Vilata.

Other changes

  • Add wheels for macOS ARM64 (Apple Silicon), set MACOSX_DEPLOYMENT_TARGET in Docker (#1050 and #1165). Thanks to Clemens Brunner, Antonio Valentino, Maximilian Linhoff and Eric Larson.
  • Avoid illegal hardware instruction under macOS on M1/M2 with Rosetta and AMD64 wheels (#1195 and #1186). Thanks to Antonio Valentino and Jon Peirce.
  • Produce nightly wheels (with HDF5 1.14.4), also uploaded to Scientific Python Anaconda repo. Wheels are also produced for PR workflows. Thanks to Antonio Valentino and Eric Larson (#1175).

... (truncated)

Changelog

Sourced from tables's changelog.

Changes from 3.10.2 to 3.10.1

XXX version-specific blurb XXX

Changes from 3.10.1 to 3.10.0

Bugfixes

  • Fix version constraints for the numpy runtime requirements (:issue:1204). For a mistake it didn't allow to use PyTables with numpy 2.x.
  • Fix compatibility with PyPy (:issue:1205), Thanks to Michał Górny.

Improvements

  • Enforce numpy >= 2 as build constraint (see discussion in :issue:1200).
  • Use tuple of plain ints for chunk info coordinates. Thanks to Ivan Vilata-i-Balaguer.
  • Enable faulthandler in tables.tests.test_all. Thanks to Eric Larson.
Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the pip-version group with 3 updates: [coverage](https://github.com/nedbat/coveragepy), [numpy](https://github.com/numpy/numpy) and [tables](https://github.com/PyTables/PyTables).


Updates `coverage` from 7.6.0 to 7.6.1
- [Release notes](https://github.com/nedbat/coveragepy/releases)
- [Changelog](https://github.com/nedbat/coveragepy/blob/master/CHANGES.rst)
- [Commits](nedbat/coveragepy@7.6.0...7.6.1)

Updates `numpy` from 2.0.1 to 2.1.0
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.0.1...v2.1.0)

Updates `tables` from 3.9.2 to 3.10.1
- [Release notes](https://github.com/PyTables/PyTables/releases)
- [Changelog](https://github.com/PyTables/PyTables/blob/master/RELEASE_NOTES.rst)
- [Commits](PyTables/PyTables@v3.9.2...v3.10.1)

---
updated-dependencies:
- dependency-name: coverage
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: pip-version
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip-version
- dependency-name: tables
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: pip-version
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot requested a review from a team as a code owner September 1, 2024 11:18
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Sep 1, 2024
@dependabot dependabot bot requested a review from joaander September 1, 2024 11:18
@cbkerr cbkerr requested review from a team as code owners September 10, 2024 16:54
@cbkerr cbkerr requested review from cbkerr and SchoeniPhlippsn and removed request for a team September 10, 2024 16:54
Copy link

codecov bot commented Sep 10, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 86.09%. Comparing base (930abc7) to head (8d823a4).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1004      +/-   ##
==========================================
+ Coverage   86.01%   86.09%   +0.08%     
==========================================
  Files          20       20              
  Lines        3503     3503              
  Branches      770      770              
==========================================
+ Hits         3013     3016       +3     
+ Misses        333      330       -3     
  Partials      157      157              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@cbkerr
Copy link
Member

cbkerr commented Sep 10, 2024

Numpy 2.1.0 does not support 3.9, so the ubuntu-latest, 3.9 was failing to install numpy. Rather than remove the test for Python 3.9, I bumped it to the oldest requirements. To fix that, I had to bump the 1.19.0 to 1.19.3, which has binary wheels available for all platforms.

I based this on the list of compatible versions contained in the deprecated oldest-supported-numpy project

Now, it looks like something about Cython requirement is causing it to try to find numpy 1.14.5, which fails

      Collecting Cython>=0.29.13
        Downloading Cython-3.0.11-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.metadata (3.2 kB)
      Collecting numpy==1.14.5
        Downloading numpy-1.14.5.zip (4.9 MB)

@bdice
Copy link
Member

bdice commented Sep 16, 2024

Fixing this probably requires a bump of pandas, too. That's pinned to an old NumPy/Cython in its build dependencies and is trying to build from a tarball.

Collecting pandas==1.0.0 (from -r .github/workflows/ci-oldest-reqs.txt (line 9))
  Downloading pandas-1.0.0.tar.gz (4.8 MB)

I have been requiring that our "oldest" dependencies must have wheels available. Pandas 1.2.0 is the first minor version with wheels for Python 3.9, so I'll use that.

edit: similar issue for h5py, too.

@bdice bdice enabled auto-merge (squash) September 16, 2024 15:55
@bdice bdice disabled auto-merge September 16, 2024 15:55
@bdice
Copy link
Member

bdice commented Sep 16, 2024

I'm not sure why this is not auto-merging. I'm going to bypass branch protections to merge this since CI passed and it has an approval. cc: @joaander @cbkerr

@bdice bdice merged commit d1b92f6 into main Sep 16, 2024
18 checks passed
@bdice bdice deleted the dependabot-pip-main-pip-version-e107829f80 branch September 16, 2024 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants