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

Update test.pip compatible with Python 3.12 #2161

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Changes from 5 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
54 changes: 26 additions & 28 deletions reqs/test.pip
Original file line number Diff line number Diff line change
@@ -1,54 +1,52 @@
boto3==1.14.8
boto3==1.34.56
configparser
h5py==2.10.0; platform_machine != "arm64" and python_version < "3.8"
h5py==3.8.0; platform_machine != "arm64" and python_version >= "3.8"
h5py==3.10.0; platform_machine != "arm64" and python_version >= "3.8"
future
numpy>1.18.4; platform_machine != "arm64"
numpy==1.24.2; platform_machine == "arm64"
numpy==1.26.4; platform_machine == "arm64"
libsvm; python_version < '3.11'
olefile==0.44
olefile==0.47
pandas
parameterized==0.8.1
parameterized==0.9.0
pillow
pytest==7.1.2
pytest==8.0.2
pytest-cov
pytest-sugar

scikit-learn==0.19.2; python_version < '3.8'
scikit-learn==1.1.2; python_version >= '3.8'
scikit-learn==1.4.0; python_version >= '3.8'

scipy>1.4 ; python_version < '3.8'
scipy==1.8.1; python_version >= '3.8' and python_version < '3.11'
scipy==1.9.2; python_version == '3.11'
scipy==1.8.1; python_version >= '3.8' and python_version < '3.12'
scipy==1.12.0; python_version >= '3.11'

six
sympy > 1.6
gast==0.4.0
torch==2.1.0
torchaudio==2.1.0
torchvision==0.16.0
xgboost==1.4.2; platform_machine != "arm64"
gast==0.5.4
torch==2.2.1
torchaudio==2.2.1
torchvision==0.17.1
xgboost==2.0.3; platform_machine != "arm64"
mock
wrapt
tqdm
pytest-timeout

# TensorFlow (x86) related package
tensorflow==2.12.0; platform_machine != "arm64"
tensorflow-estimator==2.12.0; platform_machine != "arm64"
keras==2.12.0; platform_machine != "arm64"
tensorflow==2.16.1; platform_machine != "arm64"
keras==3.1.0; platform_machine != "arm64"

# TensorFlow (arm64) related package. Currently no Python 3.11 support.
tensorflow-macos==2.11.0; platform_machine == "arm64" and python_version < "3.11"
tensorflow-estimator==2.11.0; platform_machine == "arm64" and python_version < "3.11"
keras==2.11.0; platform_machine == "arm64" and python_version < "3.11"
# TensorFlow (arm64) related package. Currently no Python 3.13 support.
tensorflow==2.16.1; platform_machine == "arm64" and python_version < "3.13"
Copy link
Collaborator

Choose a reason for hiding this comment

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

I don't think this makes sense. You probably want to remove this line and edit line 37 to covert both cases.

keras==3.1.0; platform_machine == "arm64" and python_version < "3.13"

tensorflow-addons==0.19.0; python_version < "3.11"
tensorflow-hub==0.12.0
transformers==4.26.0
tensorflow-addons==0.23.0; python_version < "3.13"
tensorflow-hub==0.16.1
transformers==4.38.2

# coremltools.optimize.torch
filelock==3.6.0
pytest-flake8==1.0.7
pytest-xdist==2.5.0
pytest-mock==3.8.2
filelock==3.13.1
pytest-flake8==1.4
pytest-xdist==3.5.0
pytest-mock==3.12.0