Skip to content

Commit 7fe1cd5

Browse files
committed
fix: add django52 support
1 parent 2a4560c commit 7fe1cd5

File tree

15 files changed

+176
-164
lines changed

15 files changed

+176
-164
lines changed

.DS_Store

-6 KB
Binary file not shown.

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
python-version:
1717
- '3.11'
1818
- '3.12'
19-
toxenv: [quality, django42, django51]
19+
toxenv: [quality, django42, django52]
2020

2121
steps:
2222
- name: checkout repo

CHANGELOG.rst

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,11 @@ Change Log
1414
Unreleased
1515
**********
1616

17+
3.8.0
18+
*****
19+
20+
* feat: Added support for Django 5.2
21+
1722
3.7.0
1823
*****
1924

MANIFEST.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
include README.md
1+
include README.rst
22
include requirements/base.in
33
include requirements/test.in
44
recursive-include djpyfs *py

djpyfs/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# pylint: disable=django-not-configured
22
"""init file"""
3-
__version__ = '3.7.0'
3+
__version__ = '3.8.0'

djpyfs/models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FSExpirations(models.Model):
2222
expiration = models.DateTimeField(db_index=True) # If so, when?
2323

2424
@classmethod
25-
def create_expiration(cls, module, filename, seconds, days=0, expires=True):
25+
def create_expiration(cls, module, filename, seconds, days=0, expires=True): # pylint: disable=too-many-positional-arguments
2626
"""
2727
May be used instead of the constructor to create a new expiration.
2828

example/example/settings.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,6 @@
4646
# to load the internationalization machinery.
4747
USE_I18N = True
4848

49-
# If you set this to False, Django will not format dates, numbers and
50-
# calendars according to the current locale.
51-
USE_L10N = True
52-
5349
# If you set this to False, Django will not use timezone-aware datetimes.
5450
USE_TZ = True
5551

requirements/ci.txt

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements/ci.txt requirements/ci.in
66
#
7-
cachetools==5.5.0
7+
cachetools==5.5.2
88
# via tox
99
chardet==5.2.0
1010
# via tox
1111
colorama==0.4.6
1212
# via tox
13-
distlib==0.3.8
13+
distlib==0.3.9
1414
# via virtualenv
15-
filelock==3.15.4
15+
filelock==3.18.0
1616
# via
1717
# tox
1818
# virtualenv
19-
packaging==24.1
19+
packaging==24.2
2020
# via
2121
# pyproject-api
2222
# tox
23-
platformdirs==4.2.2
23+
platformdirs==4.3.7
2424
# via
2525
# tox
2626
# virtualenv
2727
pluggy==1.5.0
2828
# via tox
29-
pyproject-api==1.7.1
29+
pyproject-api==1.9.0
3030
# via tox
31-
tox==4.18.0
31+
tox==4.25.0
3232
# via -r requirements/ci.in
33-
virtualenv==20.26.3
33+
virtualenv==20.30.0
3434
# via tox

requirements/dev.txt

Lines changed: 21 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements/dev.txt requirements/base.in requirements/dev.in
@@ -8,29 +8,29 @@ appdirs==1.4.4
88
# via fs
99
asgiref==3.8.1
1010
# via django
11-
boto3==1.35.3
11+
boto3==1.37.36
1212
# via fs-s3fs
13-
botocore==1.35.3
13+
botocore==1.37.36
1414
# via
1515
# boto3
1616
# s3transfer
17-
build==1.2.1
17+
build==1.2.2.post1
1818
# via pip-tools
19-
cachetools==5.5.0
19+
cachetools==5.5.2
2020
# via tox
2121
chardet==5.2.0
2222
# via tox
23-
click==8.1.7
23+
click==8.1.8
2424
# via pip-tools
2525
colorama==0.4.6
2626
# via tox
27-
distlib==0.3.8
27+
distlib==0.3.9
2828
# via virtualenv
29-
django==4.2.15
29+
django==4.2.20
3030
# via
31-
# -c requirements/common_constraints.txt
31+
# -c /openedx/src/django-pyfs/requirements/common_constraints.txt
3232
# -r requirements/base.in
33-
filelock==3.15.4
33+
filelock==3.18.0
3434
# via
3535
# tox
3636
# virtualenv
@@ -44,43 +44,43 @@ jmespath==1.0.1
4444
# via
4545
# boto3
4646
# botocore
47-
packaging==24.1
47+
packaging==24.2
4848
# via
4949
# build
5050
# pyproject-api
5151
# tox
5252
pip-tools==7.4.1
5353
# via -r requirements/dev.in
54-
platformdirs==4.2.2
54+
platformdirs==4.3.7
5555
# via
5656
# tox
5757
# virtualenv
5858
pluggy==1.5.0
5959
# via tox
60-
pyproject-api==1.7.1
60+
pyproject-api==1.9.0
6161
# via tox
62-
pyproject-hooks==1.1.0
62+
pyproject-hooks==1.2.0
6363
# via
6464
# build
6565
# pip-tools
6666
python-dateutil==2.9.0.post0
6767
# via botocore
68-
s3transfer==0.10.2
68+
s3transfer==0.11.5
6969
# via boto3
70-
six==1.16.0
70+
six==1.17.0
7171
# via
7272
# fs
7373
# fs-s3fs
7474
# python-dateutil
75-
sqlparse==0.5.1
75+
sqlparse==0.5.3
7676
# via django
77-
tox==4.18.0
77+
tox==4.25.0
7878
# via -r requirements/dev.in
79-
urllib3==2.2.2
79+
urllib3==2.4.0
8080
# via botocore
81-
virtualenv==20.26.3
81+
virtualenv==20.30.0
8282
# via tox
83-
wheel==0.44.0
83+
wheel==0.45.1
8484
# via pip-tools
8585

8686
# The following packages are considered to be unsafe in a requirements file:

requirements/pip-tools.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,22 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile --output-file=requirements/pip-tools.txt requirements/pip-tools.in
66
#
7-
build==1.2.1
7+
build==1.2.2.post1
88
# via pip-tools
9-
click==8.1.7
9+
click==8.1.8
1010
# via pip-tools
11-
packaging==24.1
11+
packaging==24.2
1212
# via build
1313
pip-tools==7.4.1
1414
# via -r requirements/pip-tools.in
15-
pyproject-hooks==1.1.0
15+
pyproject-hooks==1.2.0
1616
# via
1717
# build
1818
# pip-tools
19-
wheel==0.44.0
19+
wheel==0.45.1
2020
# via pip-tools
2121

2222
# The following packages are considered to be unsafe in a requirements file:

requirements/pip.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.12
2+
# This file is autogenerated by pip-compile with Python 3.11
33
# by the following command:
44
#
55
# pip-compile --allow-unsafe --output-file=requirements/pip.txt requirements/pip.in
66
#
7-
wheel==0.44.0
7+
wheel==0.45.1
88
# via -r requirements/pip.in
99

1010
# The following packages are considered to be unsafe in a requirements file:
11-
pip==24.2
11+
pip==25.0.1
1212
# via -r requirements/pip.in
13-
setuptools==73.0.1
13+
setuptools==78.1.0
1414
# via -r requirements/pip.in

0 commit comments

Comments
 (0)