Skip to content

chore(deps): update python-nonmajor #312

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

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

Conversation

renovate-bot
Copy link
Contributor

@renovate-bot renovate-bot commented Jul 15, 2025

This PR contains the following updates:

Package Change Age Confidence
cloud-sql-python-connector (changelog) ==1.18.2 -> ==1.18.3 age confidence
google-cloud-aiplatform ==1.97.0 -> ==1.104.0 age confidence
langchain-core (changelog) ==0.3.68 -> ==0.3.69 age confidence
langchain-google-cloud-sql-pg (changelog) ==0.14.0 -> ==0.14.1 age confidence
langgraph ==0.5.2 -> ==0.5.3 age confidence
mypy (changelog) ==1.15.0 -> ==1.17.0 age confidence
numpy (changelog) ==2.0.2 -> ==2.3.1 age confidence
numpy (changelog) ==2.2.6 -> ==2.3.1 age confidence
numpy (changelog) >=1.24.4, <=2.0.2 -> >=2.3.1, <=2.3.1 age confidence
numpy (changelog) >=1.24.4, <=2.2.6 -> >=2.3.1, <=2.3.1 age confidence

Release Notes

GoogleCloudPlatform/cloud-sql-python-connector (cloud-sql-python-connector)

v1.18.3

Compare Source

Bug Fixes
googleapis/python-aiplatform (google-cloud-aiplatform)

v1.104.0

Compare Source

Features
  • Add Aggregation Output in EvaluateDataset Get Operation Response (43eee8d)
  • Add API for Managed OSS Fine Tuning (43eee8d)
  • Add flexstart option to v1beta1 (43eee8d)
  • Expose task_unique_name in pipeline task details for pipeline rerun (43eee8d)
  • GenAI SDK client - Add support for context specs when creating agent engine instances (8321826)
  • GenAI SDK client(evals) - Add Generate Rubrics API config and internal method (6727fb3)
  • GenAI SDK client(evals) - add rubric-based evaluation types (df2390e)
  • GenAI SDK client(evals) - Add support for rubric-based metrics, and rubric customization eval workflow (36bfda2)
  • Some comments changes in machine_resources.proto to v1beta1 (43eee8d)
  • Vertex AI Model Garden custom model deploy Public Preview (43eee8d)
Bug Fixes
  • GenAI SDK client(evals) - Handle optional pandas dependency in type hints (cee8d8b)
Documentation
  • A comment for field boot_disk_type in message .google.cloud.aiplatform.v1beta1.DiskSpec is changed (43eee8d)
  • A comment for field learning_rate_multiplier in message .google.cloud.aiplatform.v1beta1.SupervisedHyperParameters is changed (43eee8d)
  • A comment for field machine_spec in message .google.cloud.aiplatform.v1beta1.DedicatedResources is changed (43eee8d)
  • A comment for field max_replica_count in message .google.cloud.aiplatform.v1beta1.AutomaticResources is changed (43eee8d)
  • A comment for field max_replica_count in message .google.cloud.aiplatform.v1beta1.DedicatedResources is changed (43eee8d)
  • A comment for field min_replica_count in message .google.cloud.aiplatform.v1beta1.AutomaticResources is changed (43eee8d)
  • A comment for field min_replica_count in message .google.cloud.aiplatform.v1beta1.DedicatedResources is changed (43eee8d)
  • A comment for field model in message .google.cloud.aiplatform.v1beta1.TunedModel is changed (43eee8d)
  • A comment for field required_replica_count in message .google.cloud.aiplatform.v1beta1.DedicatedResources is changed (43eee8d)
  • A comment for field training_dataset_uri in message .google.cloud.aiplatform.v1beta1.SupervisedTuningSpec is changed (43eee8d)
  • A comment for field validation_dataset_uri in message .google.cloud.aiplatform.v1beta1.SupervisedTuningSpec is changed (43eee8d)
  • A comment for message DedicatedResources is changed (43eee8d)
  • Add constraints for AggregationMetric enum and default value for flip_enabled field in AutoraterConfig (43eee8d)

v1.103.0

Compare Source

Features
  • Add ADK version check and set MemoryBankService as default when google-adk>=1.5.0 (262fbc3)
  • Add logging for agent engine creation (795ee17)
  • Populate task_unique_name from initial pipeline run in Pipeline Task Rerun Configs for pipeline job rerun (116a0a6)
  • Ummd.MultimodalDataset.from_bigquery() now also accepts a table id (not just a BQ table URI). (6e5c421)

v1.102.0

Compare Source

Features
  • Add message ColabImage, add field colab_image to NotebookSoftwareConfig (2c64a76)
  • Add message ColabImage, add field colab_image to NotebookSoftwareConfig (2c64a76)
  • Configure Bigframes implicitly in MultimodalDataset.assess(). (0664ea3)
  • GenAI SDK client - add async version of prompt optimizer (4564c9c)
  • GenAI SDK client (evals) - add LLMMetric.load function to load a config file (local or GCS) (56252e8)
Documentation
  • Fix the docstring example for unary Endpoint invoke method. (a132e86)

v1.101.0

Compare Source

Features
  • Allow installation scripts in AgentEngine. (9296d4d)
  • Add invoke method. It supports both streaming and non-streaming cases. (e686932)
  • Add computer use support to tools (f56c42e)
  • Add computer use support to tools (f56c42e)
  • Allow users to pass project_number for custom job service account when service_account is not provided. (5b59030)
  • Expose task_unique_name in pipeline task details for pipeline rerun (f56c42e)
  • Support creating an invoke enabled model in Python SDK (71a8d7b)

v1.100.0

Compare Source

