Skip to content

build(deps): update numpy requirement from ~=1.24 to ~=2.2#5

Merged
mbdevpl merged 2 commits intomainfrom
dependabot/pip/numpy-approx-eq-2.0
Apr 23, 2025
Merged

build(deps): update numpy requirement from ~=1.24 to ~=2.2#5
mbdevpl merged 2 commits intomainfrom
dependabot/pip/numpy-approx-eq-2.0

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 23, 2025

Updates the requirements on numpy to permit the latest version.

Release notes

Sourced from numpy's releases.

NumPy 2.0.2 release (Aug 26, 2024)

NumPy 2.0.2 Release Notes

NumPy 2.0.2 is a maintenance release that fixes bugs and regressions discovered after the 2.0.1 release.

The Python versions supported by this release are 3.9-3.12.

Contributors

A total of 13 people contributed to this release. People with a "+" by their names contributed a patch for the first time.

  • Bruno Oliveira +
  • Charles Harris
  • Chris Sidebottom
  • Christian Heimes +
  • Christopher Sidebottom
  • Mateusz Sokół
  • Matti Picus
  • Nathan Goldbaum
  • Pieter Eendebak
  • Raghuveer Devulapalli
  • Ralf Gommers
  • Sebastian Berg
  • Yair Chuchem +

Pull requests merged

A total of 19 pull requests were merged for this release.

  • #27000: REL: Prepare for the NumPy 2.0.1 release [wheel build]
  • #27001: MAINT: prepare 2.0.x for further development
  • #27021: BUG: cfuncs.py: fix crash when sys.stderr is not available
  • #27022: DOC: Fix migration note for alltrue and sometrue
  • #27061: BUG: use proper input and output descriptor in array_assign_subscript...
  • #27073: BUG: Mirror VQSORT_ENABLED logic in Quicksort
  • #27074: BUG: Bump Highway to latest master
  • #27077: BUG: Off by one in memory overlap check
  • #27122: BUG: Use the new npyv_loadable_stride_ functions for ldexp and...
  • #27126: BUG: Bump Highway to latest
  • #27128: BUG: add missing error handling in public_dtype_api.c
  • #27129: BUG: fix another cast setup in array_assign_subscript
  • #27130: BUG: Fix building NumPy in FIPS mode
  • #27131: BLD: update vendored Meson for cross-compilation patches
  • #27146: MAINT: Scipy openblas 0.3.27.44.4
  • #27151: BUG: Do not accidentally store dtype metadata in np.save
  • #27195: REV: Revert undef I and document it
  • #27213: BUG: Fix NPY_RAVEL_AXIS on backwards compatible NumPy 2 builds
  • #27279: BUG: Fix array_equal for numeric and non-numeric scalar types

... (truncated)

Commits
  • 854252d Merge pull request #27280 from charris/prepare-2.0.2
  • cffa071 REL: Prepare for the NumPy 2.0.2 release [wheel build]
  • 1693029 Merge pull request #27279 from charris/backport-27275
  • da9f9c3 BUG: Fix array_equal for numeric and non-numeric scalar types
  • ee1cf96 Merge pull request #27213 from charris/backport-27202
  • 49dec35 BUG: Fix NPY_RAVEL_AXIS on backwards compatible NumPy 2 builds
  • be56ae2 Merge pull request #27195 from charris/backport-27182
  • 75b039c REV: Revert undef I and document it
  • 428e2ba Merge pull request #27151 from charris/backport-27143
  • 451516d BUG: Do not accidentally store dtype metadata in np.save
  • Additional commits viewable in compare view

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 this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [numpy](https://github.com/numpy/numpy) to permit the latest version.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v1.24.0...v2.0.2)

---
updated-dependencies:
- dependency-name: numpy
  dependency-version: 2.0.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update python code labels Apr 23, 2025
@jenkins-mbdev
Copy link

jenkins-mbdev bot commented Apr 23, 2025

Tools report for GitHub-mbdevpl/timing/PR-5 [build #2]:

  • Pylint: refactor messages ℹ️ (click for details)
    ************* Module setup
    setup.py:1:0: R0401: Cyclic import (timing.cache -> timing.group) (cyclic-import)
    setup.py:1:0: R0401: Cyclic import (timing.cache -> timing.group -> timing.utils) (cyclic-import)
    setup.py:1:0: R0401: Cyclic import (timing.group -> timing.utils) (cyclic-import)
    
    -----------------------------------
    Your code has been rated at 9.94/10
    
  • Mypy: ran 🆗

  • Flake518: ran 🆗

  • Pydocstyle: ran 🆗

  • Coverage: 100% 🆗 (click for details)
    Name                     Stmts   Miss Branch BrPart  Cover   Missing
    --------------------------------------------------------------------
    setup.py                     9      0      2      0   100%
    test/__init__.py             4      0      0      0   100%
    test/test_group.py          99      0      6      0   100%
    test/test_packaging.py       3      0      0      0   100%
    test/test_timing.py         67      0      0      0   100%
    test/test_utils.py          55      0      0      0   100%
    timing/__init__.py           6      0      0      0   100%
    timing/_version.py           2      0      0      0   100%
    timing/cache.py             26      0      2      0   100%
    timing/config.py             3      0      0      0   100%
    timing/group.py            108      0     32      0   100%
    timing/timing.py            66      0     10      0   100%
    timing/utils.py             58      0     18      0   100%
    --------------------------------------------------------------------
    TOTAL                      506      0     70      0   100%
    

@codecov
Copy link

codecov bot commented Apr 23, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 100.0%. Comparing base (502816e) to head (90b5f77).
Report is 3 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main       #5   +/-   ##
=======================================
  Coverage   100.0%   100.0%           
=======================================
  Files          13       13           
  Lines         506      506           
  Branches       35       35           
=======================================
  Hits          506      506           

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mbdevpl mbdevpl changed the title build(deps): update numpy requirement from ~=1.24 to ~=2.0 build(deps): update numpy requirement from ~=1.24 to ~=2.2 Apr 23, 2025
@mbdevpl mbdevpl merged commit c214c44 into main Apr 23, 2025
14 checks passed
@dependabot dependabot bot deleted the dependabot/pip/numpy-approx-eq-2.0 branch April 23, 2025 07:02
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.

1 participant