Skip to content

Commit 32453cc

Browse files
committed
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.
1 parent 057f3af commit 32453cc

File tree

5 files changed

+6
-7
lines changed

5 files changed

+6
-7
lines changed

CHANGELOG.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,12 @@ Package maintainers and users who have to manually update their installation
99
may want to subscribe to `GitHub's tag feed
1010
<https://github.com/pimutils/vdirsyncer/tags.atom>`_.
1111

12-
Version 0.19.4
12+
Version 0.20.0
1313
==============
1414

1515
- Remove dependency on abandoned ``atomicwrites`` library.
1616
- Implement ``filter_hook`` for the HTTP storage.
17+
- Drop support for Python 3.7.
1718

1819
Version 0.19.3
1920
==============

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If your distribution doesn't provide a package for vdirsyncer, you still can
4242
use Python's package manager "pip". First, you'll have to check that the
4343
following things are installed:
4444

45-
- Python 3.7 to 3.11 and pip.
45+
- Python 3.8 to 3.11 and pip.
4646
- ``libxml`` and ``libxslt``
4747
- ``zlib``
4848
- Linux or macOS. **Windows is not supported**, see :gh:`535`.

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ classifiers = [
2626
"Programming Language :: Python :: 3.10",
2727
"Programming Language :: Python :: 3.11",
2828
"Programming Language :: Python :: 3.12",
29-
"Programming Language :: Python :: 3.7",
3029
"Programming Language :: Python :: 3.8",
3130
"Programming Language :: Python :: 3.9",
3231
"Topic :: Internet",
@@ -60,7 +59,6 @@ select = [
6059
# "TID",
6160
"RSE"
6261
]
63-
target-version = "py37"
6462

6563
[tool.ruff.isort]
6664
force-single-line = true

vdirsyncer/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@
2121
def _check_python_version():
2222
import sys
2323

24-
if sys.version_info < (3, 7, 0): # noqa: UP036
25-
print("vdirsyncer requires at least Python 3.7.")
24+
if sys.version_info < (3, 8, 0): # noqa: UP036
25+
print("vdirsyncer requires at least Python 3.8.")
2626
sys.exit(1)
2727

2828

vdirsyncer/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ def open_graphical_browser(url, new=0, autoraise=True):
210210

211211
cli_names = {"www-browser", "links", "links2", "elinks", "lynx", "w3m"}
212212

213-
if webbrowser._tryorder is None: # Python 3.7
213+
if webbrowser._tryorder is None: # Python 3.8
214214
webbrowser.register_standard_browsers()
215215

216216
for name in webbrowser._tryorder:

0 commit comments

Comments
 (0)