Drop support for Python 3.8

Note that recent commits introduced syntax unsupported by Python 3.8
already.
This commit is contained in:
Hugo Osvaldo Barrera 2025-09-20 13:01:55 +02:00
parent 4669bede07
commit 2e619806a0
4 changed files with 5 additions and 5 deletions

View file

@ -14,6 +14,7 @@ Version 0.21.0
- Implement retrying for ``google`` storage type when a rate limit is reached. - Implement retrying for ``google`` storage type when a rate limit is reached.
- ``tenacity`` is now a required dependency. - ``tenacity`` is now a required dependency.
- Drop support for Python 3.8.
Version 0.20.0 Version 0.20.0
============== ==============

View file

@ -42,7 +42,7 @@ If your distribution doesn't provide a package for vdirsyncer, you still can
use Python's package manager "pip". First, you'll have to check that the use Python's package manager "pip". First, you'll have to check that the
following things are installed: following things are installed:
- Python 3.8 to 3.13 and pip. - Python 3.9 to 3.13 and pip.
- ``libxml`` and ``libxslt`` - ``libxml`` and ``libxslt``
- ``zlib`` - ``zlib``
- Linux or macOS. **Windows is not supported**, see :gh:`535`. - Linux or macOS. **Windows is not supported**, see :gh:`535`.

View file

@ -14,7 +14,7 @@ authors = [
] ]
description = "Synchronize calendars and contacts" description = "Synchronize calendars and contacts"
readme = "README.rst" readme = "README.rst"
requires-python = ">=3.8" requires-python = ">=3.9"
keywords = ["todo", "task", "icalendar", "cli"] keywords = ["todo", "task", "icalendar", "cli"]
license = "BSD-3-Clause" license = "BSD-3-Clause"
license-files = ["LICENSE"] license-files = ["LICENSE"]
@ -27,7 +27,6 @@ classifiers = [
"Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12", "Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13", "Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9", "Programming Language :: Python :: 3.9",
"Topic :: Internet", "Topic :: Internet",
"Topic :: Office/Business :: Scheduling", "Topic :: Office/Business :: Scheduling",

View file

@ -23,8 +23,8 @@ __all__ = ["__version__"]
def _check_python_version(): def _check_python_version():
import sys import sys
if sys.version_info < (3, 8, 0): # noqa: UP036 if sys.version_info < (3, 9, 0): # noqa: UP036
print("vdirsyncer requires at least Python 3.8.") print("vdirsyncer requires at least Python 3.9.")
sys.exit(1) sys.exit(1)