forked from bookwyrm-social/bookwyrm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update to current versions of dependencies (#43)
* fix multiple issues from user exports config changes - improve nginx config - fix DATA_UPLOAD_MAX_MEMORY_SIZE default not being an int - translate fallback value in id_to_username template tag - make location of setting to turn on user exports easier to locate for admins fixes bookwyrm-social#3227 fixes bookwyrm-social#3231 fixes bookwyrm-social#3232 fixes bookwyrm-social#3236 * fix comment in env example * Fixes translation tags * Add search for author * Support DATA_UPLOAD_MAX_MEMORY_MiB, only, in .env Since arithmetic is not allowed in .env files, a change in unit for the variable seems most usable. * Adds production.conf security configuration missing in version 0.7.2 * Add timeout to isbn.py An instance of requests.get in isbn.py lacks a timeout, and this commit adds one with a default of 15 as used other places in the code, where requests.get does already have a timeout. * Add timeout to base_activity.py An instance of requests.get was missing a timeout; this commit adds a timeout of 15 as used in other places in this codebase which already have timeouts. * Typo fix Add a comma * Remove duplicate types-requests==2.31.0.2 The types-requests==2.31.0.2 dependency was double-listed right next to each other; this commit removes one. * Alphabetize requirements.txt Alphabetize requirements.txt for developer convenience; this helps to find duplicates and unnecessarily-pinned subdependencies, as well as making the file easier to read and use. * Upgrade Python Version from 3.9 to 3.11 * Disable Pylint Failure for imghdr deprecation for now * Upgrade Celery to 5.3.1 * Upgrade django-celery-beat to 2.5.0 * Upgrade django-compressor to 4.4 * Upgrade flower to 2.0.0 * Add grpcio pin @ 1.57.0 * Pin Tornado at 6.3.3 * Upgrade Pylint to 2.15.0 * Upgrade pytest to 6.2.5 * Pin setuptools at 65.5.1 * Fix typo in operator * Add extra space required by linter * Fix spacing for linter * Add linter exclusion for TBookWyrmModel --------- Co-authored-by: Hugh Rundle <[email protected]> Co-authored-by: Mouse Reeve <[email protected]> Co-authored-by: Bart Schuurmans <[email protected]> Co-authored-by: Adeodato Simó <[email protected]> Co-authored-by: Hugh Rundle <[email protected]> Co-authored-by: FoW <[email protected]>
- Loading branch information
1 parent
f0e4b6f
commit c9f81c9
Showing
17 changed files
with
135 additions
and
59 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{% extends 'search/layout.html' %} | ||
|
||
{% block panel %} | ||
|
||
{% if results %} | ||
<ul class="block"> | ||
{% for author in results %} | ||
<li class=""> | ||
<a href="{{ author.local_path }}" class="author" itemprop="author" itemscope itemtype="https://schema.org/Thing"> | ||
<span itemprop="name">{{ author.name }}</span> | ||
</a> | ||
</li> | ||
{% endfor %} | ||
</ul> | ||
{% endif %} | ||
|
||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,59 +1,60 @@ | ||
aiohttp==3.9.2 | ||
bleach==5.0.1 | ||
boto3==1.26.57 | ||
bw-file-resubmit==0.6.0rc2 | ||
celery==5.3.1 | ||
colorthief==0.2.1 | ||
Django==3.2.24 | ||
django-celery-beat==2.5.0 | ||
django-compressor==4.4 | ||
django-csp==3.7 | ||
django-imagekit==4.1.0 | ||
django-model-utils==4.3.1 | ||
django-redis==5.2.0 | ||
django-sass-processor==1.2.2 | ||
django-csp==3.7 | ||
django-storages==1.13.2 | ||
django-storages[azure] | ||
environs==9.5.0 | ||
flower==2.0.0 | ||
grpcio==1.57.0 | ||
grpcio==1.57.0 # Not a direct dependency, pinned to get a security fix | ||
libsass==0.22.0 | ||
Markdown==3.4.1 | ||
Pillow==10.2.0 | ||
psycopg2==2.9.7 | ||
pycryptodome==3.19.1 | ||
python-dateutil==2.8.2 | ||
redis==4.5.4 | ||
requests==2.31.0 | ||
responses==0.22.0 | ||
pytz>=2022.7 | ||
boto3==1.26.57 | ||
django-storages==1.13.2 | ||
django-storages[azure] | ||
django-redis==5.2.0 | ||
opentelemetry-api==1.16.0 | ||
opentelemetry-exporter-otlp-proto-grpc==1.16.0 | ||
opentelemetry-instrumentation-celery==0.37b0 | ||
opentelemetry-instrumentation-django==0.37b0 | ||
opentelemetry-instrumentation-psycopg2==0.37b0 | ||
opentelemetry-sdk==1.16.0 | ||
Pillow==10.2.0 | ||
protobuf==3.20.* | ||
psycopg2==2.9.7 | ||
pycryptodome==3.19.1 | ||
pyotp==2.8.0 | ||
python-dateutil==2.8.2 | ||
pytz>=2022.7 | ||
qrcode==7.3.1 | ||
setuptools>=65.5.1 | ||
tornado==6.3.3 | ||
redis==4.5.4 | ||
requests==2.31.0 | ||
responses==0.22.0 | ||
|
||
# Dev | ||
celery-types==0.18.0 | ||
django-stubs[compatible-mypy]==4.2.4 | ||
mypy==1.5.1 | ||
pylint==2.15.0 | ||
pytest-django==4.1.0 | ||
pytest==6.2.5 | ||
pytest-cov==2.10.1 | ||
pytest-django==4.1.0 | ||
pytest-env==0.6.2 | ||
pytest-xdist==2.3.0 | ||
pytidylib==0.3.2 | ||
pylint==2.14.0 | ||
mypy==1.5.1 | ||
celery-types==0.18.0 | ||
django-stubs[compatible-mypy]==4.2.4 | ||
setuptools>=65.5.1 | ||
tornado==6.3.3 | ||
types-bleach==6.0.0.4 | ||
types-dataclasses==0.6.6 | ||
types-Markdown==3.4.2.10 | ||
types-Pillow==10.2.0.20240213 | ||
types-psycopg2==2.9.21.11 | ||
types-python-dateutil==2.8.19.14 | ||
types-requests==2.31.0.2 | ||
types-requests==2.31.0.2 |