Skip to content

Commit

Permalink
chore: añade soporte python 3.12 (#46)
Browse files Browse the repository at this point in the history
  • Loading branch information
albertotb authored Aug 26, 2024
1 parent 1bbc6d2 commit 8349e19
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
runs-on: "ubuntu-latest"
strategy:
matrix:
python-version: ["3.9", "3.10", "3.11"]
python-version: ["3.9", "3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ requires = ["setuptools>=45", "setuptools_scm[toml]>=6.2"]
build-backend = "setuptools.build_meta"

[project]
requires-python = ">=3.9,<3.12"
requires-python = ">=3.9,<3.13"
name = "template"
# La versión se obtiene automáticamente de git con `setuptools_scm`
#version = "0.1.0"
Expand Down
7 changes: 6 additions & 1 deletion template/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,10 @@ def print_version() -> None:
print(f"Template version {__version__}")


if __name__ == "__main__":
def main() -> None:
"""Run typer and exit."""
typer.run(print_version)


if __name__ == "__main__":
main()

0 comments on commit 8349e19

Please sign in to comment.