From 4bafbe0f43424114441f42c2d815a398bd233740 Mon Sep 17 00:00:00 2001 From: haavard Date: Mon, 2 Sep 2024 13:34:08 +0200 Subject: [PATCH] Update python version --- .github/workflows/publish_pypi.yml | 2 +- .github/workflows/pythonpackage.yml | 6 +++--- setup.py | 5 +---- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/publish_pypi.yml b/.github/workflows/publish_pypi.yml index e073abe..e6bea8c 100644 --- a/.github/workflows/publish_pypi.yml +++ b/.github/workflows/publish_pypi.yml @@ -12,7 +12,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v1 with: - python-version: 3.7 + python-version: 3.9 - name: Install dependencies run: | python -m pip install --upgrade pip diff --git a/.github/workflows/pythonpackage.yml b/.github/workflows/pythonpackage.yml index 4009f1b..7f85bbd 100644 --- a/.github/workflows/pythonpackage.yml +++ b/.github/workflows/pythonpackage.yml @@ -14,15 +14,15 @@ jobs: max-parallel: 4 fail-fast: false matrix: - python-version: [3.6, 3.7, 3.8] + python-version: [3.8, 3.9, 3.10] config: - { os: ubuntu-latest, torch-version: "torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html"} - { os: windows-latest, torch-version: "torch==1.5.0+cpu -f https://download.pytorch.org/whl/torch_stable.html"} - { os: macOS-latest, torch-version: "torch"} steps: - - uses: actions/checkout@v1 + - uses: actions/checkout@v4 - name: Set up Python ${{ matrix.python-version }} - uses: actions/setup-python@v1 + uses: actions/setup-python@v5 with: python-version: ${{ matrix.python-version }} - name: Install dependencies diff --git a/setup.py b/setup.py index a9baaa9..28b6040 100644 --- a/setup.py +++ b/setup.py @@ -51,9 +51,6 @@ 'Intended Audience :: Developers', 'License :: OSI Approved :: BSD License', 'Natural Language :: English', - 'Programming Language :: Python :: 3.8', - 'Programming Language :: Python :: 3.7', - 'Programming Language :: Python :: 3.6', ], - python_requires='>=3.6' + python_requires='>=3.8' )