Skip to content

Bump numpy from 1.15.1 to 1.22.0#12

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/numpy-1.22.0
Open

Bump numpy from 1.15.1 to 1.22.0#12
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/pip/numpy-1.22.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 21, 2022

Copy link
Copy Markdown
Contributor

Bumps numpy from 1.15.1 to 1.22.0.

Release notes

Sourced from numpy's releases.

v1.22.0

NumPy 1.22.0 Release Notes

NumPy 1.22.0 is a big release featuring the work of 153 contributors spread over 609 pull requests. There have been many improvements, highlights are:

  • Annotations of the main namespace are essentially complete. Upstream is a moving target, so there will likely be further improvements, but the major work is done. This is probably the most user visible enhancement in this release.
  • A preliminary version of the proposed Array-API is provided. This is a step in creating a standard collection of functions that can be used across application such as CuPy and JAX.
  • NumPy now has a DLPack backend. DLPack provides a common interchange format for array (tensor) data.
  • New methods for quantile, percentile, and related functions. The new methods provide a complete set of the methods commonly found in the literature.
  • A new configurable allocator for use by downstream projects.

These are in addition to the ongoing work to provide SIMD support for commonly used functions, improvements to F2PY, and better documentation.

The Python versions supported in this release are 3.8-3.10, Python 3.7 has been dropped. Note that 32 bit wheels are only provided for Python 3.8 and 3.9 on Windows, all other wheels are 64 bits on account of Ubuntu, Fedora, and other Linux distributions dropping 32 bit support. All 64 bit wheels are also linked with 64 bit integer OpenBLAS, which should fix the occasional problems encountered by folks using truly huge arrays.

Expired deprecations

Deprecated numeric style dtype strings have been removed

Using the strings "Bytes0", "Datetime64", "Str0", "Uint32", and "Uint64" as a dtype will now raise a TypeError.

(gh-19539)

Expired deprecations for loads, ndfromtxt, and mafromtxt in npyio

numpy.loads was deprecated in v1.15, with the recommendation that users use pickle.loads instead. ndfromtxt and mafromtxt were both deprecated in v1.17 - users should use numpy.genfromtxt instead with the appropriate value for the usemask parameter.

(gh-19615)

... (truncated)

Commits

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 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)
  • @dependabot use these labels will set the current labels as the default for future PRs for this repo and language
  • @dependabot use these reviewers will set the current reviewers as the default for future PRs for this repo and language
  • @dependabot use these assignees will set the current assignees as the default for future PRs for this repo and language
  • @dependabot use this milestone will set the current milestone as the default for future PRs for this repo and language

You can disable automated security fix PRs for this repo from the Security Alerts page.

Bumps [numpy](https://github.com/numpy/numpy) from 1.15.1 to 1.22.0.
- [Release notes](https://github.com/numpy/numpy/releases)
- [Changelog](https://github.com/numpy/numpy/blob/main/doc/HOWTO_RELEASE.rst)
- [Commits](numpy/numpy@v1.15.1...v1.22.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Pull requests that update a dependency file label Jun 21, 2022
@JonathanPorta

Copy link
Copy Markdown
Owner

PR Review

Summary

This PR bumps numpy in the prebuilt Lambda dependency bundle from 1.15.1 to 1.22.0. That target version is incompatible with this repo's declared build runtime: the Dockerfile builds Python 3.6, while NumPy 1.22 dropped Python 3.6/3.7 support.

Findings

  • Severity: Blocking
  • Location: prebuilt-requirements.txt and Dockerfile
  • Problem: numpy==1.22.0 cannot be installed for the Python 3.6 Lambda build target used by this repo.
  • Why it matters: The prebuilt artifact is assembled inside a Python 3.6 Lambda build image. With this pin, the Docker build/package path cannot resolve a compatible NumPy wheel, so the Lambda dependency bundle cannot be produced as configured.
  • Suggested fix: Close this stale dependabot PR. If the project remains on Python 3.6, use a NumPy version that still supports cp36 and validate it with the full native stack. If the goal is to move to NumPy 1.22+, update the Lambda runtime/build image first and refresh SciPy/scikit-image/OpenCV together.

Test / Verification Notes

I inspected the PR diff, prebuilt-requirements.txt, Dockerfile, and the packaging Makefile. I ran a targeted runtime compatibility check: pip download --only-binary=:all: --platform manylinux2010_x86_64 --python-version 36 --implementation cp --abi cp36m 'numpy==1.22.0'. Pip reports no matching distribution and lists 1.19.5 as the newest available cp36-compatible NumPy in that query. I did not run the full Docker build because dependency resolution already fails for the repo's runtime target.

Overall Recommendation

Needs changes before merge.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant