oe-python-template 0.6.9__tar.gz → 0.6.10__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.copier-answers.yml +2 -1
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.github/workflows/docker-image-build-publish.yml +12 -18
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/CHANGELOG.md +8 -1
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/PKG-INFO +1 -1
- oe_python_template-0.6.10/RELEASE_NOTES.md +8 -0
- oe_python_template-0.6.10/VERSION +1 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/copier.yml +7 -2
- oe_python_template-0.6.10/docs/source/_static/openapi_v1.yaml +155 -0
- oe_python_template-0.6.9/docs/source/_static/openapi_v1.yaml → oe_python_template-0.6.10/docs/source/_static/openapi_v2.yaml +22 -22
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/conf.py +1 -1
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/pyproject.toml +2 -2
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/sonar-project.properties +1 -1
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.github/workflows/docker-image-build-publish.yml.jinja +28 -3
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/uv.lock +1 -1
- oe_python_template-0.6.9/RELEASE_NOTES.md +0 -8
- oe_python_template-0.6.9/VERSION +0 -1
- oe_python_template-0.6.9/docs/source/_static/openapi_v2.yaml +0 -188
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.act-env-public +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.devcontainer/Dockerfile +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.devcontainer/devcontainer.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.devcontainer/onCreateCommand +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.devcontainer/postAttachCommand +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.devcontainer/postCreateCommand +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.env.example +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.github/copilot-instructions.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.github/dependabot.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.github/prompts/.keep +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.github/workflows/codeql.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.github/workflows/package-build-publish-release.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.github/workflows/test-and-report.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.gitignore +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.pre-commit-config.yaml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.python-version +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.readthedocs.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.secrets.baseline +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.vscode/extensions.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/.vscode/settings.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/CODEOWNERS +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/CODE_STYLE.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/CONTRIBUTING.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/Dockerfile +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/LICENSE +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/README.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/SECURITY.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/SERVICE_CONNECTIONS.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/bin/git-cliff +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/codecov.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/compose.yaml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/Makefile +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/make.bat +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/partials/README_footer.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/partials/README_header.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/partials/README_main.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/_static/.keep +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/_static/openapi_v1.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/_static/openapi_v2.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/api_v1.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/api_v2.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/code-style.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/contributing.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/index.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/latexmkrc +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/main.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/reference.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/release-notes.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/docs/source/security.rst +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/examples/__init__.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/examples/notebook.ipynb +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/examples/notebook.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/examples/script.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/examples/streamlit.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/CHANGELOG.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/LICENSE-MIT +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/README.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/_git-cliff +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/git-cliff-completions +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/git-cliff-mangen +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/github-action-run +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/logo.png +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/n +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/noxfile.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/renovate.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/reports/.keep +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/src/oe_python_template/__init__.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/src/oe_python_template/api.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/src/oe_python_template/cli.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/src/oe_python_template/constants.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/src/oe_python_template/service.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.act-env-public.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.devcontainer/Dockerfile.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.devcontainer/devcontainer.json.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.devcontainer/onCreateCommand.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.devcontainer/postAttachCommand.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.devcontainer/postCreateCommand.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.env.example.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.github/copilot-instructions.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.github/dependabot.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.github/workflows/codeql.yml +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.github/workflows/package-build-publish-release.yml.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.github/workflows/test-and-report.yml.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.gitignore.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.pre-commit-config.yaml.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.python-version +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.readthedocs.yml.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.vscode/extensions.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/.vscode/settings.json.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/CHANGELOG.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/CODEOWNERS.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/CODE_STYLE.md.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/CONTRIBUTING.md.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/Dockerfile.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/LICENSE.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/README.md +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/SECURITY.md.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/SERVICE_CONNECTIONS.md.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/VERSION +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/codecov.yml.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/compose.yaml.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/Makefile.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/make.bat.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/partials/README_footer.md.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/partials/README_header.md.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/partials/README_main.md.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/_static/.keep +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/api_v1.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/api_v2.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/code-style.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/conf.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/contributing.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/index.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/main.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/reference.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/release-notes.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/docs/source/security.rst.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/examples/__init__.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/examples/notebook.ipynb.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/examples/notebook.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/examples/script.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/examples/streamlit.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/github-action-run.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/logo.png +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/n.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/noxfile.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/pyproject.toml.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/renovate.json +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/reports/.keep +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/sonar-project.properties.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/api.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/tests/__init__.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/tests/api_test.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/tests/cli_test.py.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/tests/fixtures/.keep +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/template/{{_copier_conf.answers_file}}.jinja +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/tests/__init__.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/tests/api_test.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/tests/cli_test.py +0 -0
- {oe_python_template-0.6.9 → oe_python_template-0.6.10}/tests/fixtures/.keep +0 -0
|
@@ -1,8 +1,9 @@
|
|
|
1
|
-
_commit: v0.6.
|
|
1
|
+
_commit: v0.6.9-1-g848aa2e
|
|
2
2
|
_src_path: .
|
|
3
3
|
author_email: helmuthva@gmail.com
|
|
4
4
|
author_github_username: helmut-hoffer-von-ankershoffen
|
|
5
5
|
author_name: Helmut Hoffer von Ankershoffen
|
|
6
|
+
docker_io_enabled: false
|
|
6
7
|
docker_io_image_name: oe-python-template
|
|
7
8
|
docker_io_owner: helmuthva
|
|
8
9
|
github_repository_name: oe-python-template
|
|
@@ -5,9 +5,7 @@ on:
|
|
|
5
5
|
tags:
|
|
6
6
|
- "v*.*.*"
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
# REGISTRY: docker.io
|
|
10
|
-
# IMAGE_NAME: helmuthva/oe-python-template
|
|
8
|
+
|
|
11
9
|
|
|
12
10
|
jobs:
|
|
13
11
|
docker_image_build_publish:
|
|
@@ -27,28 +25,29 @@ jobs:
|
|
|
27
25
|
- name: Set up Docker Buildx
|
|
28
26
|
uses: docker/setup-buildx-action@v3
|
|
29
27
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
# with:
|
|
33
|
-
# username: ${{ secrets.DOCKER_USERNAME }}
|
|
34
|
-
# password: ${{ secrets.DOCKER_PASSWORD }}
|
|
28
|
+
|
|
29
|
+
|
|
35
30
|
|
|
36
31
|
- name: Log in to GitHub container registry
|
|
37
32
|
uses: docker/login-action@v3
|
|
38
33
|
with:
|
|
39
34
|
registry: ghcr.io
|
|
35
|
+
|
|
40
36
|
username: ${{ github.actor }}
|
|
41
37
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
42
38
|
|
|
39
|
+
|
|
43
40
|
- name: Extract metadata (tags, labels) for Docker
|
|
44
41
|
id: meta
|
|
45
42
|
uses: docker/metadata-action@v5
|
|
46
43
|
with:
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
# ghcr.io/${{ github.repository }}
|
|
44
|
+
|
|
45
|
+
|
|
50
46
|
images: |
|
|
51
47
|
ghcr.io/${{ github.repository }}
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
52
51
|
tags: |
|
|
53
52
|
# set latest tag for releases
|
|
54
53
|
type=raw,value=latest
|
|
@@ -57,6 +56,8 @@ jobs:
|
|
|
57
56
|
type=semver,pattern={{major}}.{{minor}}
|
|
58
57
|
type=semver,pattern={{major}}
|
|
59
58
|
|
|
59
|
+
|
|
60
|
+
|
|
60
61
|
- name: Build and push Docker image
|
|
61
62
|
id: push
|
|
62
63
|
uses: docker/build-push-action@v6
|
|
@@ -67,10 +68,3 @@ jobs:
|
|
|
67
68
|
push: true
|
|
68
69
|
tags: ${{ steps.meta.outputs.tags }}
|
|
69
70
|
labels: ${{ steps.meta.outputs.labels }}
|
|
70
|
-
|
|
71
|
-
# - name: Generate artifact attestation
|
|
72
|
-
# uses: actions/attest-build-provenance@v2
|
|
73
|
-
# with:
|
|
74
|
-
# subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
75
|
-
# subject-digest: ${{ steps.push.outputs.digest }}
|
|
76
|
-
# push-to-registry: true
|
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
[🧠 OE Python Template](https://oe-python-template.readthedocs.io/en/latest/)
|
|
2
2
|
|
|
3
|
-
## [0.6.
|
|
3
|
+
## [0.6.10](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.9..0.6.10) - 2025-03-17
|
|
4
|
+
|
|
5
|
+
### Enh
|
|
6
|
+
|
|
7
|
+
- *(docker)* Make publishing to docker.io configurable - ([c0f3f6b](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/c0f3f6b59c071c8618cd7f10a8c3030ee069b1d0))
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
## [0.6.9](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.8..v0.6.9) - 2025-03-17
|
|
4
11
|
|
|
5
12
|
### ⚙️ Miscellaneous Tasks
|
|
6
13
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: oe-python-template
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.10
|
|
4
4
|
Summary: 🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
Project-URL: Homepage, https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
Project-URL: Documentation, https://oe-python-template.readthedocs.io/en/latest/
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
## [0.6.10](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.9..v0.6.10) - 2025-03-17
|
|
2
|
+
|
|
3
|
+
### Enh
|
|
4
|
+
|
|
5
|
+
- *(docker)* Make publishing to docker.io configurable - ([c0f3f6b](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/c0f3f6b59c071c8618cd7f10a8c3030ee069b1d0))
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
0.6.10
|
|
@@ -177,9 +177,14 @@ sonarqube_key:
|
|
|
177
177
|
Invalid sonarqube key
|
|
178
178
|
{% endif %}
|
|
179
179
|
|
|
180
|
+
docker_io_enabled:
|
|
181
|
+
type: bool
|
|
182
|
+
help: Do you want to publish Docker images to docker.io?
|
|
183
|
+
default: yes
|
|
184
|
+
|
|
180
185
|
docker_io_owner:
|
|
181
186
|
type: str
|
|
182
|
-
help: What is the name of the owner of images published to docker.io? You likely want to accept the default.
|
|
187
|
+
help: What is the name of the owner of images published to docker.io? You likely want to accept the default. If you selected to not publish to docker.io earlier, you can still use the default value here.
|
|
183
188
|
default: "{{ github_repository_owner }}"
|
|
184
189
|
validator: >-
|
|
185
190
|
{% if not docker_io_owner %}
|
|
@@ -188,7 +193,7 @@ docker_io_owner:
|
|
|
188
193
|
|
|
189
194
|
docker_io_image_name:
|
|
190
195
|
type: str
|
|
191
|
-
help: What is the name of the images published to docker.io? You likely want to accept the default.
|
|
196
|
+
help: What is the name of the images published to docker.io? You likely want to accept the default. If you selected to not publish to docker.io earlier, you can still use the default value here.
|
|
192
197
|
default: "{{ github_repository_name }}"
|
|
193
198
|
validator: >-
|
|
194
199
|
{% if not docker_io_image_name %}
|
|
@@ -0,0 +1,155 @@
|
|
|
1
|
+
Traceback (most recent call last):
|
|
2
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/bin/oe-python-template", line 4, in <module>
|
|
3
|
+
from oe_python_template.cli import cli
|
|
4
|
+
File "/Users/helmut/Code/oe-python-template/src/oe_python_template/cli.py", line 13, in <module>
|
|
5
|
+
from oe_python_template.api import api_v1, api_v2
|
|
6
|
+
File "/Users/helmut/Code/oe-python-template/src/oe_python_template/api.py", line 16, in <module>
|
|
7
|
+
from fastapi import Depends, FastAPI, Response, status
|
|
8
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/__init__.py", line 7, in <module>
|
|
9
|
+
from .applications import FastAPI as FastAPI
|
|
10
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/applications.py", line 16, in <module>
|
|
11
|
+
from fastapi import routing
|
|
12
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/routing.py", line 24, in <module>
|
|
13
|
+
from fastapi import params
|
|
14
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/params.py", line 5, in <module>
|
|
15
|
+
from fastapi.openapi.models import Example
|
|
16
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/fastapi/openapi/models.py", line 253, in <module>
|
|
17
|
+
class ParameterBase(BaseModelWithConfig):
|
|
18
|
+
...<11 lines>...
|
|
19
|
+
content: Optional[Dict[str, MediaType]] = None
|
|
20
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_model_construction.py", line 224, in __new__
|
|
21
|
+
complete_model_class(
|
|
22
|
+
~~~~~~~~~~~~~~~~~~~~^
|
|
23
|
+
cls,
|
|
24
|
+
^^^^
|
|
25
|
+
...<4 lines>...
|
|
26
|
+
create_model_module=_create_model_module,
|
|
27
|
+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
28
|
+
)
|
|
29
|
+
^
|
|
30
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_model_construction.py", line 602, in complete_model_class
|
|
31
|
+
schema = cls.__get_pydantic_core_schema__(cls, handler)
|
|
32
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/main.py", line 702, in __get_pydantic_core_schema__
|
|
33
|
+
return handler(source)
|
|
34
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_schema_generation_shared.py", line 84, in __call__
|
|
35
|
+
schema = self._handler(source_type)
|
|
36
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 610, in generate_schema
|
|
37
|
+
schema = self._generate_schema_inner(obj)
|
|
38
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 879, in _generate_schema_inner
|
|
39
|
+
return self._model_schema(obj)
|
|
40
|
+
~~~~~~~~~~~~~~~~~~^^^^^
|
|
41
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 691, in _model_schema
|
|
42
|
+
{k: self._generate_md_field_schema(k, v, decorators) for k, v in fields.items()},
|
|
43
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
|
|
44
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1071, in _generate_md_field_schema
|
|
45
|
+
common_field = self._common_field_schema(name, field_info, decorators)
|
|
46
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1263, in _common_field_schema
|
|
47
|
+
schema = self._apply_annotations(
|
|
48
|
+
source_type,
|
|
49
|
+
annotations + validators_from_decorators,
|
|
50
|
+
)
|
|
51
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 2056, in _apply_annotations
|
|
52
|
+
schema = get_inner_schema(source_type)
|
|
53
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_schema_generation_shared.py", line 84, in __call__
|
|
54
|
+
schema = self._handler(source_type)
|
|
55
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 2037, in inner_handler
|
|
56
|
+
schema = self._generate_schema_inner(obj)
|
|
57
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 884, in _generate_schema_inner
|
|
58
|
+
return self.match_type(obj)
|
|
59
|
+
~~~~~~~~~~~~~~~^^^^^
|
|
60
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 986, in match_type
|
|
61
|
+
return self._match_generic_type(obj, origin)
|
|
62
|
+
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|
|
63
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1014, in _match_generic_type
|
|
64
|
+
return self._union_schema(obj)
|
|
65
|
+
~~~~~~~~~~~~~~~~~~^^^^^
|
|
66
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1325, in _union_schema
|
|
67
|
+
choices.append(self.generate_schema(arg))
|
|
68
|
+
~~~~~~~~~~~~~~~~~~~~^^^^^
|
|
69
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 610, in generate_schema
|
|
70
|
+
schema = self._generate_schema_inner(obj)
|
|
71
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 884, in _generate_schema_inner
|
|
72
|
+
return self.match_type(obj)
|
|
73
|
+
~~~~~~~~~~~~~~~^^^^^
|
|
74
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 986, in match_type
|
|
75
|
+
return self._match_generic_type(obj, origin)
|
|
76
|
+
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|
|
77
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1024, in _match_generic_type
|
|
78
|
+
return self._dict_schema(*self._get_first_two_args_or_any(obj))
|
|
79
|
+
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
80
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 370, in _dict_schema
|
|
81
|
+
return core_schema.dict_schema(self.generate_schema(keys_type), self.generate_schema(values_type))
|
|
82
|
+
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|
|
83
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 605, in generate_schema
|
|
84
|
+
from_property = self._generate_schema_from_property(obj, obj)
|
|
85
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 759, in _generate_schema_from_property
|
|
86
|
+
schema = get_schema(
|
|
87
|
+
source, CallbackGetCoreSchemaHandler(self._generate_schema_inner, self, ref_mode=ref_mode)
|
|
88
|
+
)
|
|
89
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/main.py", line 702, in __get_pydantic_core_schema__
|
|
90
|
+
return handler(source)
|
|
91
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_schema_generation_shared.py", line 84, in __call__
|
|
92
|
+
schema = self._handler(source_type)
|
|
93
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 879, in _generate_schema_inner
|
|
94
|
+
return self._model_schema(obj)
|
|
95
|
+
~~~~~~~~~~~~~~~~~~^^^^^
|
|
96
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 691, in _model_schema
|
|
97
|
+
{k: self._generate_md_field_schema(k, v, decorators) for k, v in fields.items()},
|
|
98
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
|
|
99
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1071, in _generate_md_field_schema
|
|
100
|
+
common_field = self._common_field_schema(name, field_info, decorators)
|
|
101
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1263, in _common_field_schema
|
|
102
|
+
schema = self._apply_annotations(
|
|
103
|
+
source_type,
|
|
104
|
+
annotations + validators_from_decorators,
|
|
105
|
+
)
|
|
106
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 2056, in _apply_annotations
|
|
107
|
+
schema = get_inner_schema(source_type)
|
|
108
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_schema_generation_shared.py", line 84, in __call__
|
|
109
|
+
schema = self._handler(source_type)
|
|
110
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 2037, in inner_handler
|
|
111
|
+
schema = self._generate_schema_inner(obj)
|
|
112
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 884, in _generate_schema_inner
|
|
113
|
+
return self.match_type(obj)
|
|
114
|
+
~~~~~~~~~~~~~~~^^^^^
|
|
115
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 986, in match_type
|
|
116
|
+
return self._match_generic_type(obj, origin)
|
|
117
|
+
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|
|
118
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1014, in _match_generic_type
|
|
119
|
+
return self._union_schema(obj)
|
|
120
|
+
~~~~~~~~~~~~~~~~~~^^^^^
|
|
121
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1325, in _union_schema
|
|
122
|
+
choices.append(self.generate_schema(arg))
|
|
123
|
+
~~~~~~~~~~~~~~~~~~~~^^^^^
|
|
124
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 610, in generate_schema
|
|
125
|
+
schema = self._generate_schema_inner(obj)
|
|
126
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 884, in _generate_schema_inner
|
|
127
|
+
return self.match_type(obj)
|
|
128
|
+
~~~~~~~~~~~~~~~^^^^^
|
|
129
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 986, in match_type
|
|
130
|
+
return self._match_generic_type(obj, origin)
|
|
131
|
+
~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|
|
132
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 1024, in _match_generic_type
|
|
133
|
+
return self._dict_schema(*self._get_first_two_args_or_any(obj))
|
|
134
|
+
~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
135
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 370, in _dict_schema
|
|
136
|
+
return core_schema.dict_schema(self.generate_schema(keys_type), self.generate_schema(values_type))
|
|
137
|
+
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
|
|
138
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 605, in generate_schema
|
|
139
|
+
from_property = self._generate_schema_from_property(obj, obj)
|
|
140
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 759, in _generate_schema_from_property
|
|
141
|
+
schema = get_schema(
|
|
142
|
+
source, CallbackGetCoreSchemaHandler(self._generate_schema_inner, self, ref_mode=ref_mode)
|
|
143
|
+
)
|
|
144
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/main.py", line 702, in __get_pydantic_core_schema__
|
|
145
|
+
return handler(source)
|
|
146
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_schema_generation_shared.py", line 84, in __call__
|
|
147
|
+
schema = self._handler(source_type)
|
|
148
|
+
File "/Users/helmut/Code/oe-python-template/.nox/docs-3-13/lib/python3.13/site-packages/pydantic/_internal/_generate_schema.py", line 878, in _generate_schema_inner
|
|
149
|
+
with self.model_type_stack.push(obj):
|
|
150
|
+
~~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^
|
|
151
|
+
File "/opt/homebrew/Cellar/python@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/contextlib.py", line 305, in helper
|
|
152
|
+
return _GeneratorContextManager(func, args, kwds)
|
|
153
|
+
File "/opt/homebrew/Cellar/python@3.13/3.13.2/Frameworks/Python.framework/Versions/3.13/lib/python3.13/contextlib.py", line 112, in __init__
|
|
154
|
+
doc = getattr(func, "__doc__", None)
|
|
155
|
+
KeyboardInterrupt
|
|
@@ -1,19 +1,5 @@
|
|
|
1
1
|
components:
|
|
2
2
|
schemas:
|
|
3
|
-
EchoRequest:
|
|
4
|
-
description: Request model for echo endpoint.
|
|
5
|
-
properties:
|
|
6
|
-
text:
|
|
7
|
-
description: The text to echo back
|
|
8
|
-
examples:
|
|
9
|
-
- Hello, world!
|
|
10
|
-
minLength: 1
|
|
11
|
-
title: Text
|
|
12
|
-
type: string
|
|
13
|
-
required:
|
|
14
|
-
- text
|
|
15
|
-
title: EchoRequest
|
|
16
|
-
type: object
|
|
17
3
|
EchoResponse:
|
|
18
4
|
description: Response model for echo endpoint.
|
|
19
5
|
properties:
|
|
@@ -64,6 +50,20 @@ components:
|
|
|
64
50
|
- message
|
|
65
51
|
title: HelloWorldResponse
|
|
66
52
|
type: object
|
|
53
|
+
Utterance:
|
|
54
|
+
description: Request model for echo endpoint.
|
|
55
|
+
properties:
|
|
56
|
+
utterance:
|
|
57
|
+
description: The utterance to echo back
|
|
58
|
+
examples:
|
|
59
|
+
- Hello, world!
|
|
60
|
+
minLength: 1
|
|
61
|
+
title: Utterance
|
|
62
|
+
type: string
|
|
63
|
+
required:
|
|
64
|
+
- utterance
|
|
65
|
+
title: Utterance
|
|
66
|
+
type: object
|
|
67
67
|
ValidationError:
|
|
68
68
|
properties:
|
|
69
69
|
loc:
|
|
@@ -99,21 +99,21 @@ info:
|
|
|
99
99
|
url: https://github.com/helmut-hoffer-von-ankershoffen
|
|
100
100
|
termsOfService: https://oe-python-template.readthedocs.io/en/latest/
|
|
101
101
|
title: OE Python Template
|
|
102
|
-
version:
|
|
102
|
+
version: 2.0.0
|
|
103
103
|
openapi: 3.1.0
|
|
104
104
|
paths:
|
|
105
105
|
/echo:
|
|
106
106
|
post:
|
|
107
|
-
description: "Echo back the provided
|
|
108
|
-
\ The request containing the
|
|
109
|
-
\ A response containing the echoed
|
|
110
|
-
\ Entity: If
|
|
111
|
-
operationId:
|
|
107
|
+
description: "Echo back the provided utterance.\n\nArgs:\n request (Utterance):\
|
|
108
|
+
\ The request containing the utterance to echo back.\n\nReturns:\n EchoResponse:\
|
|
109
|
+
\ A response containing the echoed utterance.\n\nRaises:\n 422 Unprocessable\
|
|
110
|
+
\ Entity: If utterance is not provided or empty."
|
|
111
|
+
operationId: echo_v2_echo_post
|
|
112
112
|
requestBody:
|
|
113
113
|
content:
|
|
114
114
|
application/json:
|
|
115
115
|
schema:
|
|
116
|
-
$ref: '#/components/schemas/
|
|
116
|
+
$ref: '#/components/schemas/Utterance'
|
|
117
117
|
required: true
|
|
118
118
|
responses:
|
|
119
119
|
'200':
|
|
@@ -128,7 +128,7 @@ paths:
|
|
|
128
128
|
schema:
|
|
129
129
|
$ref: '#/components/schemas/HTTPValidationError'
|
|
130
130
|
description: Validation Error
|
|
131
|
-
summary: Echo
|
|
131
|
+
summary: Echo V2
|
|
132
132
|
tags:
|
|
133
133
|
- Basics
|
|
134
134
|
/health:
|
|
@@ -29,7 +29,7 @@ extensions = [
|
|
|
29
29
|
project = "oe-python-template"
|
|
30
30
|
author = "Helmut Hoffer von Ankershoffen"
|
|
31
31
|
copyright = f" (c) 2025-{datetime.now(UTC).year}, {author}" # noqa: A001
|
|
32
|
-
version = "0.6.
|
|
32
|
+
version = "0.6.10"
|
|
33
33
|
release = version
|
|
34
34
|
github_username = "helmut-hoffer-von-ankershoffen"
|
|
35
35
|
github_repository = "oe-python-template"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "oe-python-template"
|
|
3
|
-
version = "0.6.
|
|
3
|
+
version = "0.6.10"
|
|
4
4
|
description = "🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling."
|
|
5
5
|
readme = "README.md"
|
|
6
6
|
authors = [
|
|
@@ -242,7 +242,7 @@ source = ["src/"]
|
|
|
242
242
|
|
|
243
243
|
|
|
244
244
|
[tool.bumpversion]
|
|
245
|
-
current_version = "0.6.
|
|
245
|
+
current_version = "0.6.10"
|
|
246
246
|
parse = "(?P<major>\\d+)\\.(?P<minor>\\d+)\\.(?P<patch>\\d+)"
|
|
247
247
|
serialize = ["{major}.{minor}.{patch}"]
|
|
248
248
|
search = "{current_version}"
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
sonar.projectKey=helmut-hoffer-von-ankershoffen_oe-python-template
|
|
2
2
|
sonar.organization=helmut-hoffer-von-ankershoffen
|
|
3
|
-
sonar.projectVersion=0.6.
|
|
3
|
+
sonar.projectVersion=0.6.10
|
|
4
4
|
sonar.projectDescription=🧠 Copier template to scaffold Python projects compliant with best practices and modern tooling.
|
|
5
5
|
sonar.links.homepage=https://oe-python-template.readthedocs.io/en/latest/
|
|
6
6
|
sonar.links.scm=https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template
|
|
@@ -5,11 +5,12 @@ on:
|
|
|
5
5
|
tags:
|
|
6
6
|
- "v*.*.*"
|
|
7
7
|
|
|
8
|
+
{% if docker_io_enabled %}
|
|
8
9
|
env:
|
|
9
10
|
REGISTRY: docker.io
|
|
10
11
|
IMAGE_NAME: {{ docker_io_owner }}/{{ docker_io_image_name }}
|
|
12
|
+
{% endif %}
|
|
11
13
|
|
|
12
|
-
{% raw %}
|
|
13
14
|
jobs:
|
|
14
15
|
docker_image_build_publish:
|
|
15
16
|
runs-on: ubuntu-latest
|
|
@@ -28,26 +29,43 @@ jobs:
|
|
|
28
29
|
- name: Set up Docker Buildx
|
|
29
30
|
uses: docker/setup-buildx-action@v3
|
|
30
31
|
|
|
32
|
+
|
|
33
|
+
{% if docker_io_enabled %}
|
|
31
34
|
- name: Log in to Docker Hub
|
|
32
35
|
uses: docker/login-action@v3
|
|
33
36
|
with:
|
|
37
|
+
{% raw %}
|
|
34
38
|
username: ${{ secrets.DOCKER_USERNAME }}
|
|
35
39
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
|
40
|
+
{% endraw %}
|
|
41
|
+
{% endif %}
|
|
36
42
|
|
|
37
43
|
- name: Log in to GitHub container registry
|
|
38
44
|
uses: docker/login-action@v3
|
|
39
45
|
with:
|
|
40
46
|
registry: ghcr.io
|
|
47
|
+
{% raw %}
|
|
41
48
|
username: ${{ github.actor }}
|
|
42
49
|
password: ${{ secrets.GITHUB_TOKEN }}
|
|
50
|
+
{% endraw %}
|
|
43
51
|
|
|
44
52
|
- name: Extract metadata (tags, labels) for Docker
|
|
45
53
|
id: meta
|
|
46
54
|
uses: docker/metadata-action@v5
|
|
47
55
|
with:
|
|
48
|
-
|
|
56
|
+
{% if docker_io_enabled %}
|
|
57
|
+
{% raw %}
|
|
58
|
+
images: |
|
|
49
59
|
${{ env.IMAGE_NAME }}
|
|
50
60
|
ghcr.io/${{ github.repository }}
|
|
61
|
+
{% endraw %}
|
|
62
|
+
{% else %}
|
|
63
|
+
{% raw %}
|
|
64
|
+
images: |
|
|
65
|
+
ghcr.io/${{ github.repository }}
|
|
66
|
+
{% endraw %}
|
|
67
|
+
{% endif %}
|
|
68
|
+
{% raw %}
|
|
51
69
|
tags: |
|
|
52
70
|
# set latest tag for releases
|
|
53
71
|
type=raw,value=latest
|
|
@@ -55,7 +73,9 @@ jobs:
|
|
|
55
73
|
type=semver,pattern={{version}}
|
|
56
74
|
type=semver,pattern={{major}}.{{minor}}
|
|
57
75
|
type=semver,pattern={{major}}
|
|
76
|
+
{% endraw %}
|
|
58
77
|
|
|
78
|
+
{% raw %}
|
|
59
79
|
- name: Build and push Docker image
|
|
60
80
|
id: push
|
|
61
81
|
uses: docker/build-push-action@v6
|
|
@@ -66,10 +86,15 @@ jobs:
|
|
|
66
86
|
push: true
|
|
67
87
|
tags: ${{ steps.meta.outputs.tags }}
|
|
68
88
|
labels: ${{ steps.meta.outputs.labels }}
|
|
89
|
+
{% endraw %}
|
|
69
90
|
|
|
91
|
+
{% if docker_io_enabled %}
|
|
92
|
+
{% raw %}
|
|
70
93
|
- name: Generate artifact attestation
|
|
71
94
|
uses: actions/attest-build-provenance@v2
|
|
72
95
|
with:
|
|
73
96
|
subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
|
|
74
|
-
subject-digest: ${{ steps.push.outputs.digest }}
|
|
97
|
+
subject-digest: ${{ steps.push.outputs.digest }}
|
|
75
98
|
push-to-registry: true
|
|
99
|
+
{% endraw %}
|
|
100
|
+
{% endif %}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
## [0.6.9](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.8..v0.6.9) - 2025-03-17
|
|
2
|
-
|
|
3
|
-
### ⚙️ Miscellaneous Tasks
|
|
4
|
-
|
|
5
|
-
- *(docker)* Try to push to ghcr.io. only - ([6b7146a](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/6b7146aaee8b9e55dcd3a401a550a49e86b92981))
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
oe_python_template-0.6.9/VERSION
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
0.6.9
|