Skip to content

Commit

Permalink
Drop support for Python 3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
kurtmckee committed May 11, 2023
1 parent 859ac57 commit fc3e639
Show file tree
Hide file tree
Showing 6 changed files with 15 additions and 12 deletions.
1 change: 0 additions & 1 deletion .github/workflows/feedparser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ jobs:
uses: "actions/setup-python@v4"
with:
python-version: |
3.7
3.8
3.9
3.10
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ repos:
rev: v3.3.1
hooks:
- id: pyupgrade
name: "Enforce Python 3.7 idioms"
args: [--py37-plus]
name: "Enforce Python 3.8 idioms"
args: [--py38-plus]
4 changes: 4 additions & 0 deletions changelog.d/20230511_103746_kurtmckee_drop_python_3_7.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Python support
--------------

* Drop support for Python 3.7.
2 changes: 1 addition & 1 deletion docs/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Notation)` feeds. It also parses several
popular extension modules, including Dublin Core and Apple's :program:`iTunes`
extensions.

To use :program:`Universal Feed Parser`, you will need :program:`Python` 3.7 or
To use :program:`Universal Feed Parser`, you will need :program:`Python` 3.8 or
later. :program:`Universal Feed Parser` is not meant
to run standalone; it is a module for you to use as part of a larger
:program:`Python` program.
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ classifiers = [
include = ["feedparser/py.typed"]

[tool.poetry.dependencies]
python = ">=3.7"
python = ">=3.8"
sgmllib3k = "^1.0.0"
requests = ">=2.20.0"

Expand Down
14 changes: 7 additions & 7 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
[tox]
envlist =
coverage_erase
py{311, 310, 39, 38, 37, py3}{-chardet, }
py{311, 310, 39, 38, py3}{-chardet, }
coverage_report
docs
mypy
labels =
ci-test-linux = py{311, 310, 39, 38, 37, py3}-chardet
ci-test-macos = py{311, 37}-chardet
ci-test-windows = py{311, 37}-chardet
ci-test-linux = py{311, 310, 39, 38, py3}-chardet
ci-test-macos = py{311, 38}-chardet
ci-test-windows = py{311, 38}-chardet
skip_missing_interpreters = True
isolated_build = True
min_version = 4.3.5
Expand All @@ -17,7 +17,7 @@ min_version = 4.3.5
[testenv]
description = Run the test suite ({env_name})
depends =
py{311, 310, 39, 38, 37, py3}{-chardet, }: coverage_erase
py{311, 310, 39, 38, py3}{-chardet, }: coverage_erase
package = wheel
wheel_build_env = build_wheel
deps =
Expand All @@ -40,7 +40,7 @@ commands =
[testenv:coverage_report]
description = Report code coverage after testing
depends =
py{311, 310, 39, 38, 37, py3}{-chardet, }
py{311, 310, 39, 38, py3}{-chardet, }
deps =
coverage[toml]
commands_pre =
Expand Down Expand Up @@ -70,7 +70,7 @@ commands =
[testenv:update_requirements]
description = Update the requirements/*.txt files
base_python =
python3.7
python3.8
setenv =
CUSTOM_COMPILE_COMMAND=tox run -e update_requirements
deps =
Expand Down

0 comments on commit fc3e639

Please sign in to comment.