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 numpy from 2.2.0 to 2.2.2 #27

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jan 20, 2025

Bumps numpy from 2.2.0 to 2.2.2.

Release notes

Sourced from numpy's releases.

2.2.2 (Jan 18, 2025)

NumPy 2.2.2 Release Notes

NumPy 2.2.2 is a patch release that fixes bugs found after the 2.2.1 release. The number of typing fixes/updates is notable. This release supports Python versions 3.10-3.13.

Contributors

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

  • Alicia Boya García +
  • Charles Harris
  • Joren Hammudoglu
  • Kai Germaschewski +
  • Nathan Goldbaum
  • PTUsumit +
  • Rohit Goswami
  • Sebastian Berg

Pull requests merged

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

  • #28050: MAINT: Prepare 2.2.x for further development
  • #28055: TYP: fix void arrays not accepting str keys in __setitem__
  • #28066: TYP: fix unnecessarily broad integer binop return types (#28065)
  • #28112: TYP: Better ndarray binop return types for float64 &...
  • #28113: TYP: Return the correct bool from issubdtype
  • #28114: TYP: Always accept date[time] in the datetime64 constructor
  • #28120: BUG: Fix auxdata initialization in ufunc slow path
  • #28131: BUG: move reduction initialization to ufunc initialization
  • #28132: TYP: Fix interp to accept and return scalars
  • #28137: BUG: call PyType_Ready in f2py to avoid data races
  • #28145: BUG: remove unnecessary call to PyArray_UpdateFlags
  • #28160: BUG: Avoid data race in PyArray_CheckFromAny_int
  • #28175: BUG: Fix f2py directives and --lower casing
  • #28176: TYP: Fix overlapping overloads issue in 2->1 ufuncs
  • #28177: TYP: preserve shape-type in ndarray.astype()
  • #28178: TYP: Fix missing and spurious top-level exports

Checksums

MD5

749cb2adf8043551aae22bbf0ed3130a  numpy-2.2.2-cp310-cp310-macosx_10_9_x86_64.whl
bc79fa2e44316b7ce9bacb48a993ed91  numpy-2.2.2-cp310-cp310-macosx_11_0_arm64.whl
c6b2caa2bbb645b5950dccb77efb1dbb  numpy-2.2.2-cp310-cp310-macosx_14_0_arm64.whl
8c410efac169af880cacbbac8a731658  numpy-2.2.2-cp310-cp310-macosx_14_0_x86_64.whl

... (truncated)

Commits
  • fd8a68e Merge pull request #28184 from charris/prepare-2.2.2
  • 0d106a5 REL: Prepare for the NumPy 2.2.2 release [wheel build]
  • dfdd35a Merge pull request #28175 from charris/backport-28056
  • e4517a8 Merge pull request #28176 from charris/backport-28168
  • 2c0432b Merge pull request #28178 from charris/backport-28170
  • 2230a08 Merge pull request #28177 from charris/backport-28169
  • b04e32c TYP: Fix missing and spurious top-level exports
  • 6a5f537 TYP: preserve shape-type in ndarray.astype()
  • f782790 TYP: Fix overlapping overloads issue in 2->1 ufuncs
  • a19acf1 BUG: Fix casing for f2py directives
  • Additional commits viewable in compare view

Dependabot compatibility score

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)

Sommario di Sourcery

Aggiornamento di numpy a 2.2.2.

Correzioni di Bug:

  • Correzione dell'inizializzazione di auxdata nel percorso lento di ufunc.
  • Spostamento dell'inizializzazione della riduzione all'inizializzazione di ufunc.
  • Rimozione della chiamata non necessaria a PyArray_UpdateFlags.
  • Prevenzione della race condition in PyArray_CheckFromAny_int.
  • Correzione delle direttive f2py e del casing con --lower.

