Mercurial > kallithea
view dev_requirements.txt @ 8986:0a9ddb8cd8c1 stable
setup: avoid setuptools 67 - it can't handle celery's broken pytz dependency
With setuptools 67 or later, launching Kallithea fails as:
$ gearbox serve -c my.ini --reload
15:56:54,111 ERROR [gearbox] Expected closing RIGHT_PARENTHESIS
pytz (>dev)
~^
The `packaging` vendored in setuptools cannot handle the broken syntax
`Requires-Dist: pytz (>dev)` in
venv/lib/python3.11/site-packages/celery-5.0.5.dist-info/METADATA .
The old celery version currently used by Kallithea is wrong, and setuptools has
moved on after a reasonable grace period. We thus have to work around and avoid
latest setuptools.
See https://github.com/pypa/setuptools/issues/3889 .
author | Mads Kiilerich <mads@kiilerich.com> |
---|---|
date | Thu, 13 Apr 2023 13:54:24 +0200 |
parents | 33f1faa7fe04 |
children | edcd5eafc890 |
line wrap: on
line source
pytest >= 4.6.6, < 6.3 pytest-sugar >= 0.9.2, < 0.10 pytest-benchmark >= 3.2.2, < 3.3 pytest-localserver >= 0.5.0, < 0.6 mock >= 3.0.0, < 4.1 Sphinx >= 1.8.0, < 5.2 WebTest >= 2.0.6, < 2.1 isort == 5.1.2 pyflakes == 2.2.0