Features
  • Add import_embeddings method in MatchingEngineIndex resource (5a0df36)
  • Add invoke_route_prefix to ModelContainerSpec in aiplatform v1 models.proto (4202177)
  • Add invoke_route_prefix to ModelContainerSpec in aiplatform v1beta1 models.proto (d4ede02)
  • Add Model Garden deploy OSS model API (d4ede02)
  • Add PSCAutomationConfig to PrivateServiceConnectConfig in service_networking.proto (d4ede02)
  • Add validation assessment for batch prediction. (d570fc9)
  • GenAI SDK client - Add batch_evaluate method for asynchronous batch eval. Add transformation support for consistent interface parameters with the evaluate method (4d44f94)
  • GenAI SDK client - Add Vertex AI Prompt Optimizer to the Gen AI SDK (experimental) (5daacda)
  • GenAI SDK client - Initial release of Agent Engine Memories SDK (e8d18b6)
  • GenAI SDK client (evals) - add support for third-party model inference via litellm library (e728d8b)
  • matching-engine: Add sync argument to deploy_index (fee1e2d)
  • Reasoning Engine v1beta1 subresource updates (d4ede02)
  • Updated explicit sync to existing decorator optional_sync (fee1e2d)
Bug Fixes
  • Fix auth scope for RAG upload_file (a506b94)
  • Fixed return type for deploy_index and added test for sync values (fee1e2d)
  • Use PrivateServiceConnectConfig in service_networking in PrivateEndpoint instead of the wrapper class PrivateServiceConnectConfig (87c2c3e)

v1.99.0

Compare Source

Features
  • [vertexai] Added concise option name to OpenModel.list_deploy_options() (9a0eec6)
  • Add resource usage assessment for batch prediction. (f63e436)
  • Add support for ADK memory service to AdkApp template (733fddd)
  • GenAI SDK client - Add automatic candidate naming and creation timestamp to evaluation dataset metadata (e8897e7)
  • GenAI SDK client - Add support for OpenAI data format for evals (f8f66f1)
  • GenAI SDK client - Adding client-based SDKs for Agent Engine (7b51d9e)
Documentation
  • Add deprecation notice to readme for Generative AI submodules: vertexai.generative_models, vertexai.language_models, vertexai.vision_models, vertexai.tuning, vertexai.caching (beae2e3)
  • Add deprecation notice to readme for Generative AI submodules: vertexai.generative_models, vertexai.language_models, vertexai.vision_models, vertexai.tuning, vertexai.caching (cdee7c2)
  • Add deprecation notice to readme for Generative AI submodules: vertexai.generative_models, vertexai.language_models, vertexai.vision_models, vertexai.tuning, vertexai.caching (9b0beae)

v1.98.0

Compare Source

Features
  • Add DnsPeeringConfig in service_networking.proto (c5bb99b)
  • Add DnsPeeringConfig in service_networking.proto (c5bb99b)
  • Add EncryptionSpec field for RagCorpus CMEK feature to v1 (9b48d24)
  • Add PSC interface config support for Custom Training Jobs (267b53d)
  • Add RagEngineConfig update/get APIs to v1 (c5bb99b)
  • Add Scaled tier for RagEngineConfig to v1beta, equivalent to Enterprise (c5bb99b)
  • Added autoscaling_target_request_count_per_minute to model deployment on Endpoint and Model classes (4df909c)
  • Adding VAPO Prompt Optimizer (PO-data) to the genai SDK. (701b8d4)
  • Enable asia-south2 (a1f4205)
  • Enable Vertex Multimodal Dataset as input to supervised fine-tuning. (959d798)
  • Export global quota configs in preview sdk (7f964d5)
  • GenAI SDK client - add show method for EvaluationResult and EvaluationDataset classes in IPython environment (c43de0a)
  • Introduce RagFileMetadataConfig for importing metadata to Rag (9b48d24)
  • RAG - Add Basic, Scaled and Unprovisioned tier in v1. (726d3a2)
  • RAG - Add Scaled and Unprovisioned tier in preview. (726d3a2)
  • RAG - Implement v1 get_rag_engine_config in rag_data.py (726d3a2)
  • RAG - Implement v1 update_rag_engine_config in rag_data.py (726d3a2)
  • Update v1 create_corpus to accept encryption_spec in rag_data.py (865a68c)
Bug Fixes
  • Update supported python version for create_reasoning_engine (0059c01)
  • Use none check to avoid 30s delay in agent run. (84895b6)
Documentation
  • Add GenAI client examples to readme (f1e17a6)
googleapis/langchain-google-cloud-sql-pg-python (langchain-google-cloud-sql-pg)

v0.14.1

Compare Source

Bug Fixes
langchain-ai/langgraph (langgraph)

v0.5.3

Compare Source

