Skip to content

Commit bdb771a

Browse files
authored
Update Python and Django version support (#287)
* Add Django 5.0 * Add Django 4.2 LTS * Add Python 3.12 * Drop Django 4.0 (EOL) * Drop Django 4.1 (EOL) * Drop Python 3.9
1 parent 843b227 commit bdb771a

File tree

2 files changed

+29
-29
lines changed

2 files changed

+29
-29
lines changed

.github/workflows/ci.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -66,13 +66,13 @@ jobs:
6666
strategy:
6767
matrix:
6868
python-version:
69-
- "3.9"
7069
- "3.10"
7170
- "3.11"
71+
- "3.12"
7272
django-version:
7373
- "3.2"
74-
- "4.0"
75-
- "4.1"
74+
- "4.2"
75+
- "5.0"
7676
steps:
7777
- uses: actions/checkout@v4
7878
- name: Set up Python ${{ matrix.python-version }}

pyproject.toml

+26-26
Original file line numberDiff line numberDiff line change
@@ -5,43 +5,43 @@ build-backend = "flit_scm:buildapi"
55
[project]
66
name = "django-s3file"
77
authors = [
8-
{ name = "Johannes Maron", email = "[email protected]" }
8+
{ name = "Johannes Maron", email = "[email protected]" }
99
]
1010
readme = "README.md"
1111
license = { file = "LICENSE" }
1212
dynamic = ["version", "description"]
1313
classifiers = [
14-
"Development Status :: 6 - Mature",
15-
"Environment :: Web Environment",
16-
"Intended Audience :: Developers",
17-
"License :: OSI Approved :: MIT License",
18-
"Operating System :: OS Independent",
19-
"Programming Language :: Python",
20-
"Programming Language :: JavaScript",
21-
"Topic :: Software Development",
22-
"Programming Language :: Python :: 3",
23-
"Programming Language :: Python :: 3 :: Only",
24-
"Programming Language :: Python :: 3.9",
25-
"Programming Language :: Python :: 3.10",
26-
"Programming Language :: Python :: 3.11",
27-
"Framework :: Django",
28-
"Framework :: Django :: 3.2",
29-
"Framework :: Django :: 4.0",
30-
"Framework :: Django :: 4.1",
14+
"Development Status :: 6 - Mature",
15+
"Environment :: Web Environment",
16+
"Intended Audience :: Developers",
17+
"License :: OSI Approved :: MIT License",
18+
"Operating System :: OS Independent",
19+
"Programming Language :: Python",
20+
"Programming Language :: JavaScript",
21+
"Topic :: Software Development",
22+
"Programming Language :: Python :: 3",
23+
"Programming Language :: Python :: 3 :: Only",
24+
"Programming Language :: Python :: 3.10",
25+
"Programming Language :: Python :: 3.11",
26+
"Programming Language :: Python :: 3.12",
27+
"Framework :: Django",
28+
"Framework :: Django :: 3.2",
29+
"Framework :: Django :: 4.2",
30+
"Framework :: Django :: 4.5",
3131
]
3232
requires-python = ">=3.9"
3333
dependencies = [
34-
"django>=2.0",
35-
"django-storages>=1.6",
36-
"boto3",
34+
"django>=2.0",
35+
"django-storages>=1.6",
36+
"boto3",
3737
]
3838

3939
[project.optional-dependencies]
4040
test = [
41-
"pytest >=2.7.3",
42-
"pytest-cov",
43-
"pytest-django",
44-
"selenium",
41+
"pytest >=2.7.3",
42+
"pytest-cov",
43+
"pytest-django",
44+
"selenium",
4545
]
4646

4747
[project.urls]
@@ -57,7 +57,7 @@ write_to = "s3file/_version.py"
5757
minversion = "6.0"
5858
addopts = "--cov=s3file --tb=short -rxs"
5959
testpaths = [
60-
"tests",
60+
"tests",
6161
]
6262
DJANGO_SETTINGS_MODULE = "tests.testapp.settings"
6363

0 commit comments

Comments
 (0)