Skip to content

Commit

Permalink
chore: Update supported Python versions
Browse files Browse the repository at this point in the history
  • Loading branch information
jpmckinney committed Oct 11, 2024
1 parent 1402b3c commit cab2de4
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
17 changes: 6 additions & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,8 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest]
python-version: [3.7, 3.8, 3.9, "3.10", "3.11", pypy-3.7]
python-version: [3.9, "3.10", "3.11", "3.12", pypy-3.10]
include:
- python-version: 3.7
env:
TOXENV: py
- python-version: 3.8
env:
TOXENV: py
- python-version: 3.9
env:
TOXENV: py
Expand All @@ -26,16 +20,17 @@ jobs:
- python-version: "3.11"
env:
TOXENV: py
- python-version: pypy-3.7
- python-version: "3.12"
env:
TOXENV: py
- python-version: pypy-3.10
env:
TOXENV: pypy
# It is difficult to install libxml2 and libxslt development packages on Windows.
# https://www.lfd.uci.edu/~gohlke/pythonlibs/ distributes a wheel, but the URL changes.
exclude:
- os: windows-latest
python-version: pypy-3.7
- os: windows-latest
python-version: "3.11"
python-version: pypy-3.10

steps:
- uses: actions/checkout@v3
Expand Down
10 changes: 10 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ History
1.3.0 (Unreleased)
~~~~~~~~~~~~~~~~~~

Added
^^^^^

- Add support for Python 3.12.

Changed
^^^^^^^

Expand All @@ -15,6 +20,11 @@ Fixed

- The ``scrapyd-client schedule`` subcommand accepts multiple ``--arg setting=...`` arguments. (@mxdev88)

Removed
^^^^^^^

- Drop support for Python 3.7, 3.8.

1.2.3 (2023-01-30)
~~~~~~~~~~~~~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.ruff]
line-length = 119
target-version = "py311"
target-version = "py39"

[tool.ruff.lint]
select = ["ALL"]
Expand Down
4 changes: 1 addition & 3 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
"pytest-mock",
]
},
python_requires=">=3.6",
license="BSD",
zip_safe=False,
entry_points={
Expand All @@ -56,11 +55,10 @@
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: Implementation :: CPython",
"Programming Language :: Python :: Implementation :: PyPy",
"Topic :: Internet :: WWW/HTTP",
Expand Down

0 comments on commit cab2de4

Please sign in to comment.