Skip to content

Commit

Permalink
deps: increase minimal Celery version
Browse files Browse the repository at this point in the history
This is needed for Python 3.12 support.

Fixes #10361
  • Loading branch information
nijel committed Nov 16, 2023
1 parent 5be2ae3 commit 1dc7f34
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions docs/admin/install.rst
Original file line number Diff line number Diff line change
Expand Up @@ -161,9 +161,7 @@ distribution packages, full list is available in :file:`requirements.txt`.

While there is nothing in Weblate itself blocking usage of Python 3.12, there are few outstanding issues:

* Celery, a dependency of Weblate, is not currently compatible with Python 3.12, see https://github.com/celery/kombu/issues/1804.
* Python 3.12 performs slower than previous versions in some situations, see https://github.com/python/cpython/issues/109049.
* :ref:`winrc` might not work properly in Python 3.12, see https://github.com/translate/translate/issues/5071.

Most notable dependencies:

Expand Down
1 change: 1 addition & 0 deletions docs/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ Released on November 16th 2023.
**Compatibility**

* :doc:`/formats/apple` exporter now produces UTF-8 encoded files.
* Python 3.12 is now supported, though not recommended, see :ref:`python-deps`.

**Upgrading**

Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
aeidon>=1.10,<1.14
ahocorasick-rs>=0.16.0,<0.21.0
borgbackup>=1.2.5,<1.3
celery[redis]>=5.2.3,<5.4
celery[redis]>=5.3.5,<5.4
certifi>=2023.7.22
charset-normalizer>=2.0.12,<4.0
crispy-bootstrap3==2022.1
Expand Down Expand Up @@ -37,7 +37,7 @@ Pygments>=2.15.0,<3.0
PyGObject>=3.34.0
pyicumessageformat>=1.0.0,<1.1
pyparsing>=3.1.1,<3.2
python-dateutil>=2.8.1
python-dateutil>=2.8.2
python-redis-lock[django]>=4,<4.1
rapidfuzz>=2.6.0,<3.6
requests>=2.31.0,<2.32
Expand Down

0 comments on commit 1dc7f34

Please sign in to comment.