From d7d7897de2df0216111d9d3f2e29329f4dd2be04 Mon Sep 17 00:00:00 2001 From: Alex Date: Sat, 27 Apr 2024 15:01:06 +0800 Subject: [PATCH] Update dependencies in pyproject.toml and setup.cfg --- pyproject.toml | 2 +- setup.cfg | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 297286e..34f50aa 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -20,7 +20,7 @@ dependencies = [ # 20210314 - py2.7 - workaround for: ERROR: Could not find a version that satisfies the requirement django-timezone-field<5.0,>=4.1.0 (from django-celery-beat->-r requirements.txt (line 10)) (from versions: 0.3.1, 0.3.2, 0.4, 1.0, 1.1, 1.2, 1.3, 2.0rc1, 2.0, 2.1, 3.0rc1, 3.0, 3.1) "django-celery-beat==1.6.0; python_version <= '2.7'", # 20240319 - py3.8 - workaround for: Exception: django-celery-beat 2.6.0 requires CPython 3.8 or later! - "django-celery-beat<2.6.0; python_version < '3.8'", + "django-celery-beat<2.6.0; python_version > '2.7' and python_version < '3.8'", "django-celery-beat; python_version >= '3.8'", # 20210917 - py2.7 - workaround for: ERROR: django-celery-results 2.2.0 requires celery<6.0,>=5.0, but you'll have celery 4.4.7 which is incompatible. diff --git a/setup.cfg b/setup.cfg index 1c6423f..d68be2c 100644 --- a/setup.cfg +++ b/setup.cfg @@ -60,7 +60,7 @@ install_requires = # 20210314 - py2.7 - workaround for: ERROR: Could not find a version that satisfies the requirement django-timezone-field<5.0,>=4.1.0 (from django-celery-beat->-r requirements.txt (line 10)) (from versions: 0.3.1, 0.3.2, 0.4, 1.0, 1.1, 1.2, 1.3, 2.0rc1, 2.0, 2.1, 3.0rc1, 3.0, 3.1) django-celery-beat==1.6.0; python_version <= '2.7' # 20240319 - py3.8 - workaround for: Exception: django-celery-beat 2.6.0 requires CPython 3.8 or later! - django-celery-beat<2.6.0; python_version < '3.8' + django-celery-beat<2.6.0; python_version > '2.7' and python_version < '3.8' django-celery-beat; python_version >= '3.8' # 20210917 - py2.7 - workaround for: ERROR: django-celery-results 2.2.0 requires celery<6.0,>=5.0, but you'll have celery 4.4.7 which is incompatible.