mirror of
https://github.com/lemeow125/DRF_Template.git
synced 2024-11-16 19:59:24 +08:00
Bump dependencies to Python 3.13
This commit is contained in:
parent
aa52da056c
commit
1c1a5ae1c4
4 changed files with 68 additions and 1525 deletions
12
Dockerfile
12
Dockerfile
|
@ -1,4 +1,4 @@
|
|||
FROM python:3.11.9-bookworm
|
||||
FROM python:3.13.0-bullseye
|
||||
|
||||
ENV PYTHONBUFFERED=1
|
||||
ENV DEBIAN_FRONTEND=noninteractive
|
||||
|
@ -6,12 +6,8 @@ ENV DEBIAN_FRONTEND=noninteractive
|
|||
WORKDIR /code
|
||||
COPY . /code/
|
||||
ADD . /code/
|
||||
COPY start.sh /code/
|
||||
RUN chmod +x /code/start.sh
|
||||
|
||||
# Fix permissions with /tmp
|
||||
RUN chown root:root /tmp
|
||||
RUN chmod 1777 /tmp
|
||||
COPY scripts/ /code/scripts/
|
||||
RUN chmod +x /code/scripts/start.sh
|
||||
|
||||
# Install packages
|
||||
RUN apt update && apt install -y graphviz libgraphviz-dev graphviz-dev wget zip chromium chromium-driver firefox-esr
|
||||
|
@ -26,4 +22,4 @@ RUN chmod +x /usr/bin/geckodriver
|
|||
# Expose port 8000 for the web server
|
||||
EXPOSE 8000
|
||||
|
||||
ENTRYPOINT [ "/code/start.sh" ]
|
||||
ENTRYPOINT [ "/code/scripts/start.sh" ]
|
43
Pipfile
43
Pipfile
|
@ -1,43 +0,0 @@
|
|||
[[source]]
|
||||
url = "https://pypi.org/simple"
|
||||
verify_ssl = true
|
||||
name = "pypi"
|
||||
|
||||
[packages]
|
||||
django = "*"
|
||||
djangorestframework = "*"
|
||||
python-dotenv = "*"
|
||||
whitenoise = "*"
|
||||
djoser = "*"
|
||||
django-cors-headers = "*"
|
||||
drf-spectacular = {version = "*", extras = ["sidecar"]}
|
||||
django-extra-fields = "*"
|
||||
pillow = "*"
|
||||
psycopg2 = "*"
|
||||
django-simple-history = "*"
|
||||
django-unfold = "*"
|
||||
django-resized = "*"
|
||||
stripe = "*"
|
||||
celery = "*"
|
||||
selenium = "*"
|
||||
undetected-chromedriver = "*"
|
||||
2captcha-python = "*"
|
||||
python-whois = "*"
|
||||
django-celery-beat = "*"
|
||||
flower = "*"
|
||||
kombu = "*"
|
||||
redis = "*"
|
||||
django-storages = "*"
|
||||
django-extensions = "*"
|
||||
django-celery-results = "*"
|
||||
pygraphviz = "*"
|
||||
gunicorn = "*"
|
||||
django-silk = "*"
|
||||
django-redis = "*"
|
||||
granian = "*"
|
||||
black = "*"
|
||||
|
||||
[dev-packages]
|
||||
|
||||
[requires]
|
||||
python_version = "3.11"
|
1407
Pipfile.lock
generated
1407
Pipfile.lock
generated
File diff suppressed because it is too large
Load diff
131
requirements.txt
131
requirements.txt
|
@ -1,110 +1,107 @@
|
|||
-i https://pypi.org/simple
|
||||
2captcha-python==1.2.5
|
||||
2captcha-python==1.5.0
|
||||
amqp==5.2.0; python_version >= '3.6'
|
||||
asgiref==3.8.1; python_version >= '3.8'
|
||||
async-timeout==4.0.3; python_full_version < '3.11.3'
|
||||
attrs==23.2.0; python_version >= '3.7'
|
||||
autobahn==23.6.2; python_version >= '3.9'
|
||||
automat==22.10.0
|
||||
autopep8==2.1.0; python_version >= '3.8'
|
||||
billiard==4.2.0; python_version >= '3.7'
|
||||
attrs==24.2.0; python_version >= '3.7'
|
||||
autobahn==24.4.2; python_version >= '3.9'
|
||||
automat==24.8.1
|
||||
autopep8==2.3.1; python_version >= '3.8'
|
||||
billiard==4.2.1; python_version >= '3.7'
|
||||
celery==5.4.0
|
||||
certifi==2024.2.2; python_version >= '3.6'
|
||||
cffi==1.16.0;
|
||||
charset-normalizer==3.3.2; python_full_version >= '3.7.0'
|
||||
certifi==2024.8.30; python_version >= '3.6'
|
||||
cffi==1.17.1;
|
||||
charset-normalizer==3.4.0; python_full_version >= '3.7.0'
|
||||
click==8.1.7; python_version >= '3.7'
|
||||
click-didyoumean==0.3.1; python_full_version >= '3.6.2'
|
||||
click-plugins==1.1.1
|
||||
click-repl==0.3.0; python_version >= '3.6'
|
||||
colorama==0.4.6;
|
||||
constantly==23.10.4; python_version >= '3.8'
|
||||
cron-descriptor==1.4.3
|
||||
cryptography==42.0.7; python_version >= '3.7'
|
||||
cron-descriptor==1.4.5
|
||||
cryptography==43.0.3; python_version >= '3.7'
|
||||
defusedxml==0.8.0rc2; python_version >= '3.6'
|
||||
django==5.0.6
|
||||
django-celery-beat==2.6.0
|
||||
django==5.1.2
|
||||
django-celery-beat==2.7.0
|
||||
django-celery-results==2.5.1
|
||||
django-cors-headers==4.3.1
|
||||
django-cors-headers==4.6.0
|
||||
django-extensions==3.2.3
|
||||
django-extra-fields==3.0.2
|
||||
django-redis==5.4.0
|
||||
django-resized==1.0.2
|
||||
django-silk==5.1.0
|
||||
django-simple-history==3.5.0
|
||||
django-storages==1.14.3
|
||||
django-resized==1.0.3
|
||||
django-silk==5.2.0
|
||||
django-simple-history==3.7.0
|
||||
django-storages==1.14.4
|
||||
django-templated-mail==1.1.1
|
||||
django-timezone-field==6.1.0; python_version >= '3.8' and python_version < '4.0'
|
||||
django-unfold==0.22.0
|
||||
djangorestframework==3.15.1
|
||||
django-timezone-field==7.0; python_version >= '3.8' and python_version < '4.0'
|
||||
django-unfold==0.40.0
|
||||
djangorestframework==3.15.2
|
||||
djangorestframework-simplejwt==5.3.1; python_version >= '3.8'
|
||||
djoser==2.2.2
|
||||
djoser==2.2.3
|
||||
drf-spectacular[sidecar]==0.27.2
|
||||
drf-spectacular-sidecar==2024.5.1
|
||||
drf-spectacular-sidecar==2024.7.1
|
||||
flower==2.0.1
|
||||
gprof2dot==2022.7.29; python_version >= '2.7'
|
||||
granian==1.4.1
|
||||
gprof2dot==2024.6.6; python_version >= '2.7'
|
||||
h11==0.14.0; python_version >= '3.7'
|
||||
humanize==4.9.0; python_version >= '3.8'
|
||||
humanize==4.11.0; python_version >= '3.8'
|
||||
hyperlink==21.0.0
|
||||
idna==3.7; python_version >= '3.5'
|
||||
incremental==22.10.0
|
||||
idna==3.10; python_version >= '3.5'
|
||||
incremental==24.7.2
|
||||
inflection==0.5.1; python_version >= '3.5'
|
||||
jsonschema==4.22.0; python_version >= '3.8'
|
||||
jsonschema-specifications==2023.12.1; python_version >= '3.8'
|
||||
kombu==5.3.7
|
||||
msgpack==1.0.8; python_version >= '3.8'
|
||||
jsonschema==4.23.0; python_version >= '3.8'
|
||||
jsonschema-specifications==2024.10.1; python_version >= '3.8'
|
||||
kombu==5.4.2
|
||||
msgpack==1.1.0; python_version >= '3.8'
|
||||
oauthlib==3.2.2; python_version >= '3.6'
|
||||
outcome==1.3.0.post0; python_version >= '3.7'
|
||||
packaging==24.0; python_version >= '3.7'
|
||||
pillow==10.3.0
|
||||
prometheus-client==0.20.0; python_version >= '3.8'
|
||||
prompt-toolkit==3.0.43; python_full_version >= '3.7.0'
|
||||
psycopg2==2.9.9
|
||||
pyasn1==0.6.0; python_version >= '3.8'
|
||||
pyasn1-modules==0.4.0; python_version >= '3.8'
|
||||
pycodestyle==2.11.1; python_version >= '3.8'
|
||||
packaging==24.1; python_version >= '3.7'
|
||||
pillow==11.0.0
|
||||
prometheus-client==0.21.0; python_version >= '3.8'
|
||||
prompt-toolkit==3.0.48; python_full_version >= '3.7.0'
|
||||
psycopg2-binary==2.9.10; platform_system == 'Linux'
|
||||
pyasn1==0.6.1; python_version >= '3.8'
|
||||
pyasn1-modules==0.4.1; python_version >= '3.8'
|
||||
pycodestyle==2.12.1; python_version >= '3.8'
|
||||
pycparser==2.22; python_version >= '3.8'
|
||||
pygraphviz==1.13
|
||||
pyjwt==2.8.0; python_version >= '3.7'
|
||||
pyopenssl==24.1.0
|
||||
pygraphviz==1.14; platform_system == 'Linux'
|
||||
pyjwt==2.9.0; python_version >= '3.7'
|
||||
pyopenssl==24.2.1
|
||||
pysocks==1.7.1
|
||||
python-crontab==3.0.0
|
||||
python-crontab==3.2.0
|
||||
python-dateutil==2.9.0.post0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
|
||||
python-dotenv==1.0.1
|
||||
python-whois==0.9.4
|
||||
python3-openid==3.2.0
|
||||
pytz==2024.1
|
||||
pyyaml==6.0.1; python_version >= '3.6'
|
||||
redis==5.0.4
|
||||
pytz==2024.2
|
||||
pyyaml==6.0.2; python_version >= '3.6'
|
||||
redis==5.2.0 #
|
||||
referencing==0.35.1; python_version >= '3.8'
|
||||
requests==2.31.0; python_version >= '3.7'
|
||||
requests==2.32.3; python_version >= '3.7'
|
||||
requests-oauthlib==2.0.0; python_version >= '3.4'
|
||||
rpds-py==0.18.1; python_version >= '3.8'
|
||||
selenium==4.20.0
|
||||
service-identity==24.1.0
|
||||
setuptools==69.5.1; python_version >= '3.8'
|
||||
rpds-py==0.20.0; python_version >= '3.8'
|
||||
selenium==4.26.0
|
||||
service-identity==24.2.0
|
||||
setuptools==75.3.0; python_version >= '3.8'
|
||||
six==1.16.0; python_version >= '2.7' and python_version not in '3.0, 3.1, 3.2, 3.3'
|
||||
sniffio==1.3.1; python_version >= '3.7'
|
||||
social-auth-app-django==5.4.1; python_version >= '3.8'
|
||||
social-auth-app-django==5.4.2; python_version >= '3.8'
|
||||
social-auth-core==4.5.4; python_version >= '3.8'
|
||||
sortedcontainers==2.4.0
|
||||
sqlparse==0.5.0; python_version >= '3.8'
|
||||
stripe==9.6.0
|
||||
tornado==6.4; python_version >= '3.8'
|
||||
trio==0.25.0; python_version >= '3.8'
|
||||
sqlparse==0.5.1; python_version >= '3.8'
|
||||
stripe==11.2.0
|
||||
tornado==6.4.1; python_version >= '3.8'
|
||||
trio==0.27.0; python_version >= '3.8'
|
||||
trio-websocket==0.11.1; python_version >= '3.7'
|
||||
twisted[tls]==24.3.0; python_full_version >= '3.8.0'
|
||||
twisted-iocpsupport==1.0.4; platform_system == 'Windows'
|
||||
twisted[tls]==24.10.0; python_full_version >= '3.8.0'
|
||||
txaio==23.1.1; python_version >= '3.7'
|
||||
typing-extensions==4.11.0; python_version >= '3.8'
|
||||
tzdata==2024.1; python_version >= '2'
|
||||
typing-extensions==4.12.2; python_version >= '3.8'
|
||||
tzdata==2024.2; python_version >= '2'
|
||||
undetected-chromedriver==3.5.5
|
||||
uritemplate==4.1.1; python_version >= '3.6'
|
||||
urllib3[socks]==2.2.1; python_version >= '3.8'
|
||||
urllib3[socks]==2.2.3; python_version >= '3.8'
|
||||
vine==5.1.0; python_version >= '3.6'
|
||||
wcwidth==0.2.13
|
||||
websockets==12.0; python_version >= '3.8'
|
||||
whitenoise==6.6.0
|
||||
websockets==13.1; python_version >= '3.8'
|
||||
whitenoise==6.8.2
|
||||
wsproto==1.2.0; python_full_version >= '3.7.0'
|
||||
zope-interface==6.3; python_version >= '3.7'
|
||||
gunicorn==22.0.0
|
||||
zope-interface==7.1.1; python_version >= '3.7'
|
||||
gunicorn==23.0.0
|
||||
|
|
Loading…
Reference in a new issue