diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 0bfa740..6b25395 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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 @@ -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 diff --git a/CHANGES.rst b/CHANGES.rst index 3ce9606..8c5bbfc 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -4,6 +4,11 @@ History 1.3.0 (Unreleased) ~~~~~~~~~~~~~~~~~~ +Added +^^^^^ + +- Add support for Python 3.12. + Changed ^^^^^^^ @@ -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) ~~~~~~~~~~~~~~~~~~ diff --git a/pyproject.toml b/pyproject.toml index c34d7aa..7422af2 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.ruff] line-length = 119 -target-version = "py311" +target-version = "py39" [tool.ruff.lint] select = ["ALL"] diff --git a/setup.py b/setup.py index 02ed689..7600dea 100644 --- a/setup.py +++ b/setup.py @@ -38,7 +38,6 @@ "pytest-mock", ] }, - python_requires=">=3.6", license="BSD", zip_safe=False, entry_points={ @@ -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",