Miglioramenti:

  • Correzione degli array void che non accettavano chiavi str in setitem.
  • Correzione dei tipi di ritorno eccessivamente ampi per operazioni binarie di interi.
  • Migliori tipi di ritorno per operazioni binarie di ndarray per float64.
  • Restituzione del bool corretto da issubdtype.
  • Accettazione sempre di date[time] nel costruttore datetime64.
  • Correzione di interp per accettare e restituire scalari.
  • Chiamata a PyType_Ready in f2py per evitare race condition.
Original summary in English

Summary by Sourcery

Update numpy to 2.2.2.

Bug Fixes:

  • Fix auxdata initialization in ufunc slow path.
  • Move reduction initialization to ufunc initialization.
  • Remove unnecessary call to PyArray_UpdateFlags.
  • Avoid data race in PyArray_CheckFromAny_int.
  • Fix f2py directives and --lower casing.

Enhancements:

  • Fix void arrays not accepting str keys in setitem.
  • Fix unnecessarily broad integer binop return types.
  • Better ndarray binop return types for float64.
  • Return the correct bool from issubdtype.
  • Always accept date[time] in the datetime64 constructor.
  • Fix interp to accept and return scalars.
  • Call PyType_Ready in f2py to avoid data races.

Bumps [numpy](https://github.com/numpy/numpy) from 2.2.0 to 2.2.2.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/RELEASE_WALKTHROUGH.rst)
- [Commits](numpy/numpy@v2.2.0...v2.2.2)

---
updated-dependencies:
- dependency-name: numpy
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

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 Jan 20, 2025
Copy link

sourcery-ai bot commented Jan 20, 2025

Guida per il Revisore di Sourcery

Questa pull request aggiorna la dipendenza di numpy dalla versione 2.2.0 alla 2.2.2.

Nessun diagramma generato poiché le modifiche sembrano semplici e non necessitano di una rappresentazione visiva.

Modifiche a Livello di File

Modifica Dettagli File
La dipendenza di numpy è stata aggiornata all'ultima versione patch.
  • Aggiornato numpy da 2.2.0 a 2.2.2
requirements.txt

Suggerimenti e comandi

Interazione con Sourcery

  • Avviare una nuova revisione: Commenta @sourcery-ai review sulla pull request.
  • Continuare le discussioni: Rispondi direttamente ai commenti di revisione di Sourcery.
  • Generare un issue GitHub da un commento di revisione: Chiedi a Sourcery di creare un issue da un commento di revisione rispondendo ad esso.
  • Generare un titolo per la pull request: Scrivi @sourcery-ai in qualsiasi punto del titolo della pull request per generare un titolo in qualsiasi momento.
  • Generare un riepilogo della pull request: Scrivi @sourcery-ai summary in qualsiasi punto del corpo della pull request per generare un riepilogo PR in qualsiasi momento. Puoi anche utilizzare questo comando per specificare dove inserire il riepilogo.

Personalizzazione della Tua Esperienza

Accedi alla tua dashboard per:

  • Abilitare o disabilitare funzionalità di revisione come il riepilogo della pull request generato da Sourcery, la guida per il revisore e altri.
  • Cambiare la lingua di revisione.
  • Aggiungere, rimuovere o modificare istruzioni di revisione personalizzate.
  • Regolare altre impostazioni di revisione.

Ottenere Aiuto

Original review guide in English

Reviewer's Guide by Sourcery

This pull request bumps the numpy dependency from version 2.2.0 to 2.2.2.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
The numpy dependency was updated to the latest patch version.
  • Updated numpy from 2.2.0 to 2.2.2
requirements.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time. You can also use
    this command to specify where the summary should be inserted.

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Abbiamo saltato la revisione di questa pull request. Ecco perché:

  • Sembra essere stata creata da un bot (ehi, dependabot[bot]!). Assumiamo che sappia cosa sta facendo!
  • Non ripassiamo le modifiche di packaging - Fateci sapere se vorreste che cambiassimo questo approccio.
Original comment in English

We have skipped reviewing this pull request. Here's why:

  • It seems to have been created by a bot (hey, dependabot[bot]!). We assume it knows what it's doing!
  • We don't review packaging changes - Let us know if you'd like us to change this.

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.

0 participants