Skip to content

Commit

Permalink
drop support for python 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
deronnax committed Oct 9, 2023
1 parent 18b02ce commit 875048f
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 15 deletions.
10 changes: 0 additions & 10 deletions .github/workflows/main.yml
Expand Up @@ -14,7 +14,6 @@ jobs:
strategy:
matrix:
python-version:
- '3.6'
- '3.7'
- '3.8'
- '3.9'
Expand All @@ -36,18 +35,9 @@ jobs:
- name: Install dependencies
run: python -m pip install --upgrade codecov tox

- name: Install tox-py
if: ${{ matrix.python-version == '3.6' }}
run: python -m pip install --upgrade tox-py

- name: Run tox targets for ${{ matrix.python-version }}
if: ${{ matrix.python-version != '3.6' }}
run: tox run -f py$(echo ${{ matrix.python-version }} | tr -d .)

- name: Run tox targets for ${{ matrix.python-version }}
if: ${{ matrix.python-version == '3.6' }}
run: tox --py current

- name: Run extra tox targets
if: ${{ matrix.python-version == '3.9' }}
run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -54,7 +54,7 @@ There is a live example API for testing purposes, [available here][sandbox].

# Requirements

* Python 3.6+
* Python 3.7+
* Django 4.2, 4.1, 4.0, 3.2, 3.1, 3.0

We **highly recommend** and only officially support the latest patch release of
Expand Down
2 changes: 1 addition & 1 deletion docs/index.md
Expand Up @@ -85,7 +85,7 @@ continued development by **[signing up for a paid plan][funding]**.

REST framework requires the following:

* Python (3.6, 3.7, 3.8, 3.9, 3.10, 3.11)
* Python (3.7, 3.8, 3.9, 3.10, 3.11)
* Django (3.0, 3.1, 3.2, 4.0, 4.1, 4.2)

We **highly recommend** and only officially support the latest patch release of
Expand Down
5 changes: 2 additions & 3 deletions setup.py
Expand Up @@ -8,7 +8,7 @@
from setuptools import find_packages, setup

CURRENT_PYTHON = sys.version_info[:2]
REQUIRED_PYTHON = (3, 6)
REQUIRED_PYTHON = (3, 7)

# This check and everything above must remain compatible with Python 2.7.
if CURRENT_PYTHON < REQUIRED_PYTHON:
Expand Down Expand Up @@ -84,7 +84,7 @@ def get_version(package):
packages=find_packages(exclude=['tests*']),
include_package_data=True,
install_requires=["django>=3.0", 'backports.zoneinfo;python_version<"3.9"'],
python_requires=">=3.6",
python_requires=">=3.7",
zip_safe=False,
classifiers=[
'Development Status :: 5 - Production/Stable',
Expand All @@ -101,7 +101,6 @@ def get_version(package):
'Operating System :: OS Independent',
'Programming Language :: Python',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
Expand Down

0 comments on commit 875048f

Please sign in to comment.