Skip to content

Commit

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

* fixing tox
  • Loading branch information
amontanez24 authored Jul 6, 2023
1 parent cea4a9d commit a639f76
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 10 deletions.
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
4 changes: 2 additions & 2 deletions .github/workflows/performance.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
2 changes: 1 addition & 1 deletion INSTALL.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## Requirements

**RDT** has been developed and tested on
[Python 3.7, 3.8, 3.9, 3.10 and 3.11](https://www.python.org/downloads/)
[Python 3.8, 3.9, 3.10 and 3.11](https://www.python.org/downloads/)

Also, although it is not strictly required, the usage of a [virtualenv](
https://virtualenv.pypa.io/en/latest/) is highly recommended in order to avoid
Expand Down
3 changes: 1 addition & 2 deletions rdt/transformers/addons/addons_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ def _build_setup(addon_json):
'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 @@ -59,7 +58,7 @@ def _build_setup(addon_json):
long_description_content_type='text/markdown',
name=addon_name,
packages=find_namespace_packages(include=[addon_module]),
python_requires='>=3.7,<3.12',
python_requires='>=3.8,<3.12',
url='https://github.com/sdv-dev/RDT',
version=RDT_VERSION,
zip_safe=False,
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 @@ -135,7 +134,7 @@
include=['rdt', 'rdt.*'],
exclude=['rdt.transformers.addons.*']
),
python_requires='>=3.7,<3.12',
python_requires='>=3.8,<3.12',
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, py38-performance, py3{7,8,9,10,11}-{readme,unit,integration,minimum}
envlist = py39-lint, py39-performance, py3{8,9,10,11}-{readme,unit,integration,minimum}

[testenv]
skipsdist = false
Expand Down

0 comments on commit a639f76

Please sign in to comment.