From 7d219f5feb312fed03c1d743cce89495c7af93c7 Mon Sep 17 00:00:00 2001 From: Francis Charette Migneault Date: Tue, 21 Nov 2023 10:55:20 -0500 Subject: [PATCH] support Python 3.12 (https://github.com/crim-ca/weaver/issues/587) with PasteDeploy==3.1.0 (https://github.com/Pylons/pastedeploy/pull/43) and pyramid_celery==5.0.0a (https://github.com/sontek/pyramid_celery/pull/102) --- requirements.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index eb8d97150..335520899 100644 --- a/requirements.txt +++ b/requirements.txt @@ -61,6 +61,7 @@ numpy>=1.22.2 # esgf-compute-api (cwt) needs oauthlib but doesn't add it in their requirements oauthlib owslib==0.28.1 +PasteDeploy>=3.1.0; python_version >= "3.12" psutil # FIXME: pymongo>=4 breaks with kombu corresponding to pinned Celery # - https://github.com/crim-ca/weaver/issues/386 @@ -69,7 +70,9 @@ psutil pymongo>=4 # either (pymongo>=4, kombu>=5.3.0b2) or (pymongo<4, celery<5.2) pyramid>=1.7.3 pyramid_beaker>=0.8 -pyramid_celery>=4.0.0 # required for celery>=5 +# see https://github.com/sontek/pyramid_celery/pull/102 to fix Python 3.12 support and other improvements +#pyramid_celery>=4.0.0 # required for celery>=5 +pyramid_celery @ git+https://github.com/crim-ca/pyramid_celery.git@5.0.0a pyramid_mako python-dateutil pyramid_rewrite