# HG changeset patch # User Mads Kiilerich # Date 2024-07-19 21:03:19 # Node ID edcd5eafc8906497641a31af3c84c695b522b4f2 # Parent 8d6d21384b9fec11c61b77455712c67641daf729 setup: bump max versions of pip package dependencies It is a bit risky to update versions on stable, but it is also risky to stay on old versions when there are better(?) options. There are various reasons these max versions have been chosen. I have not analyzed problems seen when using higher versions, but the versions specified here seems like a safe progression of the broad baseline. diff --git a/dev_requirements.txt b/dev_requirements.txt --- a/dev_requirements.txt +++ b/dev_requirements.txt @@ -1,9 +1,9 @@ -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 +pytest >= 4.6.6, < 8.3 +pytest-sugar >= 0.9.2, < 1.1 +pytest-benchmark >= 3.2.2, < 4.1 +pytest-localserver >= 0.5.0, < 0.9 +mock >= 3.0.0, < 5.2 Sphinx >= 1.8.0, < 5.2 -WebTest >= 2.0.6, < 2.1 -isort == 5.1.2 -pyflakes == 2.2.0 +WebTest >= 2.0.6, < 3.1 +isort == 5.13.2 +pyflakes == 3.2.0 diff --git a/setup.py b/setup.py --- a/setup.py +++ b/setup.py @@ -41,37 +41,37 @@ __platform__ = platform.system() is_windows = __platform__ in ['Windows'] requirements = [ - "alembic >= 1.0.10, < 1.5", + "alembic >= 1.0.10, < 1.14", "gearbox >= 0.1.0, < 1", - "waitress >= 0.8.8, < 1.5", + "waitress >= 0.8.8, < 3.1", "WebOb >= 1.8, < 1.9", "backlash >= 0.1.2, < 1", "TurboGears2 >= 2.4, < 2.5", "tgext.routes >= 0.2.0, < 1", "Beaker >= 1.10.1, < 2", - "WebHelpers2 >= 2.0, < 2.1", - "FormEncode >= 1.3.1, < 2.1", + "WebHelpers2 >= 2.0, < 2.2", + "FormEncode >= 1.3.1, < 2.2", "SQLAlchemy >= 1.2.9, < 1.4", - "Mako >= 0.9.1, < 1.2", - "Pygments >= 2.2.0, < 2.7", + "Mako >= 0.9.1, < 1.4", + "Pygments >= 2.2.0, < 2.8", "Whoosh >= 2.7.1, < 2.8", - "celery >= 5, < 5.1", - "Babel >= 1.3, < 2.9", - "python-dateutil >= 2.1.0, < 2.9", + "celery >= 5, < 5.5", + "Babel >= 1.3, < 2.16", + "python-dateutil >= 2.1.0, < 2.10", "Markdown >= 2.2.1, < 3.2", - "docutils >= 0.11, < 0.17", + "docutils >= 0.11, < 0.20", "URLObject >= 2.3.4, < 2.5", - "Routes >= 2.0, < 2.5", - "dulwich >= 0.19.0, < 0.20", - "mercurial >= 5.2, < 6.2", - "decorator >= 4.2.1, < 4.5", - "Paste >= 2.0.3, < 3.5", - "bleach >= 3.2, < 4.2", - "Click >= 7.0, < 8", + "Routes >= 2.0, < 2.6", + "dulwich >= 0.19.0, < 0.22", + "mercurial >= 5.2, < 6.9", + "decorator >= 4.2.1, < 5.2", + "Paste >= 2.0.3, < 3.11", + "bleach >= 3.2, < 5", + "Click >= 7.0, < 8.2", "ipaddr >= 2.2.0, < 2.3", "paginate >= 0.5, < 0.6", "paginate_sqlalchemy >= 0.3.0, < 0.4", - "bcrypt >= 3.1.0, < 3.2", + "bcrypt >= 3.1.0, < 4.2", "pip >= 20.0, < 24.1", "chardet >= 3", ]