Skip to content

Commit

Permalink
Upgrade Python version to 3.13 & poetry non package-mode
Browse files Browse the repository at this point in the history
  • Loading branch information
bulya committed Oct 9, 2024
1 parent ecd4e5d commit b02f160
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/default.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ jobs:
# Check-out repo and set-up python
- name: Checkout
uses: actions/checkout@v4
- name: Set up Python 3.12
- name: Set up Python
id: setup-python
uses: actions/setup-python@v5
with:
python-version: 3.12
python-version: 3.13
# Install & configure poetry
- name: Install Poetry
uses: snok/install-poetry@v1
Expand All @@ -37,7 +37,7 @@ jobs:
# Install dependencies if cache does not exist
- name: Install dependencies
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
run: poetry install --no-interaction --no-root
run: poetry install --no-interaction
# Run tests on skeleton code;
# NOTE: there are nothing to test yet, unless we add some hooks, just check that it runs
- name: Run tests on hooks
Expand Down
13 changes: 2 additions & 11 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,22 +1,13 @@
[tool.poetry]
name = "backend-skeleton"
version = "0.1.0"
description = ""
authors = ["DS <[email protected]>"]
readme = "README.md"
package-mode = false

[tool.poetry.dependencies]
python = "^3.12"
python = "^3.13"
cookiecutter = "^2.6.0"
pytest = "^8.3.3"
pytest-cov = "^5.0.0"
invoke = "^2.2.0"


[build-system]
requires = ["poetry-core"]
build-backend = "poetry.core.masonry.api"

[tool.pytest.ini_options]
testpaths = ["tests"]
python_files = ["tests.py", "test_*.py", "*_tests.py"]

0 comments on commit b02f160

Please sign in to comment.