Skip to content

Commit fb21fb1

Browse files
authored
Merge pull request #34 from OpenAPITools/drop-python-3.9
Drop Python 3.9
2 parents b3a07eb + 1420054 commit fb21fb1

File tree

6 files changed

+12
-44
lines changed

6 files changed

+12
-44
lines changed

.github/workflows/test.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- windows-latest
1919
- macos-latest
2020
python-version:
21-
- '3.9'
21+
- '3.10'
2222
- '3.13'
2323
steps:
2424
- uses: actions/checkout@v5

.pre-commit-config.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
repos:
22
- repo: https://github.com/pre-commit/pre-commit-hooks
3-
rev: v5.0.0
3+
rev: v6.0.0
44
hooks:
55
- id: check-added-large-files
66
args: [--maxkb=2000]
@@ -19,29 +19,29 @@ repos:
1919
- id: trailing-whitespace
2020
files: \.(py|sh|rst|yml|yaml)$
2121
- repo: https://github.com/macisamuele/language-formatters-pre-commit-hooks
22-
rev: v2.14.0
22+
rev: v2.15.0
2323
hooks:
2424
- id: pretty-format-yaml
2525
args: [--autofix, --indent, '2']
2626
- repo: https://github.com/tox-dev/pyproject-fmt
27-
rev: v2.5.0
27+
rev: v2.6.0
2828
hooks:
2929
- id: pyproject-fmt
3030
- repo: https://github.com/astral-sh/ruff-pre-commit
31-
rev: v0.8.1
31+
rev: v0.12.9
3232
hooks:
3333
- id: ruff
3434
args: [--fix]
3535
- repo: https://github.com/pre-commit/mirrors-mypy
36-
rev: v1.13.0
36+
rev: v1.17.1
3737
hooks:
3838
- id: mypy
3939
files: ^openapi_generator_cli/
4040
args: [--strict]
4141
additional_dependencies:
4242
- jdk4py
4343
- repo: https://github.com/igorshubovych/markdownlint-cli
44-
rev: v0.43.0
44+
rev: v0.45.0
4545
hooks:
4646
- id: markdownlint
4747
exclude: ^.github/PULL_REQUEST_TEMPLATE.md

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ pip install openapi-generator-cli
3838
pip install openapi-generator-cli==4.3.1
3939
```
4040

41-
You can also install with [`jdk4py`] instead of `java` binary. (`python>=3.10` is required)
41+
You can also install with [`jdk4py`] instead of `java` binary.
4242

4343
```sh
4444
pip install openapi-generator-cli[jdk4py]

openapi_generator_cli/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def run(args: list[str] | None = None) -> subprocess.CompletedProcess[bytes]:
2828
"""
2929
java_path: Path | str | None
3030
try:
31-
from jdk4py import JAVA
31+
from jdk4py import JAVA # noqa: PLC0415
3232

3333
java_path = JAVA
3434
except ImportError:

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,11 @@ keywords = [
1414
]
1515
license = { text = "APACHE 2.0" }
1616
authors = [ { name = "OpenAPI Generator community", email = "team@openapitools.org" } ]
17-
requires-python = ">=3.9,<4"
17+
requires-python = ">=3.10,<4"
1818
classifiers = [
1919
"License :: OSI Approved :: Apache Software License",
2020
"Programming Language :: Python",
2121
"Programming Language :: Python :: 3 :: Only",
22-
"Programming Language :: Python :: 3.9",
2322
"Programming Language :: Python :: 3.10",
2423
"Programming Language :: Python :: 3.11",
2524
"Programming Language :: Python :: 3.12",

uv.lock

Lines changed: 2 additions & 33 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)