Skip to content

Commit

Permalink
Merge pull request #287 from ultrabug/python_eol
Browse files Browse the repository at this point in the history
build(python): drop eol 3.7, add 3.12 compat and tests
  • Loading branch information
ultrabug committed Feb 13, 2024
2 parents 48851e4 + d858ec7 commit 0b18dd6
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
strategy:
max-parallel: 5
matrix:
python-version: [3.7, 3.8, 3.9, "3.10", "3.11"]
python-version: [3.8, 3.9, "3.10", "3.11", "3.12"]
os: [ubuntu-latest, windows-latest, macos-latest]
# Just to slim down the test matrix:
exclude:
Expand Down Expand Up @@ -43,7 +43,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install Python dependencies
run: |
python -m pip install --upgrade hatch
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: '3.10'
python-version: '3.11'
- name: Install Hatch
run: |
python -m pip install -U hatch
Expand Down
8 changes: 4 additions & 4 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ dynamic = ["version"]
description = "MkDocs i18n plugin using static translation markdown files"
readme = "README.md"
license = "MIT"
requires-python = ">=3.7"
requires-python = ">=3.8"
authors = [
{ name = "Ultrabug", email = "ultrabug@ultrabug.net" },
]
Expand All @@ -18,11 +18,11 @@ classifiers = [
"Programming Language :: Python",
"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",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries :: Python Modules",
]
dependencies = [
Expand Down Expand Up @@ -72,7 +72,7 @@ test = [
]

[[tool.hatch.envs.test.matrix]]
python = ["3.7", "3.8", "3.9", "3.10", "3.11"]
python = ["3.8", "3.9", "3.10", "3.11", "3.12"]
type = ["default"]

[tool.hatch.envs.docs]
Expand Down Expand Up @@ -101,7 +101,7 @@ format = [

[tool.black]
line-length = 100
target-version = ["py310"]
target-version = ["py311"]
skip-string-normalization = true

[tool.isort]
Expand Down

0 comments on commit 0b18dd6

Please sign in to comment.