Skip to content

Commit f1226dd

Browse files
authored
Merge pull request #15 from fpgmaas/fix/various
various fixes
2 parents 3edc570 + cc4ddd5 commit f1226dd

File tree

9 files changed

+45
-36
lines changed

9 files changed

+45
-36
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
runs-on: ubuntu-latest
3535
strategy:
3636
matrix:
37-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
37+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3838
fail-fast: false
3939
defaults:
4040
run:

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ install: ## Install the virtual environment
3636
.PHONY: check
3737
check: ## Run code quality tools.
3838
@echo "🚀 Checking lock file consistency with 'pyproject.toml'"
39-
@uv sync --locked
39+
@uv lock --locked
4040
@echo "🚀 Linting code: Running pre-commit"
4141
@uv run pre-commit run -a
4242
@echo "🚀 Static type checking: Running mypy"

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@ classifiers = [
1515
"License :: OSI Approved :: MIT License",
1616
"Programming Language :: Python",
1717
"Programming Language :: Python :: 3",
18-
"Programming Language :: Python :: 3.8",
1918
"Programming Language :: Python :: 3.9",
2019
"Programming Language :: Python :: 3.10",
2120
"Programming Language :: Python :: 3.11",
2221
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
2323
"Topic :: Software Development :: Libraries :: Python Modules",
2424
"Topic :: Software Development :: Code Generators",
2525
]
@@ -39,7 +39,7 @@ dev-dependencies = [
3939
"deptry>=0.20.0",
4040
"mypy>=0.991",
4141
"pytest-cov>=4.0.0",
42-
"ruff>=0.0.235",
42+
"ruff>=0.6.9",
4343
"mkdocs>=1.4.2",
4444
"mkdocs-material>=8.5.10",
4545
"mkdocstrings[python]>=0.19.0",

tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
22
skipsdist = true
3-
envlist = py38, py39, py310, py311, py312
3+
envlist = py39, py310, py311, py312, py313
44

55
[gh-actions]
66
python =
7-
3.8: py38
87
3.9: py39
98
3.10: py310
109
3.11: py311
1110
3.12: py312
11+
3.13: py313
1212

1313
[testenv]
1414
passenv = PYTHON_VERSION

uv.lock

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

{{cookiecutter.project_name}}/.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
runs-on: ubuntu-latest
3030
strategy:
3131
matrix:
32-
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
32+
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
3333
fail-fast: false
3434
defaults:
3535
run:

{{cookiecutter.project_name}}/Makefile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ install: ## Install the virtual environment and install the pre-commit hooks
77
.PHONY: check
88
check: ## Run code quality tools.
99
@echo "🚀 Checking lock file consistency with 'pyproject.toml'"
10-
@uv sync --locked
10+
@uv lock --locked
1111
@echo "🚀 Linting code: Running pre-commit"
1212
@uv run pre-commit run -a
1313
@echo "🚀 Static type checking: Running mypy"
@@ -40,8 +40,6 @@ clean-build: ## Clean build artifacts
4040

4141
.PHONY: publish
4242
publish: ## Publish a release to PyPI.
43-
@echo "🚀 Publishing: Dry run."
44-
@uvx --from build pyproject-build --installer uv
4543
@echo "🚀 Publishing."
4644
@uvx twine upload --repository-url https://upload.pypi.org/legacy/ dist/*
4745

{{cookiecutter.project_name}}/pyproject.toml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,18 @@ description = "{{cookiecutter.project_description}}"
55
authors = [{ name = "{{cookiecutter.author}}", email = "{{cookiecutter.email}}" }]
66
readme = "README.md"
77
keywords = ['python']
8-
requires-python = ">=3.8,<4.0"
8+
requires-python = ">=3.9,<4.0"
9+
classifiers = [
10+
"Intended Audience :: Developers",
11+
"Programming Language :: Python",
12+
"Programming Language :: Python :: 3",
13+
"Programming Language :: Python :: 3.9",
14+
"Programming Language :: Python :: 3.10",
15+
"Programming Language :: Python :: 3.11",
16+
"Programming Language :: Python :: 3.12",
17+
"Programming Language :: Python :: 3.13",
18+
"Topic :: Software Development :: Libraries :: Python Modules",
19+
]
920

1021
[project.urls]
1122
Homepage = "https://{{cookiecutter.author_github_handle}}.github.io/{{cookiecutter.project_name}}/"
@@ -20,7 +31,7 @@ dev-dependencies = [
2031
{% if cookiecutter.deptry == 'y' %}"deptry>=0.20.0",{% endif %}
2132
"mypy>=0.991",
2233
{% if cookiecutter.codecov == 'y' %}"pytest-cov>=4.0.0",{% endif %}
23-
"ruff>=0.0.235",
34+
"ruff>=0.6.9",
2435
{% if cookiecutter.mkdocs == 'y' %}"mkdocs>=1.4.2",
2536
"mkdocs-material>=8.5.10",
2637
"mkdocstrings[python]>=0.26.1",{% endif %}

{{cookiecutter.project_name}}/tox.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
[tox]
22
skipsdist = true
3-
envlist = py38, py39, py310, py311, py312
3+
envlist = py39, py310, py311, py312, py313
44

55
[gh-actions]
66
python =
7-
3.8: py38
87
3.9: py39
98
3.10: py310
109
3.11: py311
1110
3.12: py312
11+
3.13: py313
1212

1313
[testenv]
1414
passenv = PYTHON_VERSION

0 commit comments

Comments
 (0)