Skip to content

Commit

Permalink
Release 5.8.3
Browse files Browse the repository at this point in the history
#### Changelog:
* Fix(backend): Missed ``FILE_UPLOAD_TEMP_DIR`` in settings.
* Chore(deps): Upgrade backend dependencies.
  • Loading branch information
onegreyonewhite committed Oct 19, 2023
1 parent faf0e85 commit 91beb3c
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 7 deletions.
2 changes: 1 addition & 1 deletion requirements-rtd.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
-rrequirements.txt
-rrequirements-doc.txt
-rrequirements-rpc.txt
django~=4.2.5
django~=4.2.6
httpx
typing-extensions
sphinx-intl~=2.1.0
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ pyyaml~=6.0.1
# web server
uvicorn~=0.23.2
pyuwsgi==2.0.22
fastapi~=0.103.2
fastapi~=0.104.0
aiofiles==23.2.1

# Notifications
Expand All @@ -29,4 +29,4 @@ django-htmlmin~=0.11.0
pyotp~=2.9.0

# Storage
django-storages[libcloud]==1.14.1
django-storages[libcloud]==1.14.2
6 changes: 3 additions & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
'vstutils/static/bundle/.*\.js$'
],
install_requires=[
"django~=" + (os.environ.get('DJANGO_DEP', "") or "4.2.5"),
"django~=" + (os.environ.get('DJANGO_DEP', "") or "4.2.6"),
]
+ requirements
+ load_requirements('requirements-doc.txt'),
Expand All @@ -53,9 +53,9 @@
'doc': load_requirements('requirements-doc.txt'),
'prod': load_requirements('requirements-prod.txt'),
'stubs': load_requirements('requirements-stubs.txt'),
'pil': ['Pillow~=10.0.0'],
'pil': ['Pillow~=10.1.0'],
'boto3': [
i.replace('libcloud', 'libcloud,boto3')
i.replace('libcloud', 'libcloud,s3')
for i in requirements
if isinstance(i, str) and 'django-storages' in i
],
Expand Down
2 changes: 1 addition & 1 deletion vstutils/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# pylint: disable=django-not-available
__version__: str = '5.8.2'
__version__: str = '5.8.3'
1 change: 1 addition & 0 deletions vstutils/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -835,6 +835,7 @@ def get_plugins():
WEB_ADDRPORT: _t.Text = uwsgi_settings.get('addrport', fallback=':8080')

DATA_UPLOAD_MAX_MEMORY_SIZE = web['request_max_size']
FILE_UPLOAD_TEMP_DIR = TMP_DIR
X_FRAME_OPTIONS = web['x_frame_options']
USE_X_FORWARDED_HOST = web['use_x_forwarded_host']
USE_X_FORWARDED_PORT = web['use_x_forwarded_port']
Expand Down

0 comments on commit 91beb3c

Please sign in to comment.