Skip to content

Commit

Permalink
Support running on Django 5.0
Browse files Browse the repository at this point in the history
- Upgrade dependencies
  • Loading branch information
hmpf committed Feb 12, 2024
1 parent aae5538 commit a8ac33a
Show file tree
Hide file tree
Showing 8 changed files with 257 additions and 23 deletions.
9 changes: 5 additions & 4 deletions constraints.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
urllib3>=2.0.6
cryptography>=41.0.6
PyYAML>=5.4
autobahn>=20.12.3
#cython<3 # sometimes needed by pyyaml
PyYAML>=5.4
attrs # needed by twisted
autobahn>=20.12.3
cryptography>=42
pyopenssl>=24
urllib3>=2.2
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@ classifiers = [
]
dependencies = [
'importlib-metadata; python_version<"3.8"',
"Django>=3.2.18,<5.0",
"Django>=3.2.24,<5.1",
"dj-database-url>=0.5.0",
"django-cors-headers>=3.2",
"django-filter",
"django-multiselectfield",
"django-phonenumber-field[phonenumberslite]",
"djangorestframework>=3.14",
"drf-rw-serializers",
"drf-rw-serializers>=1.1",
"drf-spectacular>=0.17",
"factory_boy",
"psycopg2",
Expand Down
12 changes: 7 additions & 5 deletions requirements-django32.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ charset-normalizer==3.2.0
# via requests
constantly==15.1.0
# via twisted
cryptography==41.0.7
cryptography==42.0.2
# via
# -r constraints.txt
# autobahn
Expand Down Expand Up @@ -87,7 +87,7 @@ djangorestframework==3.14.0
# via
# argus-server (pyproject.toml)
# drf-spectacular
drf-rw-serializers==1.0.5
drf-rw-serializers==1.1.1
# via argus-server (pyproject.toml)
drf-spectacular==0.26.4
# via argus-server (pyproject.toml)
Expand Down Expand Up @@ -142,8 +142,10 @@ pycparser==2.21
# via cffi
pyjwt==2.8.0
# via social-auth-core
pyopenssl==23.2.0
# via twisted
pyopenssl==24.0.0
# via
# -r constraints.txt
# twisted
python-dataporten-auth==2.0.0
# via argus-server (pyproject.toml)
python-dateutil==2.8.2
Expand Down Expand Up @@ -207,7 +209,7 @@ typing-extensions==4.7.1
# twisted
uritemplate==4.1.1
# via drf-spectacular
urllib3==2.0.6
urllib3==2.2.0
# via
# -r constraints.txt
# requests
Expand Down
12 changes: 7 additions & 5 deletions requirements-django42.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ charset-normalizer==3.2.0
# via requests
constantly==15.1.0
# via twisted
cryptography==41.0.7
cryptography==42.0.2
# via
# -r constraints.txt
# autobahn
Expand Down Expand Up @@ -87,7 +87,7 @@ djangorestframework==3.14.0
# via
# argus-server (pyproject.toml)
# drf-spectacular
drf-rw-serializers==1.0.5
drf-rw-serializers==1.1.1
# via argus-server (pyproject.toml)
drf-spectacular==0.26.4
# via argus-server (pyproject.toml)
Expand Down Expand Up @@ -142,8 +142,10 @@ pycparser==2.21
# via cffi
pyjwt==2.8.0
# via social-auth-core
pyopenssl==23.2.0
# via twisted
pyopenssl==24.0.0
# via
# -r constraints.txt
# twisted
python-dataporten-auth==2.0.0
# via argus-server (pyproject.toml)
python-dateutil==2.8.2
Expand Down Expand Up @@ -205,7 +207,7 @@ typing-extensions==4.7.1
# twisted
uritemplate==4.1.1
# via drf-spectacular
urllib3==2.0.6
urllib3==2.2.0
# via
# -r constraints.txt
# requests
Expand Down
223 changes: 223 additions & 0 deletions requirements-django50.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,223 @@
#
# This file is autogenerated by pip-compile with Python 3.10
# by the following command:
#
# pip-compile --output-file=requirements-django50.txt constraints.txt pyproject.toml requirements/django50.txt
#
anyio==4.2.0
# via httpx
asgiref==3.7.2
# via
# channels
# channels-redis
# daphne
# django
# django-cors-headers
async-timeout==4.0.3
# via redis
attrs==23.2.0
# via
# -r constraints.txt
# automat
# jsonschema
# referencing
# service-identity
# twisted
autobahn==23.6.2
# via
# -r constraints.txt
# daphne
automat==22.10.0
# via twisted
certifi==2024.2.2
# via
# httpcore
# httpx
# requests
cffi==1.16.0
# via cryptography
channels[daphne]==4.0.0
# via
# argus-server (pyproject.toml)
# channels
# channels-redis
channels-redis==4.2.0
# via argus-server (pyproject.toml)
charset-normalizer==3.3.2
# via requests
constantly==23.10.4
# via twisted
cryptography==42.0.2
# via
# -r constraints.txt
# autobahn
# pyopenssl
# service-identity
# social-auth-core
daphne==4.1.0
# via channels
defusedxml==0.8.0rc2
# via
# python3-openid
# social-auth-core
dj-database-url==2.1.0
# via argus-server (pyproject.toml)
django==5.0.2
# via
# -r requirements/django50.txt
# argus-server (pyproject.toml)
# channels
# dj-database-url
# django-cors-headers
# django-filter
# django-multiselectfield
# django-phonenumber-field
# djangorestframework
# drf-rw-serializers
# drf-spectacular
# social-auth-app-django
django-cors-headers==4.3.1
# via argus-server (pyproject.toml)
django-filter==23.5
# via argus-server (pyproject.toml)
django-multiselectfield==0.1.12
# via argus-server (pyproject.toml)
django-phonenumber-field[phonenumberslite]==7.3.0
# via argus-server (pyproject.toml)
djangorestframework==3.14.0
# via
# argus-server (pyproject.toml)
# drf-spectacular
drf-rw-serializers==1.1.1
# via argus-server (pyproject.toml)
drf-spectacular==0.27.1
# via argus-server (pyproject.toml)
exceptiongroup==1.2.0
# via anyio
factory-boy==3.3.0
# via argus-server (pyproject.toml)
faker==23.1.0
# via factory-boy
h11==0.14.0
# via httpcore
httpcore==1.0.2
# via httpx
httpx==0.26.0
# via argus-server (pyproject.toml)
hyperlink==21.0.0
# via
# autobahn
# twisted
idna==3.6
# via
# anyio
# httpx
# hyperlink
# requests
# twisted
incremental==22.10.0
# via twisted
inflection==0.5.1
# via drf-spectacular
jsonschema==4.21.1
# via drf-spectacular
jsonschema-specifications==2023.12.1
# via jsonschema
msgpack==1.0.7
# via channels-redis
oauthlib==3.2.2
# via
# requests-oauthlib
# social-auth-core
phonenumberslite==8.13.30
# via django-phonenumber-field
psycopg2==2.9.9
# via argus-server (pyproject.toml)
pyasn1==0.5.1
# via
# pyasn1-modules
# service-identity
pyasn1-modules==0.3.0
# via service-identity
pycparser==2.21
# via cffi
pyjwt==2.8.0
# via social-auth-core
pyopenssl==24.0.0
# via
# -r constraints.txt
# twisted
python-dataporten-auth==2.0.0
# via argus-server (pyproject.toml)
python-dateutil==2.8.2
# via faker
python3-openid==3.2.0
# via social-auth-core
pytz==2024.1
# via djangorestframework
pyyaml==6.0.1
# via
# -r constraints.txt
# drf-spectacular
redis==5.0.1
# via channels-redis
referencing==0.33.0
# via
# jsonschema
# jsonschema-specifications
requests==2.31.0
# via
# requests-oauthlib
# social-auth-core
requests-oauthlib==1.3.1
# via social-auth-core
rpds-py==0.17.1
# via
# jsonschema
# referencing
service-identity==24.1.0
# via twisted
six==1.16.0
# via
# automat
# python-dateutil
sniffio==1.3.0
# via
# anyio
# httpx
social-auth-app-django==5.4.0
# via argus-server (pyproject.toml)
social-auth-core==4.5.2
# via
# argus-server (pyproject.toml)
# python-dataporten-auth
# social-auth-app-django
sqlparse==0.4.4
# via django
twisted[tls]==23.10.0
# via
# daphne
# twisted
txaio==23.1.1
# via autobahn
typing-extensions==4.9.0
# via
# anyio
# asgiref
# dj-database-url
# twisted
uritemplate==4.1.1
# via drf-spectacular
urllib3==2.2.0
# via
# -r constraints.txt
# requests
wheel==0.42.0
# via argus-server (pyproject.toml)
whitenoise==6.6.0
# via argus-server (pyproject.toml)
zope-interface==6.1
# via twisted

# The following packages are considered to be unsafe in a requirements file:
# setuptools
12 changes: 7 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ charset-normalizer==3.2.0
# via requests
constantly==15.1.0
# via twisted
cryptography==41.0.7
cryptography==42.0.2
# via
# -r constraints.txt
# autobahn
Expand Down Expand Up @@ -87,7 +87,7 @@ djangorestframework==3.14.0
# via
# argus-server (pyproject.toml)
# drf-spectacular
drf-rw-serializers==1.0.5
drf-rw-serializers==1.1.1
# via argus-server (pyproject.toml)
drf-spectacular==0.26.4
# via argus-server (pyproject.toml)
Expand Down Expand Up @@ -142,8 +142,10 @@ pycparser==2.21
# via cffi
pyjwt==2.8.0
# via social-auth-core
pyopenssl==23.2.0
# via twisted
pyopenssl==24.0.0
# via
# -r constraints.txt
# twisted
python-dataporten-auth==2.0.0
# via argus-server (pyproject.toml)
python-dateutil==2.8.2
Expand Down Expand Up @@ -207,7 +209,7 @@ typing-extensions==4.7.1
# twisted
uritemplate==4.1.1
# via drf-spectacular
urllib3==2.0.6
urllib3==2.2.0
# via
# -r constraints.txt
# requests
Expand Down
1 change: 1 addition & 0 deletions requirements/django50.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
django>=5.0,<5.1
Loading

0 comments on commit a8ac33a

Please sign in to comment.