You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by tv...@apache.org on 2024/01/26 18:10:21 UTC
(beam) branch master updated: Upgrade numpy dependency (#29645)
This is an automated email from the ASF dual-hosted git repository.
tvalentyn pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/beam.git
The following commit(s) were added to refs/heads/master by this push:
new 4981c0c3abc Upgrade numpy dependency (#29645)
4981c0c3abc is described below
commit 4981c0c3abc26ec2e5bfce94c612411462b43723
Author: tvalentyn <tv...@users.noreply.github.com>
AuthorDate: Fri Jan 26 10:10:13 2024 -0800
Upgrade numpy dependency (#29645)
* Upgrade numpy dependency
* Regenerate dependencies.
---
.../container/py310/base_image_requirements.txt | 39 +++++++++++-----------
.../container/py311/base_image_requirements.txt | 39 +++++++++++-----------
.../container/py38/base_image_requirements.txt | 33 +++++++++---------
.../container/py39/base_image_requirements.txt | 39 +++++++++++-----------
sdks/python/pyproject.toml | 4 +--
sdks/python/setup.py | 2 +-
6 files changed, 80 insertions(+), 76 deletions(-)
diff --git a/sdks/python/container/py310/base_image_requirements.txt b/sdks/python/container/py310/base_image_requirements.txt
index a58d61d703c..ebc96e17b12 100644
--- a/sdks/python/container/py310/base_image_requirements.txt
+++ b/sdks/python/container/py310/base_image_requirements.txt
@@ -22,8 +22,8 @@
# Reach out to a committer if you need help.
attrs==23.2.0
-beautifulsoup4==4.12.2
-bs4==0.0.1
+beautifulsoup4==4.12.3
+bs4==0.0.2
build==1.0.3
cachetools==5.3.2
certifi==2023.11.17
@@ -32,11 +32,12 @@ charset-normalizer==3.3.2
click==8.1.7
cloudpickle==2.2.1
crcmod==1.7
-cryptography==41.0.7
+cryptography==42.0.1
Cython==0.29.37
+Deprecated==1.2.14
deprecation==2.1.0
dill==0.3.1.1
-dnspython==2.4.2
+dnspython==2.5.0
docker==7.0.0
docopt==0.6.2
docstring-parser==0.15
@@ -47,12 +48,12 @@ fasteners==0.19
freezegun==1.4.0
future==0.18.3
google-api-core==2.15.0
-google-api-python-client==2.113.0
+google-api-python-client==2.115.0
google-apitools==0.5.31
-google-auth==2.26.1
+google-auth==2.27.0
google-auth-httplib2==0.1.1
-google-cloud-aiplatform==1.39.0
-google-cloud-bigquery==3.15.0
+google-cloud-aiplatform==1.40.0
+google-cloud-bigquery==3.17.1
google-cloud-bigquery-storage==2.24.0
google-cloud-bigtable==2.22.0
google-cloud-core==2.4.1
@@ -64,7 +65,7 @@ google-cloud-pubsub==2.19.0
google-cloud-pubsublite==1.9.0
google-cloud-recommendations-ai==0.10.6
google-cloud-resource-manager==1.11.0
-google-cloud-spanner==3.40.1
+google-cloud-spanner==3.41.0
google-cloud-storage==2.14.0
google-cloud-videointelligence==2.12.0
google-cloud-vision==3.5.0
@@ -78,29 +79,29 @@ grpcio-status==1.60.0
guppy3==3.1.4.post1
hdfs==2.7.3
httplib2==0.22.0
-hypothesis==6.92.7
+hypothesis==6.97.0
idna==3.6
iniconfig==2.0.0
joblib==1.3.2
Js2Py==0.74
jsonpickle==3.0.2
-jsonschema==4.20.0
+jsonschema==4.21.1
jsonschema-specifications==2023.12.1
mmh3==4.1.0
mock==5.1.0
nltk==3.8.1
nose==1.3.7
-numpy==1.24.4
+numpy==1.26.3
oauth2client==4.1.3
objsize==0.7.0
-orjson==3.9.10
-overrides==7.4.0
+orjson==3.9.12
+overrides==7.6.0
packaging==23.2
pandas==2.0.3
parameterized==0.9.0
-pluggy==1.3.0
+pluggy==1.4.0
proto-plus==1.23.0
-protobuf==4.25.1
+protobuf==4.25.2
psycopg2-binary==2.9.9
pyarrow==14.0.2
pyarrow-hotfix==0.6
@@ -125,10 +126,10 @@ referencing==0.32.1
regex==2023.12.25
requests==2.31.0
requests-mock==1.11.0
-rpds-py==0.16.2
+rpds-py==0.17.1
rsa==4.9
-scikit-learn==1.3.2
-scipy==1.11.4
+scikit-learn==1.4.0
+scipy==1.12.0
shapely==2.0.2
six==1.16.0
sortedcontainers==2.4.0
diff --git a/sdks/python/container/py311/base_image_requirements.txt b/sdks/python/container/py311/base_image_requirements.txt
index e4c3552d71e..37c1a30f673 100644
--- a/sdks/python/container/py311/base_image_requirements.txt
+++ b/sdks/python/container/py311/base_image_requirements.txt
@@ -22,8 +22,8 @@
# Reach out to a committer if you need help.
attrs==23.2.0
-beautifulsoup4==4.12.2
-bs4==0.0.1
+beautifulsoup4==4.12.3
+bs4==0.0.2
build==1.0.3
cachetools==5.3.2
certifi==2023.11.17
@@ -32,11 +32,12 @@ charset-normalizer==3.3.2
click==8.1.7
cloudpickle==2.2.1
crcmod==1.7
-cryptography==41.0.7
+cryptography==42.0.1
Cython==0.29.37
+Deprecated==1.2.14
deprecation==2.1.0
dill==0.3.1.1
-dnspython==2.4.2
+dnspython==2.5.0
docker==7.0.0
docopt==0.6.2
docstring-parser==0.15
@@ -46,12 +47,12 @@ fasteners==0.19
freezegun==1.4.0
future==0.18.3
google-api-core==2.15.0
-google-api-python-client==2.113.0
+google-api-python-client==2.115.0
google-apitools==0.5.31
-google-auth==2.26.1
+google-auth==2.27.0
google-auth-httplib2==0.1.1
-google-cloud-aiplatform==1.39.0
-google-cloud-bigquery==3.15.0
+google-cloud-aiplatform==1.40.0
+google-cloud-bigquery==3.17.1
google-cloud-bigquery-storage==2.24.0
google-cloud-bigtable==2.22.0
google-cloud-core==2.4.1
@@ -63,7 +64,7 @@ google-cloud-pubsub==2.19.0
google-cloud-pubsublite==1.9.0
google-cloud-recommendations-ai==0.10.6
google-cloud-resource-manager==1.11.0
-google-cloud-spanner==3.40.1
+google-cloud-spanner==3.41.0
google-cloud-storage==2.14.0
google-cloud-videointelligence==2.12.0
google-cloud-vision==3.5.0
@@ -77,29 +78,29 @@ grpcio-status==1.60.0
guppy3==3.1.4.post1
hdfs==2.7.3
httplib2==0.22.0
-hypothesis==6.92.7
+hypothesis==6.97.0
idna==3.6
iniconfig==2.0.0
joblib==1.3.2
Js2Py==0.74
jsonpickle==3.0.2
-jsonschema==4.20.0
+jsonschema==4.21.1
jsonschema-specifications==2023.12.1
mmh3==4.1.0
mock==5.1.0
nltk==3.8.1
nose==1.3.7
-numpy==1.24.4
+numpy==1.26.3
oauth2client==4.1.3
objsize==0.7.0
-orjson==3.9.10
-overrides==7.4.0
+orjson==3.9.12
+overrides==7.6.0
packaging==23.2
pandas==2.0.3
parameterized==0.9.0
-pluggy==1.3.0
+pluggy==1.4.0
proto-plus==1.23.0
-protobuf==4.25.1
+protobuf==4.25.2
psycopg2-binary==2.9.9
pyarrow==14.0.2
pyarrow-hotfix==0.6
@@ -123,10 +124,10 @@ referencing==0.32.1
regex==2023.12.25
requests==2.31.0
requests-mock==1.11.0
-rpds-py==0.16.2
+rpds-py==0.17.1
rsa==4.9
-scikit-learn==1.3.2
-scipy==1.11.4
+scikit-learn==1.4.0
+scipy==1.12.0
shapely==2.0.2
six==1.16.0
sortedcontainers==2.4.0
diff --git a/sdks/python/container/py38/base_image_requirements.txt b/sdks/python/container/py38/base_image_requirements.txt
index 76c67798e27..eeb814f8a99 100644
--- a/sdks/python/container/py38/base_image_requirements.txt
+++ b/sdks/python/container/py38/base_image_requirements.txt
@@ -23,8 +23,8 @@
attrs==23.2.0
backports.zoneinfo==0.2.1
-beautifulsoup4==4.12.2
-bs4==0.0.1
+beautifulsoup4==4.12.3
+bs4==0.0.2
build==1.0.3
cachetools==5.3.2
certifi==2023.11.17
@@ -33,11 +33,12 @@ charset-normalizer==3.3.2
click==8.1.7
cloudpickle==2.2.1
crcmod==1.7
-cryptography==41.0.7
+cryptography==42.0.1
Cython==0.29.37
+Deprecated==1.2.14
deprecation==2.1.0
dill==0.3.1.1
-dnspython==2.4.2
+dnspython==2.5.0
docker==7.0.0
docopt==0.6.2
docstring-parser==0.15
@@ -48,12 +49,12 @@ fasteners==0.19
freezegun==1.4.0
future==0.18.3
google-api-core==2.15.0
-google-api-python-client==2.113.0
+google-api-python-client==2.115.0
google-apitools==0.5.31
-google-auth==2.26.1
+google-auth==2.27.0
google-auth-httplib2==0.1.1
-google-cloud-aiplatform==1.39.0
-google-cloud-bigquery==3.15.0
+google-cloud-aiplatform==1.40.0
+google-cloud-bigquery==3.17.1
google-cloud-bigquery-storage==2.24.0
google-cloud-bigtable==2.22.0
google-cloud-core==2.4.1
@@ -65,7 +66,7 @@ google-cloud-pubsub==2.19.0
google-cloud-pubsublite==1.9.0
google-cloud-recommendations-ai==0.10.6
google-cloud-resource-manager==1.11.0
-google-cloud-spanner==3.40.1
+google-cloud-spanner==3.41.0
google-cloud-storage==2.14.0
google-cloud-videointelligence==2.12.0
google-cloud-vision==3.5.0
@@ -79,7 +80,7 @@ grpcio-status==1.60.0
guppy3==3.1.4.post1
hdfs==2.7.3
httplib2==0.22.0
-hypothesis==6.92.7
+hypothesis==6.97.0
idna==3.6
importlib-metadata==7.0.1
importlib-resources==6.1.1
@@ -87,7 +88,7 @@ iniconfig==2.0.0
joblib==1.3.2
Js2Py==0.74
jsonpickle==3.0.2
-jsonschema==4.20.0
+jsonschema==4.21.1
jsonschema-specifications==2023.12.1
mmh3==4.1.0
mock==5.1.0
@@ -96,15 +97,15 @@ nose==1.3.7
numpy==1.24.4
oauth2client==4.1.3
objsize==0.7.0
-orjson==3.9.10
-overrides==7.4.0
+orjson==3.9.12
+overrides==7.6.0
packaging==23.2
pandas==2.0.3
parameterized==0.9.0
pkgutil_resolve_name==1.3.10
-pluggy==1.3.0
+pluggy==1.4.0
proto-plus==1.23.0
-protobuf==4.25.1
+protobuf==4.25.2
psycopg2-binary==2.9.9
pyarrow==14.0.2
pyarrow-hotfix==0.6
@@ -129,7 +130,7 @@ referencing==0.32.1
regex==2023.12.25
requests==2.31.0
requests-mock==1.11.0
-rpds-py==0.16.2
+rpds-py==0.17.1
rsa==4.9
scikit-learn==1.3.2
scipy==1.10.1
diff --git a/sdks/python/container/py39/base_image_requirements.txt b/sdks/python/container/py39/base_image_requirements.txt
index fd1feee62b6..acf6a106c0d 100644
--- a/sdks/python/container/py39/base_image_requirements.txt
+++ b/sdks/python/container/py39/base_image_requirements.txt
@@ -22,8 +22,8 @@
# Reach out to a committer if you need help.
attrs==23.2.0
-beautifulsoup4==4.12.2
-bs4==0.0.1
+beautifulsoup4==4.12.3
+bs4==0.0.2
build==1.0.3
cachetools==5.3.2
certifi==2023.11.17
@@ -32,11 +32,12 @@ charset-normalizer==3.3.2
click==8.1.7
cloudpickle==2.2.1
crcmod==1.7
-cryptography==41.0.7
+cryptography==42.0.1
Cython==0.29.37
+Deprecated==1.2.14
deprecation==2.1.0
dill==0.3.1.1
-dnspython==2.4.2
+dnspython==2.5.0
docker==7.0.0
docopt==0.6.2
docstring-parser==0.15
@@ -47,12 +48,12 @@ fasteners==0.19
freezegun==1.4.0
future==0.18.3
google-api-core==2.15.0
-google-api-python-client==2.113.0
+google-api-python-client==2.115.0
google-apitools==0.5.31
-google-auth==2.26.1
+google-auth==2.27.0
google-auth-httplib2==0.1.1
-google-cloud-aiplatform==1.39.0
-google-cloud-bigquery==3.15.0
+google-cloud-aiplatform==1.40.0
+google-cloud-bigquery==3.17.1
google-cloud-bigquery-storage==2.24.0
google-cloud-bigtable==2.22.0
google-cloud-core==2.4.1
@@ -64,7 +65,7 @@ google-cloud-pubsub==2.19.0
google-cloud-pubsublite==1.9.0
google-cloud-recommendations-ai==0.10.6
google-cloud-resource-manager==1.11.0
-google-cloud-spanner==3.40.1
+google-cloud-spanner==3.41.0
google-cloud-storage==2.14.0
google-cloud-videointelligence==2.12.0
google-cloud-vision==3.5.0
@@ -78,30 +79,30 @@ grpcio-status==1.60.0
guppy3==3.1.4.post1
hdfs==2.7.3
httplib2==0.22.0
-hypothesis==6.92.7
+hypothesis==6.97.0
idna==3.6
importlib-metadata==7.0.1
iniconfig==2.0.0
joblib==1.3.2
Js2Py==0.74
jsonpickle==3.0.2
-jsonschema==4.20.0
+jsonschema==4.21.1
jsonschema-specifications==2023.12.1
mmh3==4.1.0
mock==5.1.0
nltk==3.8.1
nose==1.3.7
-numpy==1.24.4
+numpy==1.26.3
oauth2client==4.1.3
objsize==0.7.0
-orjson==3.9.10
-overrides==7.4.0
+orjson==3.9.12
+overrides==7.6.0
packaging==23.2
pandas==2.0.3
parameterized==0.9.0
-pluggy==1.3.0
+pluggy==1.4.0
proto-plus==1.23.0
-protobuf==4.25.1
+protobuf==4.25.2
psycopg2-binary==2.9.9
pyarrow==14.0.2
pyarrow-hotfix==0.6
@@ -126,10 +127,10 @@ referencing==0.32.1
regex==2023.12.25
requests==2.31.0
requests-mock==1.11.0
-rpds-py==0.16.2
+rpds-py==0.17.1
rsa==4.9
-scikit-learn==1.3.2
-scipy==1.11.4
+scikit-learn==1.4.0
+scipy==1.12.0
shapely==2.0.2
six==1.16.0
sortedcontainers==2.4.0
diff --git a/sdks/python/pyproject.toml b/sdks/python/pyproject.toml
index d185c45f619..f1a65c842d5 100644
--- a/sdks/python/pyproject.toml
+++ b/sdks/python/pyproject.toml
@@ -26,11 +26,11 @@ requires = [
# Avoid https://github.com/pypa/virtualenv/issues/2006
"distlib==0.3.7",
# Numpy headers
- "numpy>=1.14.3,<1.25", # Update setup.py as well.
+ "numpy>=1.14.3,<1.27", # Update setup.py as well.
# having cython here will create wheels that are platform dependent.
"cython==0.29.36",
]
# legacy installation is needed to generate `apache_beam.portability.api` package.
-build-backend = "setuptools.build_meta"
\ No newline at end of file
+build-backend = "setuptools.build_meta"
diff --git a/sdks/python/setup.py b/sdks/python/setup.py
index bafebc97f05..5e78c491598 100644
--- a/sdks/python/setup.py
+++ b/sdks/python/setup.py
@@ -301,7 +301,7 @@ if __name__ == '__main__':
'jsonpickle>=3.0.0,<4.0.0',
# numpy can have breaking changes in minor versions.
# Use a strict upper bound.
- 'numpy>=1.14.3,<1.25.0', # Update pyproject.toml as well.
+ 'numpy>=1.14.3,<1.27.0', # Update pyproject.toml as well.
'objsize>=0.6.1,<0.8.0',
'packaging>=22.0',
'pymongo>=3.8.0,<5.0.0',