diff --git a/CHANGELOG.rst b/CHANGELOG.rst index a77ae24..a98c182 100644 --- a/CHANGELOG.rst +++ b/CHANGELOG.rst @@ -9,11 +9,12 @@ Package maintainers and users who have to manually update their installation may want to subscribe to `GitHub's tag feed `_. -Version 0.19.4 +Version 0.20.0 ============== - Remove dependency on abandoned ``atomicwrites`` library. - Implement ``filter_hook`` for the HTTP storage. +- Drop support for Python 3.7. Version 0.19.3 ============== diff --git a/docs/installation.rst b/docs/installation.rst index 9dbf0fb..6613e3a 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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 following things are installed: -- Python 3.7 to 3.11 and pip. +- Python 3.8 to 3.11 and pip. - ``libxml`` and ``libxslt`` - ``zlib`` - Linux or macOS. **Windows is not supported**, see :gh:`535`. diff --git a/pyproject.toml b/pyproject.toml index 668450d..145c238 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -26,7 +26,6 @@ classifiers = [ "Programming Language :: Python :: 3.10", "Programming Language :: Python :: 3.11", "Programming Language :: Python :: 3.12", - "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9", "Topic :: Internet", @@ -60,7 +59,6 @@ select = [ # "TID", "RSE" ] -target-version = "py37" [tool.ruff.isort] force-single-line = true diff --git a/vdirsyncer/__init__.py b/vdirsyncer/__init__.py index e1d4e70..e98d7ad 100644 --- a/vdirsyncer/__init__.py +++ b/vdirsyncer/__init__.py @@ -21,8 +21,8 @@ except ImportError: # pragma: no cover def _check_python_version(): import sys - if sys.version_info < (3, 7, 0): # noqa: UP036 - print("vdirsyncer requires at least Python 3.7.") + if sys.version_info < (3, 8, 0): # noqa: UP036 + print("vdirsyncer requires at least Python 3.8.") sys.exit(1) diff --git a/vdirsyncer/utils.py b/vdirsyncer/utils.py index 657d2d6..7199fc4 100644 --- a/vdirsyncer/utils.py +++ b/vdirsyncer/utils.py @@ -210,7 +210,7 @@ def open_graphical_browser(url, new=0, autoraise=True): cli_names = {"www-browser", "links", "links2", "elinks", "lynx", "w3m"} - if webbrowser._tryorder is None: # Python 3.7 + if webbrowser._tryorder is None: # Python 3.8 webbrowser.register_standard_browsers() for name in webbrowser._tryorder: