diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index d4107052..21b54b55 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -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 . diff --git a/.github/workflows/tests_bench.yml b/.github/workflows/tests_bench.yml index 58c8f426..52355d8d 100644 --- a/.github/workflows/tests_bench.yml +++ b/.github/workflows/tests_bench.yml @@ -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 . \ No newline at end of file + pytest . diff --git a/.readthedocs.yml b/.readthedocs.yml index 5277d6c6..aa732ef3 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -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: diff --git a/requirements.txt b/requirements.txt index 1119db57..bffc6409 100644 --- a/requirements.txt +++ b/requirements.txt @@ -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.*' \ No newline at end of file diff --git a/setup.py b/setup.py index 267081a3..dd3fd8f3 100644 --- a/setup.py +++ b/setup.py @@ -5,7 +5,7 @@ setup( name="pythae", - version="0.1.2", + version="0.1.3", author="Clement Chadebec", author_email="clement.chadebec@gmail.com", description="Unifying Generative Autoencoders in Python", @@ -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", ], @@ -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", )