From c13e0e60fd5c3ff0fb5c4a2e264b76ee51cdec77 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 21 Nov 2024 07:51:20 +0100 Subject: [PATCH 1/3] remove unused dateutil references https://github.com/Kozea/Radicale/issues/1626 --- pyproject.toml | 1 - radicale/storage/__init__.py | 2 +- setup.py.legacy | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ff95d0a0..0310fbfd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,6 @@ dependencies = [ "defusedxml", "passlib", "vobject>=0.9.6", - "python-dateutil>=2.7.3", "pika>=1.1.0", ] diff --git a/radicale/storage/__init__.py b/radicale/storage/__init__.py index 73cf77b9..3a5ef586 100644 --- a/radicale/storage/__init__.py +++ b/radicale/storage/__init__.py @@ -38,7 +38,7 @@ from radicale.item import filter as radicale_filter INTERNAL_TYPES: Sequence[str] = ("multifilesystem", "multifilesystem_nolock",) -CACHE_DEPS: Sequence[str] = ("radicale", "vobject", "python-dateutil",) +CACHE_DEPS: Sequence[str] = ("radicale", "vobject") CACHE_VERSION: bytes = "".join( "%s=%s;" % (pkg, utils.package_version(pkg)) for pkg in CACHE_DEPS).encode() diff --git a/setup.py.legacy b/setup.py.legacy index d82d289e..63ae2a46 100644 --- a/setup.py.legacy +++ b/setup.py.legacy @@ -36,7 +36,6 @@ web_files = ["web/internal_data/css/icon.png", "web/internal_data/index.html"] install_requires = ["defusedxml", "passlib", "vobject>=0.9.6", - "python-dateutil>=2.7.3", "pika>=1.1.0", ] bcrypt_requires = ["bcrypt"] From 1ea782e3b2eaae2f1dc17d3403051edc86f00823 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 21 Nov 2024 08:02:18 +0100 Subject: [PATCH 2/3] drop test on pytest-3.8, anyhow EOL since 2024-10 --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 32961e86..09a65258 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12.3', '3.13.0-beta.4', pypy-3.8, pypy-3.9] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12.3', '3.13.0-beta.4', pypy-3.9] exclude: - os: windows-latest python-version: pypy-3.8 From f7e46ebf39e297eefc2cc86888edb9e3fff2b243 Mon Sep 17 00:00:00 2001 From: Peter Bieringer Date: Thu, 21 Nov 2024 08:05:35 +0100 Subject: [PATCH 3/3] change from 3.13.0.beta to final --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 09a65258..8339a975 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -6,7 +6,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, macos-latest, windows-latest] - python-version: ['3.8', '3.9', '3.10', '3.11', '3.12.3', '3.13.0-beta.4', pypy-3.9] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12.3', '3.13.0', pypy-3.9] exclude: - os: windows-latest python-version: pypy-3.8