diff --git a/.github/workflows/python.yml b/.github/workflows/python.yml index 7710b72..96ab282 100644 --- a/.github/workflows/python.yml +++ b/.github/workflows/python.yml @@ -7,8 +7,8 @@ on: branches: ['main'] env: - PYTHON_VERSION: '3.13.9' - POETRY_VERSION: '2.2.1' + PYTHON_VERSION: '3.14.3' + POETRY_VERSION: '2.3.2' LINT_PATHS: > api project diff --git a/poetry.lock b/poetry.lock index 4811125..f215ef5 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,4 +1,4 @@ -# This file is automatically @generated by Poetry 2.2.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 2.3.2 and should not be changed by hand. [[package]] name = "asgiref" @@ -764,5 +764,5 @@ python-discovery = ">=1" [metadata] lock-version = "2.1" -python-versions = "^3.13.9" -content-hash = "278577832d4c21c57d75fab9234c4d8b5c1de1a456dce8d82bfde6e58c2b126d" +python-versions = "^3.14.3" +content-hash = "2dd433da039ad1b2152f15043d44664450fdd4d11d666f99c7ac5dfabbaeb550" diff --git a/pyproject.toml b/pyproject.toml index 7915173..a5aa779 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,7 @@ packages = [{ include = "python_open_restaurant_django" }] package-mode = false [tool.poetry.dependencies] -python = "^3.13.9" +python = "^3.14.3" django = "^6.0" django-environ = "^0.13.0" djangorestframework = "^3.17.1" diff --git a/setup b/setup index 3a3289a..77f4bff 100755 --- a/setup +++ b/setup @@ -1,11 +1,30 @@ #!/bin/bash git submodule update --init --remote --force -rebuild_venv="$1" -rebuild_venv="${rebuild_venv:-0}" +rebuild_venv=0 +if [ $# -gt 0 ]; then + if [ "$1" = "0" ] || [ "$1" = "1" ]; then + rebuild_venv="$1" + shift + elif [[ "$1" != -* ]]; then + echo "Invalid rebuild_venv positional argument: ($1). Valid values are [0, 1]" >&2 + exit 2 + fi +fi source utility-repo-scripts/setup_python_app.sh \ --debug \ + --python_version="3.14.3" \ --package_manager="poetry" \ --rebuild_venv="$rebuild_venv" \ + --include_jumanji_house \ + --include_prettier \ + --include_isort \ + --isort_profile="black" \ --python_formatter="black" \ + --pylint_enabled \ + --flake8_enabled \ + --mypy_enabled \ + --pytest_enabled \ + --pre_commit_autoupdate \ --overwrite_vscode_launch \ - --line_length=125 + --line_length=125 \ + "$@" diff --git a/utility-repo-scripts b/utility-repo-scripts index 7fc9ccd..b29c245 160000 --- a/utility-repo-scripts +++ b/utility-repo-scripts @@ -1 +1 @@ -Subproject commit 7fc9ccdb18aa5d59e56c0ef846e0cffd8c62e33e +Subproject commit b29c24596619b0020299edc62efcb10e72fe1701