build(deps): bump pillow from 9.3.0 to 10.0.1
PATCH 1/3 build(deps): bump pillow from 9.3.0 to 10.0.1
From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com>
Bumps [pillow](https://github.com/python-pillow/Pillow) from 9.3.0 to 10.0.1.
- [Release notes](https://github.com/python-pillow/Pillow/releases)
- [Changelog](https://github.com/python-pillow/Pillow/blob/main/CHANGES.rst)
- [Commits](https://github.com/python-pillow/Pillow/compare/9.3.0...10.0.1)
---
updated-dependencies:
- dependency-name: pillow
dependency-type: direct:production
...
--- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
requirements.txt +1 -1
@@ -19,7 +19,7 @@ gitdb==4.0.9 GitPython==3.1.37 kombu==5.2.3 mysqlclient==2.1.0 -Pillow==9.3.0 +Pillow==10.0.1 pytz==2021.3 six==1.16.0 smmap==5.0.0
Signature · 1 line
2.34.1
PATCH 2/3 dockersetup.py: databasefile zstd compression
zstd compression and decompression are significantly faster than gzip. zstd is also "splittable" and is streaming/real-time friendly.
--- dockersetup.py | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-)
dockersetup.py +12 -4
@@ -4,6 +4,8 @@ # # Copyright (C) 2018 Intel Corporation # Author: Amber Elliot <[email protected]> +# Copyright (C) 2023 Konsulko Group +# Author: Tim Orling <[email protected]> # # Licensed under the MIT license, see COPYING.MIT for details #
@@ -52,7 +54,7 @@ def get_args(): parser.add_argument('-s', '--https-proxy', type=str, help='https proxy in the format http://<myproxy:port>', default=default_https_proxy, required=False) parser.add_argument('-S', '--socks-proxy', type=str, help='socks proxy in the format socks://myproxy:port>', default=default_socks_proxy, required=False) parser.add_argument('-N', '--no-proxy', type=str, help='Comma-separated list of hosts that should not be connected to via the proxy', default=default_no_proxy, required=False) - parser.add_argument('-d', '--databasefile', type=str, help='Location of your database file to import. Must be a .sql or .sql.gz file.', required=False) + parser.add_argument('-d', '--databasefile', type=str, help='Location of your database file to import. Must be a .sql, .sql.gz or .sql.zstd file.', required=False) parser.add_argument('-e', '--email-host', type=str, help='Email host for sending messages (optionally with :port if not 25)', required=False) parser.add_argument('--email-user', type=str, help='User name to use when connecting to email host', required=False) parser.add_argument('--email-password', type=str, help='Password to use when connecting to email host', required=False)
@@ -804,9 +806,15 @@ while True: if not args.update: # Import the user's supplied data if args.databasefile: - return_code = subprocess.call("gunzip -t %s > /dev/null 2>&1" % quote(args.databasefile), shell=True) - if return_code == 0: - catcmd = 'zcat' + filename, file_extension = os.path.splitext(args.databasefile) + if file_extension == ".zstd": + return_code = subprocess.call("zstd -t %s > /dev/null 2>&1" % quote(args.databasefile), shell=True) + if return_code == 0: + catcmd = 'zstdcat' + elif file_extension == ".gz": + return_code = subprocess.call("gunzip -t %s > /dev/null 2>&1" % quote(args.databasefile), shell=True) + if return_code == 0: + catcmd = 'zcat' else: catcmd = 'cat' env = os.environ.copy()
Signature · 1 line
2.34.1
PATCH 3/3 requirements: bump django-simple-captcha to 0.5.20
In reply to Tim Orlinghttps://raw.githubusercontent.com/mbi/django-simple-captcha/master/CHANGES
Version 0.5.20
--------------
* Still support Django 3.2 (#222, thanks @petrklus)
Version 0.5.19
--------------
* SECURITY ISSUE: reset the random seed after an image was generated (#221, thanks @ibuler)
Version 0.5.18
--------------
* Fix some typos in documentation (#210, thanks @stweil)
* Test against Django 4.2
* Stopped testing Django < 3.2
* BaseCaptchaTextInput should set autocomplete=off on the hashkey HiddenInput (#201, thanks @eerotal)
* Test against Django 4.2a
* Fix some deprecation warnings in Pillow 9.2+
* Removed old unused conditional imports
* Format code with pre-commit and black
Version 0.5.17
--------------
* English translation created from Spanish ones (#209, thanks @tpazderka)
Version 0.5.16
--------------
* Adds a migration missing from 0.5.15 (#208, thanks @atodorov)
Version 0.5.15
--------------
* Updated test matrix, drop tests against Python3.6, test against Python3.9
* Remove dependency on six
* Test against Django 4.0a1
* Test with Python 3.10 (Django 3.2 and Django 4.0)
* Remove warning for django 3.2 (#206, thanks @MiStErLu)
--- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
requirements.txt +1 -1
@@ -13,7 +13,7 @@ django-ranged-response==0.2.0 django-registration==3.2 django-reversion==4.0.1 django-reversion-compare==0.14.1 -django-simple-captcha==0.5.14 +django-simple-captcha==0.5.20 djangorestframework==3.13.1 gitdb==4.0.9 GitPython==3.1.37
Signature · 1 line
2.34.1