1
0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-11-22 19:41:59 +01:00

Drop support for EOL Python 3.8

This commit is contained in:
Hugo van Kemenade 2024-10-08 22:46:38 +03:00
parent 783eb41de7
commit 165866f154
6 changed files with 7 additions and 9 deletions

@ -49,7 +49,7 @@ jobs:
# Include latest Python beta.
CIBW_PRERELEASE_PYTHONS: True
# Skip EOL Python versions.
CIBW_SKIP: "pp38* pp39*"
CIBW_SKIP: "pp39*"
# Run the test suite after each build.
CIBW_TEST_REQUIRES: "pytest"
CIBW_TEST_COMMAND: pytest {package}/tests
@ -67,7 +67,6 @@ jobs:
matrix:
python-version:
- pp310
- cp38
- cp39
- cp310
- cp311

@ -11,7 +11,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["pypy-3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["pypy-3.10", "3.9", "3.10", "3.11", "3.12", "3.13"]
os: [ubuntu-latest]
include:
- { python-version: "pypy-3.10", os: windows-latest }

@ -3,13 +3,13 @@ repos:
rev: v3.17.0
hooks:
- id: pyupgrade
args: [--py38-plus]
args: [--py39-plus]
- repo: https://github.com/psf/black-pre-commit-mirror
rev: 24.8.0
hooks:
- id: black
args: [--target-version=py38]
args: [--target-version=py39]
- repo: https://github.com/PyCQA/isort
rev: 5.13.2

@ -9,7 +9,7 @@
[![Code style: Black](https://img.shields.io/badge/code%20style-Black-000000.svg)](https://github.com/psf/black)
UltraJSON is an ultra fast JSON encoder and decoder written in pure C with bindings for
Python 3.8+.
Python 3.9+.
Install with pip:

@ -6,7 +6,7 @@ requires = [
]
[tool.black]
target_version = ["py38"]
target_version = ["py39"]
[tool.isort]
profile = "black"

@ -14,7 +14,6 @@ classifiers =
Programming Language :: C
Programming Language :: Python :: 3
Programming Language :: Python :: 3 :: Only
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3.11
@ -25,7 +24,7 @@ project_urls =
Source=https://github.com/ultrajson/ultrajson
[options]
python_requires = >=3.8
python_requires = >=3.9
setup_requires =
setuptools-scm