Skip to content

Commit

Permalink
Python: add 3.13, drop 3.8, min.version now 3.9
Browse files Browse the repository at this point in the history
  • Loading branch information
dalito committed Nov 1, 2024
1 parent cb2f1a7 commit 50cb371
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 10 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,11 @@ jobs:
strategy:
matrix:
python-version:
- '3.9'
- '3.10'
- '3.11'
- '3.12'
- '3.13'

steps:
- uses: actions/checkout@d632683dd7b4114ad314bca15554477dd762a938
Expand Down
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v5.0.0
hooks:
- id: end-of-file-fixer
- id: check-yaml
- id: check-toml
- id: trailing-whitespace
- repo: https://github.com/psf/black
rev: 24.2.0
rev: 24.10.0
hooks:
- id: black
args: ['--target-version', 'py38']
args: ['--target-version', 'py39']
- repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.2.2
rev: v0.7.1
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix]
- repo: https://github.com/codespell-project/codespell
rev: v2.2.6
rev: v2.3.0
hooks:
- id: codespell
additional_dependencies:
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ voc4cat works on files or folders. If a folder is given all matching files are p

To start you need:

- Python (3.8 or newer)
- Python (3.9 or newer)

voc4cat is platform independent and should work at least on windows, linux and mac.

Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ maintainers = [
]
license = {text = "BSD-3-Clause"}
readme = "README.md"
requires-python = ">=3.8"
requires-python = ">=3.9"

keywords = ["SKOS", "vocabulary", "spreadsheet", "xlsx", "linked data", "rdf"]

Expand All @@ -29,11 +29,11 @@ classifiers = [
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Operating System :: OS Independent",
"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 :: 3.13",
]

dependencies = [
Expand Down Expand Up @@ -169,8 +169,8 @@ exclude = [
".*",
]

# Assume Python 3.8
target-version = "py38"
# Assume Python 3.9 syntax and semantics for linting.
target-version = "py39"

# Same as Black.
line-length = 88
Expand Down

0 comments on commit 50cb371

Please sign in to comment.