Skip to content

Commit

Permalink
bump torch python
Browse files Browse the repository at this point in the history
  • Loading branch information
Clément Chadebec committed Oct 22, 2023
1 parent 5e19262 commit 6be08a2
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 10 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ jobs:
os: [ubuntu-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.7'
PYTHON: '3.11'
steps:
- uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: 3.7
python-version: 3.11
- name: Generate coverage report
run: |
pip install .
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/tests_bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,13 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.7'
PYTHON: '3.11'
steps:
- uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: 3.7
python-version: 3.11
- name: Run tests
run: |
pip install .
Expand Down
3 changes: 1 addition & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ numpy>=1.19
pydantic>=2.0
scikit-learn
scipy>=1.7.1
torch>=1.10.1
torch>=2.0.1
tqdm
typing_extensions
dataclasses>=0.6
pickle5; python_version == '3.7.*'
8 changes: 4 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
},
classifiers=[
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"License :: OSI Approved :: Apache Software License",
"Operating System :: OS Independent",
],
Expand All @@ -32,11 +32,11 @@
"pydantic>=2.0",
"scikit-learn",
"scipy>=1.7.1",
"torch>=1.10.1",
"torch>=2.0.1",
"tqdm",
"typing_extensions",
"dataclasses>=0.6",
],
extras_require={':python_version == "3.7.*"': ["pickle5"]},
python_requires=">=3.7",
python_requires=">=3.9",
)

0 comments on commit 6be08a2

Please sign in to comment.