Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

drop support for python 3.7 #22

Merged
merged 4 commits into from
Dec 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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="davisraymondmuro@outlook.com",
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",
],
)