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.1 #24

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 Dec 23, 2024

Bumps numpy from 2.2.0 to 2.2.1.

Release notes

Sourced from numpy's releases.

2.2.1 (DEC 21, 2024)

NumPy 2.2.1 Release Notes

NumPy 2.2.1 is a patch release following 2.2.0. It fixes bugs found after the 2.2.0 release and has several maintenance pins to work around upstream changes.

There was some breakage in downstream projects following the 2.2.0 release due to updates to NumPy typing. Because of problems due to MyPy defects, we recommend using basedpyright for type checking, it can be installed from PyPI. The Pylance extension for Visual Studio Code is also based on Pyright. Problems that persist when using basedpyright should be reported as issues on the NumPy github site.

This release supports Python 3.10-3.13.

Contributors

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

  • Charles Harris
  • Joren Hammudoglu
  • Matti Picus
  • Nathan Goldbaum
  • Peter Hawkins
  • Simon Altrogge
  • Thomas A Caswell
  • Warren Weckesser
  • Yang Wang +

Pull requests merged

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

  • #27935: MAINT: Prepare 2.2.x for further development
  • #27950: TEST: cleanups
  • #27958: BUG: fix use-after-free error in npy_hashtable.cpp (#27955)
  • #27959: BLD: add missing include
  • #27982: BUG:fix compile error libatomic link test to meson.build
  • #27990: TYP: Fix falsely rejected value types in ndarray.__setitem__
  • #27991: MAINT: Don't wrap #include <Python.h> with extern "C"
  • #27993: BUG: Fix segfault in stringdtype lexsort
  • #28006: MAINT: random: Tweak module code in mtrand.pyx to fix a Cython...
  • #28007: BUG: Cython API was missing NPY_UINTP.
  • #28021: CI: pin scipy-doctest to 1.5.1
  • #28044: TYP: allow None in operand sequence of nditer

Checksums

... (truncated)

Commits
  • 7469245 Merge pull request #28047 from charris/prepare-2.2.1
  • acb051e REL: Prepare for the NumPy 2.2.1 release [wheel build]
  • 28a091a Merge pull request #28044 from charris/backport-28039
  • 723605b TST: Add test for allowing None in operand sequence passed to nditer
  • 554739e TYP: allow None in operand sequence of nditer
  • 31bc4c8 Merge pull request #28021 from charris/backport-28020
  • 32f52a3 CI: pin scipy-doctest to 1.5.1 (#28020)
  • 6219aeb Merge pull request #28007 from charris/backport-28005
  • eb7071c Merge pull request #28006 from charris/backport-28003
  • 4f82c32 BUG: Cython API was missing NPY_UINTP.
  • 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

Aggiorna numpy alla versione 2.2.1.

Correzioni di bug:

  • Correggi l'errore di use-after-free in npy_hashtable.cpp.
  • Correggi l'errore di compilazione nel test di collegamento libatomic in meson.build.
  • Correggi i tipi di valore erroneamente rifiutati in ndarray.setitem.
  • Correggi il fault di segmentazione in stringdtype lexsort.
  • Correggi un problema di Cython in mtrand.pyx.
  • L'API di Cython mancava di NPY_UINTP.

Miglioramenti:

  • Prepara la versione 2.2.x per ulteriori sviluppi.
  • Pulizia nei test.
  • Aggiungi include mancanti.
  • Non avvolgere #include <Python.h> con extern "C".
  • Modifica il codice del modulo in mtrand.pyx per correggere un problema di Cython.
  • Fissa scipy-doctest alla versione 1.5.1.
  • Consenti None nella sequenza di operandi di nditer.

Test:

  • Aggiungi un test per consentire None nella sequenza di operandi passata a nditer.
Original summary in English

Summary by Sourcery

Update numpy to 2.2.1.

Bug Fixes:

  • Fix use-after-free error in npy_hashtable.cpp.
  • Fix compile error libatomic link test to meson.build.
  • Fix falsely rejected value types in ndarray.setitem.
  • Fix segmentation fault in stringdtype lexsort.
  • Fix a Cython issue in mtrand.pyx.
  • Cython API was missing NPY_UINTP.

Enhancements:

  • Prepare 2.2.x for further development.
  • Cleanups in tests.
  • Add missing include.
  • Don't wrap #include <Python.h> with extern "C".
  • Tweak module code in mtrand.pyx to fix a Cython issue.
  • Pin scipy-doctest to 1.5.1.
  • Allow None in operand sequence of nditer.

Tests:

  • Add test for allowing None in operand sequence passed to nditer.

Bumps [numpy](https://github.com/numpy/numpy) from 2.2.0 to 2.2.1.
- [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.1)

---
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 Dec 23, 2024
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 sia stata creata da un bot (ehi, dependabot[bot]!). Supponiamo che sappia cosa sta facendo!
  • Non rivediamo le modifiche al packaging - Fateci sapere se volete che cambiamo questo.
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.

Copy link

sourcery-ai bot commented Dec 23, 2024

Guida del Revisore di Sourcery

Questa pull request aggiorna la versione di numpy da 2.2.0 a 2.2.1.

Diagramma delle classi che mostra l'aggiornamento della versione di numpy

classDiagram
    class Dependencies {
        +String lzma: 0.5.3
        +String numpy: 2.2.1
        +String pip: 24.3.1
        +String ps4_dec_pup_info: 1.0
        +String pup_decoder: 0.1.0
    }
    note for Dependencies "numpy aggiornato da 2.2.0 a 2.2.1"
Loading

Modifiche a Livello di File

Modifica Dettagli File
Aggiorna la versione di numpy
  • Aggiorna numpy da 2.2.0 a 2.2.1
requirements.txt

Consigli e comandi

Interagire con Sourcery

  • Avvia una nuova revisione: Commenta @sourcery-ai review sulla pull request.
  • Continua le discussioni: Rispondi direttamente ai commenti di revisione di Sourcery.
  • Genera un problema GitHub da un commento di revisione: Chiedi a Sourcery di creare un
    problema da un commento di revisione rispondendo ad esso.
  • Genera un titolo per la pull request: Scrivi @sourcery-ai ovunque nel titolo della pull
    request per generare un titolo in qualsiasi momento.
  • Genera un riepilogo della pull request: Scrivi @sourcery-ai summary ovunque nel corpo della
    pull request per generare un riepilogo della PR in qualsiasi momento. Puoi anche usare
    questo comando per specificare dove inserire il riepilogo.

Personalizzare la Tua Esperienza

Accedi alla tua dashboard per:

  • Abilitare o disabilitare funzionalità di revisione come il riepilogo della pull request
    generato da Sourcery, la guida del revisore e altri.
  • Cambiare la lingua della 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 version of numpy from 2.2.0 to 2.2.1.

Class diagram showing numpy version update

classDiagram
    class Dependencies {
        +String lzma: 0.5.3
        +String numpy: 2.2.1
        +String pip: 24.3.1
        +String ps4_dec_pup_info: 1.0
        +String pup_decoder: 0.1.0
    }
    note for Dependencies "numpy updated from 2.2.0 to 2.2.1"
Loading

File-Level Changes

Change Details Files
Update the numpy version
  • Bump numpy from 2.2.0 to 2.2.1
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

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