Skip to content

Commit

Permalink
Drop support for python 3.7 (#1488)
Browse files Browse the repository at this point in the history
* Drop support for python 3.7

* Change name of workflow
  • Loading branch information
pvk-developer committed Jun 30, 2023
1 parent 50392fa commit 9d5e86c
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 30 deletions.
13 changes: 2 additions & 11 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,27 +6,18 @@ on:
types: [opened, reopened]

jobs:
unit:
integration:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: [ '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: macos-latest
python-version: '3.7'
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- if: matrix.os == 'windows-latest' && matrix.python-version == 3.7
name: Install dependencies - Windows
run: |
python -m pip install --upgrade pip
python -m pip install 'torch==1.8.0' -f https://download.pytorch.org/whl/cpu/torch/
python -m pip install 'torchvision==0.9.0' -f https://download.pytorch.org/whl/cpu/torchvision/
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.8
- name: Set up Python 3.9
uses: actions/setup-python@v2
with:
python-version: 3.8
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/minimum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,8 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: [ '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: macos-latest
python-version: '3.7'
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
Expand Down
11 changes: 1 addition & 10 deletions .github/workflows/unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,23 +10,14 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
matrix:
python-version: ['3.7', '3.8', '3.9', '3.10']
python-version: [ '3.8', '3.9', '3.10']
os: [ubuntu-latest, macos-latest, windows-latest]
exclude:
- os: macos-latest
python-version: '3.7'
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- if: matrix.os == 'windows-latest' && matrix.python-version == 3.7
name: Install dependencies - Windows
run: |
python -m pip install --upgrade pip
python -m pip install 'torch==1.8.0' -f https://download.pytorch.org/whl/cpu/torch/
python -m pip install 'torchvision==0.9.0' -f https://download.pytorch.org/whl/cpu/torchvision/
- name: Install dependencies
run: |
python -m pip install --upgrade pip
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,6 @@
'License :: Free for non-commercial use',
'Natural Language :: English',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
Expand All @@ -131,7 +130,7 @@
long_description_content_type='text/markdown',
name='sdv',
packages=find_packages(include=['sdv', 'sdv.*']),
python_requires='>=3.7,<3.11',
python_requires='>=3.8,<3.11',
setup_requires=setup_requires,
test_suite='tests',
tests_require=tests_require,
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py38-lint, py3{7,8,9,10}-{readme,pytest,minimum}
envlist = py38-lint, py3{8,9,10}-{readme,pytest,minimum}

[testenv]
skipsdist = false
Expand Down

0 comments on commit 9d5e86c

Please sign in to comment.