Skip to content
This repository was archived by the owner on Aug 12, 2025. It is now read-only.

Commit 6e853af

Browse files
authored
drop support for python 3.7 (#22)
* drop support for python 3.7 * revert version change * add more classifiers * remove `pip-tools` dev dependency
1 parent 0afd26e commit 6e853af

File tree

4 files changed

+12
-144
lines changed

4 files changed

+12
-144
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
strategy:
1414
fail-fast: false
1515
matrix:
16-
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
16+
python-version: ["3.8", "3.9", "3.10", "3.11"]
1717
steps:
1818
- name: Checkout
1919
uses: actions/checkout@v4
@@ -27,9 +27,9 @@ jobs:
2727
- name: Upgrade pip
2828
run: pip install --upgrade pip
2929

30-
- name: Install requirements (3.7+)
30+
- name: Install requirements (3.8+)
3131
run: |
32-
pip install -r requirements.txt
32+
pip install -r requirements.in
3333
3434

3535
- name: Black

requirements.in

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
-e .
22

3-
black
4-
flake8
5-
isort
6-
pytest-mypy-plugins
7-
pip-tools
3+
black==24.8.0
4+
flake8==7.1.1
5+
isort==5.13.2
6+
pytest-mypy-plugins==3.1.2

requirements.txt

Lines changed: 0 additions & 135 deletions
This file was deleted.

setup.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ def find_stub_files(name):
3333
author_email="[email protected]",
3434
packages=["django_filters-stubs"],
3535
package_data={"django_filters-stubs": find_stub_files("django_filters-stubs")},
36+
python_requires=">=3.8",
3637
install_requires=[
3738
"mypy>=0.750",
3839
"django-stubs>=1.3.0",
@@ -42,6 +43,9 @@ def find_stub_files(name):
4243
classifiers=[
4344
"Development Status :: 1 - Planning",
4445
"License :: OSI Approved :: MIT License",
45-
"Programming Language :: Python :: 3.7",
46+
"Programming Language :: Python :: 3.8",
47+
"Programming Language :: Python :: 3.9",
48+
"Programming Language :: Python :: 3.10",
49+
"Programming Language :: Python :: 3.11",
4650
],
4751
)

0 commit comments

Comments
 (0)