Changes since 0.5.2

  • release(langgraph): v0.5.3 (#​5498)
  • chore[deps]: upgrade dependencies with uv lock --upgrade (#​5471)
  • docs(checkpoint-postgres): fix typo in comment (#​5486)
  • chore: add forum to readme (#​5488)
  • fix(langgraph): remove ABC spec for PregelProtocol (#​5485)
  • fix(langgraph): replace _state_schema to state_schema when accessing StateGraph (#​5436)
  • fix(checkpoint-postgres): Remove python invalid escape warning (#​5441)
python/mypy (mypy)

v1.17.0

Compare Source

v1.16.1

Compare Source

v1.16.0

Compare Source

numpy/numpy (numpy)

v2.3.1: (Jun 21, 2025)

Compare Source

NumPy 2.3.1 Release Notes

The NumPy 2.3.1 release is a patch release with several bug fixes,
annotation improvements, and better support for OpenBSD. Highlights are:

  • Fix bug in matmul for non-contiguous out kwarg parameter
  • Fix for Accelerate runtime warnings on M4 hardware
  • Fix new in NumPy 2.3.0 np.vectorize casting errors
  • Improved support of cpu features for FreeBSD and OpenBSD

This release supports Python versions 3.11-3.13, Python 3.14 will be
supported when it is released.

Contributors

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

  • Brad Smith +
  • Charles Harris
  • Developer-Ecosystem-Engineering
  • François Rozet
  • Joren Hammudoglu
  • Matti Picus
  • Mugundan Selvanayagam
  • Nathan Goldbaum
  • Sebastian Berg

Pull requests merged

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

  • #​29140: MAINT: Prepare 2.3.x for further development
  • #​29191: BUG: fix matmul with transposed out arg (#​29179)
  • #​29192: TYP: Backport typing fixes and improvements.
  • #​29205: BUG: Revert np.vectorize casting to legacy behavior (#​29196)
  • #​29222: TYP: Backport typing fixes
  • #​29233: BUG: avoid negating unsigned integers in resize implementation...
  • #​29234: TST: Fix test that uses uninitialized memory (#​29232)
  • #​29235: BUG: Address interaction between SME and FPSR (#​29223)
  • #​29237: BUG: Enforce integer limitation in concatenate (#​29231)
  • #​29238: CI: Add support for building NumPy with LLVM for Win-ARM64
  • #​29241: ENH: Detect CPU features on OpenBSD ARM and PowerPC64
  • #​29242: ENH: Detect CPU features on FreeBSD / OpenBSD RISC-V64.

Checksums

MD5
c353ac75ea083594a6cb674b5f943d83  numpy-2.3.1-cp311-cp311-macosx_10_9_x86_64.whl
fdb5454e372d399cf570868ea7e2b192  numpy-2.3.1-cp311-cp311-macosx_11_0_arm64.whl
dc0f17823bb1826519d6974c2b95fa90  numpy-2.3.1-cp311-cp311-macosx_14_0_arm64.whl
7e3118fe383af697a8868ba191b9eac0  numpy-2.3.1-cp311-cp311-macosx_14_0_x86_64.whl
705aafad1250aa3e41502c5710a26ed5  numpy-2.3.1-cp311-cp311-manylinux_2_28_aarch64.whl
003d6268344577b804205098e11cdaa0  numpy-2.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
7d0c0fd11c573c510a25dd7513e4ae0a  numpy-2.3.1-cp311-cp311-musllinux_1_2_aarch64.whl
d99f993ef05966ead99df736df18b521  numpy-2.3.1-cp311-cp311-musllinux_1_2_x86_64.whl
96933cac225fb8b60a9cc2c0efa14d36  numpy-2.3.1-cp311-cp311-win32.whl
f777712419f3dd586ac294ddce84b274  numpy-2.3.1-cp311-cp311-win_amd64.whl
1fe2615669de5c271a48b99356fa3528  numpy-2.3.1-cp311-cp311-win_arm64.whl
fccca48846d41d38966cc75395787f79  numpy-2.3.1-cp312-cp312-macosx_10_13_x86_64.whl
fa389e78db43f3c2841ce127c1205422  numpy-2.3.1-cp312-cp312-macosx_11_0_arm64.whl
2554944d786abd284db4a699d4edfe1e  numpy-2.3.1-cp312-cp312-macosx_14_0_arm64.whl
7fec491834803a8ffa3765ef3d03cea5  numpy-2.3.1-cp312-cp312-macosx_14_0_x86_64.whl
7c2d8b4412f12b9b02e98349fb5cd760  numpy-2.3.1-cp312-cp312-manylinux_2_28_aarch64.whl
94dcc636a2f2478666d820e21fc91682  numpy-2.3.1-cp312-cp312-manylinux_2_28_x86_64.whl
404128939d89d1ea26be105fb03b5028  numpy-2.3.1-cp312-cp312-musllinux_1_2_aarch64.whl
e89d8d460060e8315c3ba68b2b649db0  numpy-2.3.1-cp312-cp312-musllinux_1_2_x86_64.whl
a767bd10267ad6baef9655fb08db3fd3  numpy-2.3.1-cp312-cp312-win32.whl
f753b957fcb7f06f043cf9c6114f294c  numpy-2.3.1-cp312-cp312-win_amd64.whl
58ffa7c69587f9bf8f6025794fec7f63  numpy-2.3.1-cp312-cp312-win_arm64.whl
22a2a9a568dd0866b288ad8bd8bb3e90  numpy-2.3.1-cp313-cp313-macosx_10_13_x86_64.whl
5e1593fcc8bb3447e995622f2dca017b  numpy-2.3.1-cp313-cp313-macosx_11_0_arm64.whl
894d56072db9358e0096538710a1a8ce  numpy-2.3.1-cp313-cp313-macosx_14_0_arm64.whl
593cb311f5170cbcfcefb587cdcc70bb  numpy-2.3.1-cp313-cp313-macosx_14_0_x86_64.whl
22935447e75acda4075c57b332c0236a  numpy-2.3.1-cp313-cp313-manylinux_2_28_aarch64.whl
5aa2040f947204e15e95ec87461a7e91  numpy-2.3.1-cp313-cp313-manylinux_2_28_x86_64.whl
6516337f0347974fada21a23a818be64  numpy-2.3.1-cp313-cp313-musllinux_1_2_aarch64.whl
ec956eb37b874b1ec52d6ffccda6ef65  numpy-2.3.1-cp313-cp313-musllinux_1_2_x86_64.whl
0aaed62cb1bae9c1b1a44d1a4eda2db7  numpy-2.3.1-cp313-cp313-win32.whl
57829996fc12f649547f0258443bbb20  numpy-2.3.1-cp313-cp313-win_amd64.whl
a0d0dd68bbf0ab378142b2daff0a8e06  numpy-2.3.1-cp313-cp313-win_arm64.whl
b22dc66970a8017e4d0ce83ef8c938af  numpy-2.3.1-cp313-cp313t-macosx_10_13_x86_64.whl
93c17afb38cf8fd876ca2bd9ea7e9612  numpy-2.3.1-cp313-cp313t-macosx_11_0_arm64.whl
283064dabb434f3dbc1a5e2514b9cb29  numpy-2.3.1-cp313-cp313t-macosx_14_0_arm64.whl
5b8c778033c98b4a0ce6e5bfc7625f05  numpy-2.3.1-cp313-cp313t-macosx_14_0_x86_64.whl
2340bd78962f194bcdbee6531d954acc  numpy-2.3.1-cp313-cp313t-manylinux_2_28_aarch64.whl
43a92ad37dc68d719bdeeeb65b3f4d2f  numpy-2.3.1-cp313-cp313t-manylinux_2_28_x86_64.whl
eb110c4aa0d73558187397ddfba179ad  numpy-2.3.1-cp313-cp313t-musllinux_1_2_aarch64.whl
1f7f0076411ed4afa9c4553eb06564cb  numpy-2.3.1-cp313-cp313t-musllinux_1_2_x86_64.whl
30f30dde6f806070b2164e48a632a350  numpy-2.3.1-cp313-cp313t-win32.whl
2375e2f2a5b75c5f5c908af6bb85d639  numpy-2.3.1-cp313-cp313t-win_amd64.whl
b421530a87bb8e9e3d4dc34c75d5d953  numpy-2.3.1-cp313-cp313t-win_arm64.whl
b1bc3cbf9cd407964b2bb25dfe86ca3d  numpy-2.3.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl
4c2e234eb4f346f362d6e6c620fa7a56  numpy-2.3.1-pp311-pypy311_pp73-macosx_14_0_arm64.whl
98ec3c19a365d0ae926113bb349e323b  numpy-2.3.1-pp311-pypy311_pp73-macosx_14_0_x86_64.whl
e0c7bcd526cde46489d5a8f12e06cc77  numpy-2.3.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl
41f535aa1f1acaf3d8a32a462a4cd4c8  numpy-2.3.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
2abf906a6688c98693045cbbc655d5b7  numpy-2.3.1-pp311-pypy311_pp73-win_amd64.whl
886559a4c541298b37245e389ce8bf10  numpy-2.3.1.tar.gz
SHA256
6ea9e48336a402551f52cd8f593343699003d2353daa4b72ce8d34f66b722070  numpy-2.3.1-cp311-cp311-macosx_10_9_x86_64.whl
5ccb7336eaf0e77c1635b232c141846493a588ec9ea777a7c24d7166bb8533ae  numpy-2.3.1-cp311-cp311-macosx_11_0_arm64.whl
0bb3a4a61e1d327e035275d2a993c96fa786e4913aa089843e6a2d9dd205c66a  numpy-2.3.1-cp311-cp311-macosx_14_0_arm64.whl
e344eb79dab01f1e838ebb67aab09965fb271d6da6b00adda26328ac27d4a66e  numpy-2.3.1-cp311-cp311-macosx_14_0_x86_64.whl
467db865b392168ceb1ef1ffa6f5a86e62468c43e0cfb4ab6da667ede10e58db  numpy-2.3.1-cp311-cp311-manylinux_2_28_aarch64.whl
afed2ce4a84f6b0fc6c1ce734ff368cbf5a5e24e8954a338f3bdffa0718adffb  numpy-2.3.1-cp311-cp311-manylinux_2_28_x86_64.whl
0025048b3c1557a20bc80d06fdeb8cc7fc193721484cca82b2cfa072fec71a93  numpy-2.3.1-cp311-cp311-musllinux_1_2_aarch64.whl
a5ee121b60aa509679b682819c602579e1df14a5b07fe95671c8849aad8f2115  numpy-2.3.1-cp311-cp311-musllinux_1_2_x86_64.whl
a8b740f5579ae4585831b3cf0e3b0425c667274f82a484866d2adf9570539369  numpy-2.3.1-cp311-cp311-win32.whl
d4580adadc53311b163444f877e0789f1c8861e2698f6b2a4ca852fda154f3ff  numpy-2.3.1-cp311-cp311-win_amd64.whl
ec0bdafa906f95adc9a0c6f26a4871fa753f25caaa0e032578a30457bff0af6a  numpy-2.3.1-cp311-cp311-win_arm64.whl
2959d8f268f3d8ee402b04a9ec4bb7604555aeacf78b360dc4ec27f1d508177d  numpy-2.3.1-cp312-cp312-macosx_10_13_x86_64.whl
762e0c0c6b56bdedfef9a8e1d4538556438288c4276901ea008ae44091954e29  numpy-2.3.1-cp312-cp312-macosx_11_0_arm64.whl
867ef172a0976aaa1f1d1b63cf2090de8b636a7674607d514505fb7276ab08fc  numpy-2.3.1-cp312-cp312-macosx_14_0_arm64.whl
4e602e1b8682c2b833af89ba641ad4176053aaa50f5cacda1a27004352dde943  numpy-2.3.1-cp312-cp312-macosx_14_0_x86_64.whl
8e333040d069eba1652fb08962ec5b76af7f2c7bce1df7e1418c8055cf776f25  numpy-2.3.1-cp312-cp312-manylinux_2_28_aarch64.whl
e7cbf5a5eafd8d230a3ce356d892512185230e4781a361229bd902ff403bc660  numpy-2.3.1-cp312-cp312-manylinux_2_28_x86_64.whl
5f1b8f26d1086835f442286c1d9b64bb3974b0b1e41bb105358fd07d20872952  numpy-2.3.1-cp312-cp312-musllinux_1_2_aarch64.whl
ee8340cb48c9b7a5899d1149eece41ca535513a9698098edbade2a8e7a84da77  numpy-2.3.1-cp312-cp312-musllinux_1_2_x86_64.whl
e772dda20a6002ef7061713dc1e2585bc1b534e7909b2030b5a46dae8ff077ab  numpy-2.3.1-cp312-cp312-win32.whl
cfecc7822543abdea6de08758091da655ea2210b8ffa1faf116b940693d3df76  numpy-2.3.1-cp312-cp312-win_amd64.whl
7be91b2239af2658653c5bb6f1b8bccafaf08226a258caf78ce44710a0160d30  numpy-2.3.1-cp312-cp312-win_arm64.whl
25a1992b0a3fdcdaec9f552ef10d8103186f5397ab45e2d25f8ac51b1a6b97e8  numpy-2.3.1-cp313-cp313-macosx_10_13_x86_64.whl
7dea630156d39b02a63c18f508f85010230409db5b2927ba59c8ba4ab3e8272e  numpy-2.3.1-cp313-cp313-macosx_11_0_arm64.whl
bada6058dd886061f10ea15f230ccf7dfff40572e99fef440a4a857c8728c9c0  numpy-2.3.1-cp313-cp313-macosx_14_0_arm64.whl
a894f3816eb17b29e4783e5873f92faf55b710c2519e5c351767c51f79d8526d  numpy-2.3.1-cp313-cp313-macosx_14_0_x86_64.whl
18703df6c4a4fee55fd3d6e5a253d01c5d33a295409b03fda0c86b3ca2ff41a1  numpy-2.3.1-cp313-cp313-manylinux_2_28_aarch64.whl
5902660491bd7a48b2ec16c23ccb9124b8abfd9583c5fdfa123fe6b421e03de1  numpy-2.3.1-cp313-cp313-manylinux_2_28_x86_64.whl
36890eb9e9d2081137bd78d29050ba63b8dab95dff7912eadf1185e80074b2a0  numpy-2.3.1-cp313-cp313-musllinux_1_2_aarch64.whl
a780033466159c2270531e2b8ac063704592a0bc62ec4a1b991c7c40705eb0e8  numpy-2.3.1-cp313-cp313-musllinux_1_2_x86_64.whl
39bff12c076812595c3a306f22bfe49919c5513aa1e0e70fac756a0be7c2a2b8  numpy-2.3.1-cp313-cp313-win32.whl
8d5ee6eec45f08ce507a6570e06f2f879b374a552087a4179ea7838edbcbfa42  numpy-2.3.1-cp313-cp313-win_amd64.whl
0c4d9e0a8368db90f93bd192bfa771ace63137c3488d198ee21dfb8e7771916e  numpy-2.3.1-cp313-cp313-win_arm64.whl
b0b5397374f32ec0649dd98c652a1798192042e715df918c20672c62fb52d4b8  numpy-2.3.1-cp313-cp313t-macosx_10_13_x86_64.whl
c5bdf2015ccfcee8253fb8be695516ac4457c743473a43290fd36eba6a1777eb  numpy-2.3.1-cp313-cp313t-macosx_11_0_arm64.whl
d70f20df7f08b90a2062c1f07737dd340adccf2068d0f1b9b3d56e2038979fee  numpy-2.3.1-cp313-cp313t-macosx_14_0_arm64.whl
2fb86b7e58f9ac50e1e9dd1290154107e47d1eef23a0ae9145ded06ea606f992  numpy-2.3.1-cp313-cp313t-macosx_14_0_x86_64.whl
23ab05b2d241f76cb883ce8b9a93a680752fbfcbd51c50eff0b88b979e471d8c  numpy-2.3.1-cp313-cp313t-manylinux_2_28_aarch64.whl
ce2ce9e5de4703a673e705183f64fd5da5bf36e7beddcb63a25ee2286e71ca48  numpy-2.3.1-cp313-cp313t-manylinux_2_28_x86_64.whl
c4913079974eeb5c16ccfd2b1f09354b8fed7e0d6f2cab933104a09a6419b1ee  numpy-2.3.1-cp313-cp313t-musllinux_1_2_aarch64.whl
010ce9b4f00d5c036053ca684c77441f2f2c934fd23bee058b4d6f196efd8280  numpy-2.3.1-cp313-cp313t-musllinux_1_2_x86_64.whl
6269b9edfe32912584ec496d91b00b6d34282ca1d07eb10e82dfc780907d6c2e  numpy-2.3.1-cp313-cp313t-win32.whl
2a809637460e88a113e186e87f228d74ae2852a2e0c44de275263376f17b5bdc  numpy-2.3.1-cp313-cp313t-win_amd64.whl
eccb9a159db9aed60800187bc47a6d3451553f0e1b08b068d8b277ddfbb9b244  numpy-2.3.1-cp313-cp313t-win_arm64.whl
ad506d4b09e684394c42c966ec1527f6ebc25da7f4da4b1b056606ffe446b8a3  numpy-2.3.1-pp311-pypy311_pp73-macosx_10_15_x86_64.whl
ebb8603d45bc86bbd5edb0d63e52c5fd9e7945d3a503b77e486bd88dde67a19b  numpy-2.3.1-pp311-pypy311_pp73-macosx_14_0_arm64.whl
15aa4c392ac396e2ad3d0a2680c0f0dee420f9fed14eef09bdb9450ee6dcb7b7  numpy-2.3.1-pp311-pypy311_pp73-macosx_14_0_x86_64.whl
c6e0bf9d1a2f50d2b65a7cf56db37c095af17b59f6c132396f7c6d5dd76484df  numpy-2.3.1-pp311-pypy311_pp73-manylinux_2_28_aarch64.whl
eabd7e8740d494ce2b4ea0ff05afa1b7b291e978c0ae075487c51e8bd93c0c68  numpy-2.3.1-pp311-pypy311_pp73-manylinux_2_28_x86_64.whl
e610832418a2bc09d974cc9fecebfa51e9532d6190223bc5ef6a7402ebf3b5cb  numpy-2.3.1-pp311-pypy311_pp73-win_amd64.whl
1ec9ae20a4226da374362cca3c62cd753faf2f951440b0e3b98e93c235441d2b  numpy-2.3.1.tar.gz

v2.3.0: (June 7, 2025)

Compare Source

NumPy 2.3.0 Release Notes

The NumPy 2.3.0 release continues the work to improve free threaded
Python support and annotations together with the usual set of bug fixes.
It is unusual in the number of expired deprecations, code
modernizations, and style cleanups. The latter may not be visible to
users, but is important for code maintenance over the long term. Note
that we have also upgraded from manylinux2014 to manylinux_2_28.

Users running on a Mac having an M4 cpu might see various warnings about
invalid values and such. The warnings are a known problem with
Accelerate. They are annoying, but otherwise harmless. Apple promises to
fix them.

This release supports Python versions 3.11-3.13, Python 3.14 will be
supported when it is released.

Highlights

  • Interactive examples in the NumPy documentation.
  • Building NumPy with OpenMP Parallelization.
  • Preliminary support for Windows on ARM.
  • Improved support for free threaded Python.
  • Improved annotations.

New functions

New function numpy.strings.slice

The new function numpy.strings.slice was added, which implements fast
native slicing of string arrays. It supports the full slicing API
including negative slice offsets and steps.

(gh-27789)

Deprecations

  • The numpy.typing.mypy_plugin has been deprecated in favor of
    platform-agnostic static type inference. Please remove
    numpy.typing.mypy_plugin from the plugins section of your mypy
    configuration. If this change results in new errors being reported,
    kindly open an issue.

    (gh-28129)

  • The numpy.typing.NBitBase type has been deprecated and will be
    removed in a future version.

    This type was previously intended to be used as a generic upper
    bound for type-parameters, for example:

    import numpy as np
    import numpy.typing as npt
    
    def f[NT: npt.NBitBase](x: np.complexfloating[NT]) -> np.floating[NT]: ...

    But in NumPy 2.2.0, float64 and complex128 were changed to
    concrete subtypes, causing static type-checkers to reject
    x: np.float64 = f(np.complex128(42j)).

    So instead, the better approach is to use typing.overload:

    import numpy as np
    from typing import overload
    
    @&#8203;overload
    def f(x: np.complex64) -> np.float32: ...
    @&#8203;overload
    def f(x: np.complex128) -> np.float64: ...
    @&#8203;overload
    def f(x: np.clongdouble) -> np.longdouble: ...

    (gh-28884)

Expired deprecations

  • Remove deprecated macros like NPY_OWNDATA from Cython interfaces
    in favor of NPY_ARRAY_OWNDATA (deprecated since 1.7)

    (gh-28254)

  • Remove numpy/npy_1_7_deprecated_api.h and C macros like
    NPY_OWNDATA in favor of NPY_ARRAY_OWNDATA (deprecated since 1.7)

    (gh-28254)

  • Remove alias generate_divbyzero_error to
    npy_set_floatstatus_divbyzero and generate_overflow_error to
    npy_set_floatstatus_overflow (deprecated since 1.10)

    (gh-28254)

  • Remove np.tostring (deprecated since 1.19)

    (gh-28254)

  • Raise on np.conjugate of non-numeric types (deprecated since 1.13)

    (gh-28254)

  • Raise when using np.bincount(...minlength=None), use 0 instead
    (deprecated since 1.14)

    (gh-28254)

  • Passing shape=None to functions with a non-optional shape argument
    errors, use () instead (deprecated since 1.20)

    (gh-28254)

  • Inexact matches for mode and searchside raise (deprecated since
    1.20)

    (gh-28254)

  • Setting __array_finalize__ = None errors (deprecated since 1.23)

    (gh-28254)

  • np.fromfile and np.fromstring error on bad data, previously they
    would guess (deprecated since 1.18)

    (gh-28254)

  • datetime64 and timedelta64 construction with a tuple no longer
    accepts an event value, either use a two-tuple of (unit, num) or a
    4-tuple of (unit, num, den, 1) (deprecated since 1.14)

    (gh-28254)

  • When constructing a dtype from a class with a dtype attribute,
    that attribute must be a dtype-instance rather than a thing that can
    be parsed as a dtype instance (deprecated in 1.19). At some point
    the whole construct of using a dtype attribute will be deprecated
    (see #​25306)

    (gh-28254)

  • Passing booleans as partition index errors (deprecated since 1.23)

    (gh-28254)

  • Out-of-bounds indexes error even on empty arrays (deprecated since
    1.20)

    (gh-28254)

  • np.tostring has been removed, use tobytes instead (deprecated
    since 1.19)

    (gh-28254)

  • Disallow make a non-writeable array writeable for arrays with a base
    that do not own their data (deprecated since 1.17)

    (gh-28254)

  • concatenate() with axis=None uses same-kind casting by
    default, not unsafe (deprecated since 1.20)

    (gh-28254)

  • Unpickling a scalar with object dtype errors (deprecated since 1.20)

    (gh-28254)

  • The binary mode of fromstring now errors, use frombuffer instead
    (deprecated since 1.14)

    (gh-28254)

  • Converting np.inexact or np.floating to a dtype errors
    (deprecated since 1.19)

    (gh-28254)

  • Converting np.complex, np.integer, np.signedinteger,
    np.unsignedinteger, np.generic to a dtype errors (deprecated
    since 1.19)

    (gh-28254)

  • The Python built-in round errors for complex scalars. Use
    np.round or scalar.round instead (deprecated since 1.19)

    (gh-28254)

  • 'np.bool' scalars can no longer be interpreted as an index
    (deprecated since 1.19)

    (gh-28254)

  • Parsing an integer via a float string is no longer supported.
    (deprecated since 1.23) To avoid this error you can

    • make sure the original data is stored as integers.
    • use the converters=float keyword argument.
    • Use np.loadtxt(...).astype(np.int64)

    (gh-28254)

  • The use of a length 1 tuple for the ufunc signature errors. Use
    dtype or fill the tuple with None (deprecated since 1.19)

    (gh-28254)

  • Special handling of matrix is in np.outer is removed. Convert to a
    ndarray via matrix.A (deprecated since 1.20)

    (gh-28254)

  • Removed the np.compat package source code (removed in 2.0)

    (gh-28961)

C API changes

  • NpyIter_GetTransferFlags is now available to check if the iterator
    needs the Python API or if casts may cause floating point errors
    (FPE). FPEs can for example be set when casting float64(1e300) to
    float32 (overflow to infinity) or a NaN to an integer (invalid
    value).

    (gh-27883)

  • NpyIter now has no limit on the number of operands it supports.

    (gh-28080)

New NpyIter_GetTransferFlags and NpyIter_IterationNeedsAPI change

NumPy now has the new NpyIter_GetTransferFlags function as a more
precise way checking of iterator/buffering needs. I.e. whether the
Python API/GIL is required or floating point errors may occur. This
function is also faster if you already know your needs without
buffering.

The NpyIter_IterationNeedsAPI function now performs all the checks
that were previously performed at setup time. While it was never
necessary to call it multiple times, doing so will now have a larger
cost.

(gh-27998)

New Features

  • The type parameter of np.dtype now defaults to typing.Any. This
    way, static type-checkers will infer dtype: np.dtype as
    dtype: np.dtype[Any], without reporting an error.

    (gh-28669)

  • Static type-checkers now interpret:

    • _: np.ndarray as _: npt.NDArray[typing.Any].
    • _: np.flatiter as _: np.flatiter[np.ndarray].

    This is because their type parameters now have default values.

    (gh-28940)

NumPy now registers its pkg-config paths with the pkgconf PyPI package

The pkgconf PyPI
package provides an interface for projects like NumPy to register their
own paths to be added to the pkg-config search path. This means that
when using pkgconf
from PyPI, NumPy will be discoverable without needing for any custom
environment configuration.

[!NOTE]
This only applies when using the pkgconf package from PyPI,
or put another way, this only applies when installing pkgconf via a
Python package manager.

If you are using pkg-config or pkgconf provided by your system,
or any other source that does not use the pkgconf-pypi
project, the NumPy pkg-config directory will not be automatically added
to the search path. In these situations, you might want to use numpy-config.

(gh-28214)

Allow out=... in ufuncs to ensure array result

NumPy has the sometimes difficult behavior that it currently usually
returns scalars rather than 0-D arrays (even if the inputs were 0-D
arrays). This is especially problematic for non-numerical dtypes (e.g.
object).

For ufuncs (i.e. most simple math functions) it is now possible to use
out=... (literally `...`, e.g. out=Ellipsis) which is identical
in behavior to out not being passed, but will ensure a non-scalar
return. This spelling is borrowed from arr1d[0, ...] where the ...
also ensures a non-scalar return.

Other functions with an out= kwarg should gain support eventually.
Downstream libraries that interoperate via __array_ufunc__ or
__array_function__ may need to adapt to support this.

(gh-28576)

Building NumPy with OpenMP Parallelization

NumPy now supports OpenMP parallel processing capabilities when built
with the -Denable_openmp=true Meson build flag. This feature is
disabled by default. When enabled, np.sort and np.argsort functions
can utilize OpenMP for parallel thread execution, improving performance
for these operations.

(gh-28619)

Interactive examples in the NumPy documentation

The NumPy documentation includes a number of examples that can now be
run interactively in your browser using WebAssembly and Pyodide.

Please note that the examples are currently experimental in nature and
may not work as expected for all methods in the public API.

(gh-26745)

Improvements

  • Scalar comparisons between non-comparable dtypes such as
    np.array(1) == np.array('s') now return a NumPy bool instead of a
    Python bool.

    (gh-27288)

  • np.nditer now has no limit on the number of supported operands
    (C-integer).

    (gh-28080)

  • No-copy pickling is now supported for any array that can be
    transposed to a C-contiguous array.

    (gh-28105)

  • The __repr__ for user-defined dtypes now prefers the __name__ of
    the custom dtype over a more generic name constructed from its
    kind and itemsize.

    (gh-28250)

  • np.dot now reports floating point exceptions.

    (gh-28442)

  • np.dtypes.StringDType is now a generic
    type
    which
    accepts a type argument for na_object that defaults to
    typing.Never. For example, StringDType(na_object=None) returns a
    StringDType[None], and StringDType() returns a
    StringDType[typing.Never].

    (gh-28856)

Added warnings to np.isclose

Added warning messages if at least one of atol or rtol are either
np.nan or np.inf within np.isclose.

  • Warnings follow the user's np.seterr settings

(gh-28205)

Performance improvements and changes

Performance improvements to np.unique

np.unique now tries to use a hash table to find unique values instead
of sorting values before finding unique values. This is limited to
certain dtypes for now, and the function is now faster for those dtypes.
The function now also exposes a sorted parameter to allow returning
unique values as they were found, instead of sorting them afterwards.

(gh-26018)

Performance improvements to np.sort and np.argsort

np.sort and np.argsort functions now can leverage OpenMP for
parallel thread execution, resulting in up to 3.5x speedups on x86
architectures with AVX2 or AVX-512 instructions. This opt-in feature
requires NumPy to be built with the -Denable_openmp Meson flag. Users
can control the number of threads used by setting the OMP_NUM_THREADS
environment variable.

(gh-28619)

Performance improvements for np.float16 casts

Earlier, floating point casts to and from np.float16 types were
emulated in software on all platforms.

Now, on ARM devices that support Neon float16 intrinsics (such as recent
Apple Silicon), the native float16 path is used to achieve the best
performance.

(gh-28769)

Changes

  • The vector norm ord=inf and the matrix norms
    ord={1, 2, inf, 'nuc'} now always returns zero for empty arrays.
    Empty arrays have at least one axis of size zero. This affects
    np.linalg.norm, np.linalg.vector_norm, and
    np.linalg.matrix_norm. Previously, NumPy would raises errors or
    return zero depending on the shape of the array.

    (gh-28343)

  • A spelling error in the error message returned when converting a
    string to a float with the method np.format_float_positional has
    been fixed.

    (gh-28569)

  • NumPy's __array_api_version__ was upgraded from 2023.12 to
    2024.12.

  • numpy.count_nonzero for axis=None (default) now returns a NumPy
    scalar instead of a Python integer.

  • The parameter axis in numpy.take_along_axis function has now a
    default value of -1.

    (gh-28615)

  • Printing of np.float16 and np.float32 scalars and arrays have
    been improved by adjusting the transition to scientific notation
    based on the floating point precision. A new legacy
    np.printoptions mode '2.2' has been added for backwards
    compatibility.

    (gh-28703)

  • Multiplication between a string and integer now raises OverflowError
    instead of MemoryError if the result of the multiplication would
    create a string that is too large to be represented. This follows
    Python's behavior.

    (gh-29060)

unique_values may return unsorted data

The relatively new function (added in NumPy 2.0) unique_values may now
return unsorted results. Just as unique_counts and unique_all these
never guaranteed a sorted result, however, the result was sorted until
now. In cases where these do return a sorted result, this may change in
future releases to improve performance.

(gh-26018)

Changes to the main iterator and potential numerical changes

The main iterator, used in math functions and via np.nditer from
Python and NpyIter in C, now behaves differently for some buffered
iterations. This means that:

  • The buffer size used will often be smaller than the maximum buffer
    sized allowed by the buffersize parameter.
  • The "growinner" flag is now honored with buffered reductions when
    no operand requires buffering.

For np.sum() such changes in buffersize may slightly change numerical
results of floating point operations. Users who use "growinner" for
custom reductions could notice changes in precision (for example, in
NumPy we removed it from einsum to avoid most precision changes and
improve precision for some 64bit floating point inputs).

(gh-27883)

The minimum supported GCC version is now 9.3.0

The minimum supported version was updated from 8.4.0 to 9.3.0, primarily
in order to reduce the chance of platform-specific bugs in old GCC
versions from causing issues.

(gh-28102)

Changes to automatic bin selection in numpy.histogram

The automatic bin selection algorithm in numpy.histogram has been
modified to avoid out-of-memory errors for samples with low variation.
For full control over the selected bins the user can use set the bin
or range parameters of numpy.histogram.

(gh-28426)

Build manylinux_2_28 wheels

Wheels for linux systems will use the manylinux_2_28 tag (instead of
the manylinux2014 tag), which means dropping support for
redhat7/centos7, amazonlinux2, debian9, ubuntu18.04, and other
pre-glibc2.28 operating system versions, as per the [PEP 600 support
table](https://redirect.github.com/mayeut/pep600_compliance?tab=readme-ov-file#pep600-c


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners July 15, 2025 22:39
@product-auto-label product-auto-label bot added the api: cloudsql-postgres Issues related to the googleapis/langchain-google-cloud-sql-pg-python API. label Jul 15, 2025
@dpebot
Copy link
Collaborator

dpebot commented Jul 15, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from d8401da to 111f5ab Compare July 16, 2025 08:38
@dpebot
Copy link
Collaborator

dpebot commented Jul 16, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from 111f5ab to 165f00e Compare July 16, 2025 23:13
@dpebot
Copy link
Collaborator

dpebot commented Jul 16, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from 165f00e to e7504f7 Compare July 17, 2025 06:39
@dpebot
Copy link
Collaborator

dpebot commented Jul 17, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from e7504f7 to 6161b1d Compare July 17, 2025 20:33
@dpebot
Copy link
Collaborator

dpebot commented Jul 17, 2025

/gcbrun

@renovate-bot renovate-bot force-pushed the renovate/python-nonmajor branch from 6161b1d to 7570750 Compare July 18, 2025 04:56
@dpebot
Copy link
Collaborator

dpebot commented Jul 18, 2025

/gcbrun

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: cloudsql-postgres Issues related to the googleapis/langchain-google-cloud-sql-pg-python API.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants