Skip to content

Commit

Permalink
drop support for python 3.7 (#22)
Browse files Browse the repository at this point in the history
* drop support for python 3.7
* revert version change
* add more classifiers
* remove `pip-tools` dev dependency
  • Loading branch information
DavisRayM authored Dec 16, 2024
1 parent 0afd26e commit 6e853af
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 144 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["3.8", "3.9", "3.10", "3.11"]
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -27,9 +27,9 @@ jobs:
- name: Upgrade pip
run: pip install --upgrade pip

- name: Install requirements (3.7+)
- name: Install requirements (3.8+)
run: |
pip install -r requirements.txt
pip install -r requirements.in

- name: Black
Expand Down
9 changes: 4 additions & 5 deletions requirements.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
-e .

black
flake8
isort
pytest-mypy-plugins
pip-tools
black==24.8.0
flake8==7.1.1
isort==5.13.2
pytest-mypy-plugins==3.1.2
135 changes: 0 additions & 135 deletions requirements.txt

This file was deleted.

6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def find_stub_files(name):
author_email="[email protected]",
packages=["django_filters-stubs"],
package_data={"django_filters-stubs": find_stub_files("django_filters-stubs")},
python_requires=">=3.8",
install_requires=[
"mypy>=0.750",
"django-stubs>=1.3.0",
Expand All @@ -42,6 +43,9 @@ def find_stub_files(name):
classifiers=[
"Development Status :: 1 - Planning",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
],
)

0 comments on commit 6e853af

Please sign in to comment.