mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Drop support for Python 3.7
Installing on Python 3.7 no longer works due to lack of support in the minimal version of setuptools_scm. This commit makes the change official, but it happened a while ago.
This commit is contained in:
parent
057f3af293
commit
32453cccfc
5 changed files with 6 additions and 7 deletions
|
|
@ -9,11 +9,12 @@ Package maintainers and users who have to manually update their installation
|
|||
may want to subscribe to `GitHub's tag feed
|
||||
<https://github.com/pimutils/vdirsyncer/tags.atom>`_.
|
||||
|
||||
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
|
||||
==============
|
||||
|
|
|
|||
|
|
@ -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`.
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue