Skip to content

Commit

Permalink
Merge pull request #105 from kurtmckee/rm-py38
Browse files Browse the repository at this point in the history
Drop Python 3.8 support
  • Loading branch information
kurtmckee authored Aug 8, 2024
2 parents e9f7f3c + fbd0fd0 commit 9d8c198
Show file tree
Hide file tree
Showing 17 changed files with 70 additions and 944 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -34,42 +34,40 @@ jobs:
- name: "Linux"
runner: "ubuntu-latest"
cpythons:
- "3.8"
- "3.9"
- "3.10"
- "3.11"
- "3.12"
cpython-beta: "3.13"
pypys:
- "3.8"
- "3.9"
- "3.10"
tox:
post-environments:
- "py3.8-minimum_dependencies"
- "py3.8-http-lxml"
- "py3.9-minimum_dependencies"
- "py3.9-http-lxml"
- "py3.12-http-lxml"

# Test lowest and highest versions on Mac.
- name: "macOS"
runner: "macos-latest"
cpythons:
- "3.8"
- "3.9"
- "3.12"
tox:
environments:
- "py3.8"
- "py3.9"
- "py3.12"

# Test lowest and highest versions on Windows.
- name: "Windows"
runner: "windows-latest"
cpythons:
- "3.8"
- "3.9"
- "3.12"
tox:
environments:
- "py3.8"
- "py3.9"
- "py3.12"

# Check type annotations and documentation.
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ htmlcov/
.coverage*
.idea/
.venv/
/poetry.lock
poetry.lock
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,12 @@ repos:
rev: "v3.17.0"
hooks:
- id: "pyupgrade"
name: "Enforce Python 3.8+ idioms"
name: "Enforce Python 3.9+ idioms"
args:
- "--py38-plus"
- "--py39-plus"

- repo: "https://github.com/psf/black-pre-commit-mirror"
rev: "24.4.2"
rev: "24.8.0"
hooks:
- id: "black"

Expand All @@ -41,7 +41,7 @@ repos:
- id: "isort"

- repo: "https://github.com/pycqa/flake8"
rev: "7.1.0"
rev: "7.1.1"
hooks:
- id: "flake8"
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ you've come to the right place!

listparser makes it easy to parse and use subscription lists in multiple formats.
It supports OPML, RDF+FOAF, and the iGoogle exported settings format,
and runs on Python 3.8+ and on PyPy 3.8.
and runs on Python 3.9+ and on PyPy 3.9+.



Expand Down
4 changes: 4 additions & 0 deletions changelog.d/20240808_125012_kurtmckee_rm_py38.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
Python support
--------------

* Drop Python 3.8 support.
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ you've come to the right place!

listparser makes it easy to parse and use subscription lists in multiple formats.
It supports OPML, RDF+FOAF, and the iGoogle exported settings format,
and runs on Python 3.8+ and on PyPy 3.8.
and runs on Python 3.9+ and on PyPy 3.9+.


Contents
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ classifiers = [


[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
# The dependencies here must match the minimums tested in `tox.ini`.
requests = {version = "^2.25.1", optional = true}
lxml = {version = ">=4.6.2,<6.0.0", optional = true}
Expand Down
517 changes: 0 additions & 517 deletions requirements/docs/poetry.lock

This file was deleted.

2 changes: 1 addition & 1 deletion requirements/docs/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
package-mode = false

[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
sphinx = "*"
50 changes: 25 additions & 25 deletions requirements/docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,25 +1,25 @@
alabaster==0.7.13 ; python_version >= "3.8"
babel==2.15.0 ; python_version >= "3.8"
certifi==2024.7.4 ; python_version >= "3.8"
charset-normalizer==3.3.2 ; python_version >= "3.8"
colorama==0.4.6 ; python_version >= "3.8" and sys_platform == "win32"
docutils==0.20.1 ; python_version >= "3.8"
idna==3.7 ; python_version >= "3.8"
imagesize==1.4.1 ; python_version >= "3.8"
importlib-metadata==8.2.0 ; python_version < "3.10" and python_version >= "3.8"
jinja2==3.1.4 ; python_version >= "3.8"
markupsafe==2.1.5 ; python_version >= "3.8"
packaging==24.1 ; python_version >= "3.8"
pygments==2.18.0 ; python_version >= "3.8"
pytz==2024.1 ; python_version < "3.9" and python_version >= "3.8"
requests==2.32.3 ; python_version >= "3.8"
snowballstemmer==2.2.0 ; python_version >= "3.8"
sphinx==7.1.2 ; python_version >= "3.8"
sphinxcontrib-applehelp==1.0.4 ; python_version >= "3.8"
sphinxcontrib-devhelp==1.0.2 ; python_version >= "3.8"
sphinxcontrib-htmlhelp==2.0.1 ; python_version >= "3.8"
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.8"
sphinxcontrib-qthelp==1.0.3 ; python_version >= "3.8"
sphinxcontrib-serializinghtml==1.1.5 ; python_version >= "3.8"
urllib3==2.2.2 ; python_version >= "3.8"
zipp==3.19.2 ; python_version < "3.10" and python_version >= "3.8"
alabaster==0.7.16 ; python_version >= "3.9"
babel==2.16.0 ; python_version >= "3.9"
certifi==2024.7.4 ; python_version >= "3.9"
charset-normalizer==3.3.2 ; python_version >= "3.9"
colorama==0.4.6 ; python_version >= "3.9" and sys_platform == "win32"
docutils==0.21.2 ; python_version >= "3.9"
idna==3.7 ; python_version >= "3.9"
imagesize==1.4.1 ; python_version >= "3.9"
importlib-metadata==8.2.0 ; python_version < "3.10" and python_version >= "3.9"
jinja2==3.1.4 ; python_version >= "3.9"
markupsafe==2.1.5 ; python_version >= "3.9"
packaging==24.1 ; python_version >= "3.9"
pygments==2.18.0 ; python_version >= "3.9"
requests==2.32.3 ; python_version >= "3.9"
snowballstemmer==2.2.0 ; python_version >= "3.9"
sphinx==7.4.7 ; python_version >= "3.9"
sphinxcontrib-applehelp==2.0.0 ; python_version >= "3.9"
sphinxcontrib-devhelp==2.0.0 ; python_version >= "3.9"
sphinxcontrib-htmlhelp==2.1.0 ; python_version >= "3.9"
sphinxcontrib-jsmath==1.0.1 ; python_version >= "3.9"
sphinxcontrib-qthelp==2.0.0 ; python_version >= "3.9"
sphinxcontrib-serializinghtml==2.0.0 ; python_version >= "3.9"
tomli==2.0.1 ; python_version < "3.11" and python_version >= "3.9"
urllib3==2.2.2 ; python_version >= "3.9"
zipp==3.19.2 ; python_version < "3.10" and python_version >= "3.9"
142 changes: 0 additions & 142 deletions requirements/mypy/poetry.lock

This file was deleted.

2 changes: 1 addition & 1 deletion requirements/mypy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package-mode = false

[tool.poetry.dependencies]
python = ">=3.8"
python = ">=3.9"
mypy = "*"
lxml-stubs = "*"
types-requests = "*"
Expand Down
16 changes: 8 additions & 8 deletions requirements/mypy/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
lxml-stubs==0.5.1 ; python_version >= "3.8"
mypy-extensions==1.0.0 ; python_version >= "3.8"
mypy==1.11.0 ; python_version >= "3.8"
tomli==2.0.1 ; python_version < "3.11" and python_version >= "3.8"
types-requests==2.32.0.20240712 ; python_version >= "3.8"
types-toml==0.10.8.20240310 ; python_version >= "3.8"
typing-extensions==4.12.2 ; python_version >= "3.8"
urllib3==2.2.2 ; python_version >= "3.8"
lxml-stubs==0.5.1 ; python_version >= "3.9"
mypy-extensions==1.0.0 ; python_version >= "3.9"
mypy==1.11.1 ; python_version >= "3.9"
tomli==2.0.1 ; python_version < "3.11" and python_version >= "3.9"
types-requests==2.32.0.20240712 ; python_version >= "3.9"
types-toml==0.10.8.20240310 ; python_version >= "3.9"
typing-extensions==4.12.2 ; python_version >= "3.9"
urllib3==2.2.2 ; python_version >= "3.9"
Loading

0 comments on commit 9d8c198

Please sign in to comment.