1
0
Fork 0
mirror of https://github.com/ultrajson/ultrajson.git synced 2024-05-07 05:36:11 +02:00

Drop support for Python 3.7 (#595)

This commit is contained in:
Hugo van Kemenade 2023-06-04 23:26:14 +03:00 committed by GitHub
commit b5279144da
Signed by: GitHub
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 7 additions and 11 deletions

View File

@ -83,10 +83,8 @@ jobs:
fail-fast: false
matrix:
python-version:
- pp37
- pp38
- pp39
- cp37
- cp38
- cp39
- cp310

View File

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

View File

@ -1,15 +1,15 @@
repos:
- repo: https://github.com/asottile/pyupgrade
rev: v3.3.1
rev: v3.4.0
hooks:
- id: pyupgrade
args: [--py37-plus]
args: [--py38-plus]
- repo: https://github.com/psf/black
rev: 23.3.0
hooks:
- id: black
args: [--target-version=py37]
args: [--target-version=py38]
- repo: https://github.com/PyCQA/isort
rev: 5.12.0
@ -39,7 +39,6 @@ repos:
- id: trailing-whitespace
exclude: "^.github/.*_TEMPLATE.md"
- repo: https://github.com/asottile/setup-cfg-fmt
rev: v2.3.0
hooks:

View File

@ -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.7+.
Python 3.8+.
Install with pip:

View File

@ -2,7 +2,7 @@
requires = ["setuptools>=42", "setuptools_scm[toml]>=3.4"]
[tool.black]
target_version = ["py37"]
target_version = ["py38"]
[tool.isort]
profile = "black"

View File

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