Skip to content

Commit

Permalink
chore: drop support for python 3.7
Browse files Browse the repository at this point in the history
Python 3.7 is no longer supported, so we can drop support here as well.
Using the `python_requires` flag in the package metadata should guide
installers on 3.7 to use the oldest published version (37.3).

Signed-off-by: Mike Fiedler <miketheman@gmail.com>
  • Loading branch information
miketheman committed Jun 9, 2023
1 parent 3c9b138 commit 8fedc7b
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["pypy-3.7", "3.7", "3.8", "3.9", "3.10", "3.11"]
python-version: ["pypy-3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- name: Check out repository
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ tasks:
# Upgrade pyenv itself
pyenv update
export PY_VERSIONS="3.7 3.8 3.9 3.10 3.11"
export PY_VERSIONS="3.8 3.9 3.10 3.11"
# Install all supported Python versions
for py in $PY_VERSIONS;
Expand Down
1 change: 1 addition & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Unreleased (???)
-----------------

* Test against Python 3.11, update listed support in classifiers
* Drop support for Python 3.7

37.3 (2022-10-31)
-----------------
Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
Expand All @@ -60,5 +59,5 @@
include_package_data=True,
extras_require={"md": "cmarkgfm>=0.8.0"},
packages=setuptools.find_packages(exclude=["tests", "tests.*"]),
python_requires=">=3.7",
python_requires=">=3.8",
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tox]
envlist = py37,py38,py39,py310,py311,pep8,packaging,noextra,mypy
envlist = py38,py39,py310,py311,pep8,packaging,noextra,mypy
isolated_build = True

[testenv]
Expand Down

0 comments on commit 8fedc7b

Please sign in to comment.