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

bump torch python #116

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all 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
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.10'
steps:
- uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: 3.7
python-version: 3.10
- name: Generate coverage report
run: |
pip install .
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/tests_bench.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,16 @@ jobs:
os: [ubuntu-latest, macos-latest, windows-latest]
env:
OS: ${{ matrix.os }}
PYTHON: '3.7'
PYTHON: '3.9'
steps:
- uses: actions/checkout@main
- name: Setup Python
uses: actions/setup-python@main
with:
python-version: 3.7
python-version: 3.9
- name: Run tests
run: |
pip install .
pip install pytest
pip install pytest-cov
pytest .
pytest .
2 changes: 1 addition & 1 deletion .readthedocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ version: 2
build:
os: ubuntu-22.04
tools:
python: "3.9"
python: "3.10"

# Build from the docs/ directory with Sphinx
sphinx:
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.*'
10 changes: 5 additions & 5 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setup(
name="pythae",
version="0.1.2",
version="0.1.3",
author="Clement Chadebec",
author_email="[email protected]",
description="Unifying Generative Autoencoders in Python",
Expand All @@ -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",
)
Loading