oe-python-template 0.6.8__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.
Files changed (168) hide show
  1. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.copier-answers.yml +2 -1
  2. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.github/workflows/docker-image-build-publish.yml +12 -16
  3. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/CHANGELOG.md +15 -1
  4. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/PKG-INFO +1 -1
  5. oe_python_template-0.6.10/RELEASE_NOTES.md +8 -0
  6. oe_python_template-0.6.10/VERSION +1 -0
  7. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/copier.yml +7 -2
  8. oe_python_template-0.6.10/docs/source/_static/openapi_v1.yaml +155 -0
  9. oe_python_template-0.6.8/docs/source/_static/openapi_v1.yaml → oe_python_template-0.6.10/docs/source/_static/openapi_v2.yaml +22 -22
  10. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/conf.py +1 -1
  11. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/pyproject.toml +2 -2
  12. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/sonar-project.properties +1 -1
  13. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.github/workflows/docker-image-build-publish.yml.jinja +29 -3
  14. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/uv.lock +1 -1
  15. oe_python_template-0.6.8/RELEASE_NOTES.md +0 -8
  16. oe_python_template-0.6.8/VERSION +0 -1
  17. oe_python_template-0.6.8/docs/source/_static/openapi_v2.yaml +0 -188
  18. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.act-env-public +0 -0
  19. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.devcontainer/Dockerfile +0 -0
  20. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.devcontainer/devcontainer.json +0 -0
  21. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.devcontainer/onCreateCommand +0 -0
  22. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.devcontainer/postAttachCommand +0 -0
  23. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.devcontainer/postCreateCommand +0 -0
  24. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.env.example +0 -0
  25. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.github/copilot-instructions.md +0 -0
  26. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.github/dependabot.yml +0 -0
  27. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.github/prompts/.keep +0 -0
  28. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.github/workflows/codeql.yml +0 -0
  29. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.github/workflows/package-build-publish-release.yml +0 -0
  30. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.github/workflows/test-and-report.yml +0 -0
  31. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.gitignore +0 -0
  32. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.pre-commit-config.yaml +0 -0
  33. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.python-version +0 -0
  34. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.readthedocs.yml +0 -0
  35. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.secrets.baseline +0 -0
  36. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.vscode/extensions.json +0 -0
  37. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/.vscode/settings.json +0 -0
  38. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/CODEOWNERS +0 -0
  39. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/CODE_STYLE.md +0 -0
  40. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/CONTRIBUTING.md +0 -0
  41. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/Dockerfile +0 -0
  42. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/LICENSE +0 -0
  43. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/README.md +0 -0
  44. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/SECURITY.md +0 -0
  45. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/SERVICE_CONNECTIONS.md +0 -0
  46. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/bin/git-cliff +0 -0
  47. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/codecov.yml +0 -0
  48. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/compose.yaml +0 -0
  49. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/Makefile +0 -0
  50. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/make.bat +0 -0
  51. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/partials/README_footer.md +0 -0
  52. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/partials/README_header.md +0 -0
  53. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/partials/README_main.md +0 -0
  54. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/_static/.keep +0 -0
  55. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/_static/openapi_v1.json +0 -0
  56. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/_static/openapi_v2.json +0 -0
  57. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/api_v1.rst +0 -0
  58. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/api_v2.rst +0 -0
  59. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/code-style.rst +0 -0
  60. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/contributing.rst +0 -0
  61. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/index.rst +0 -0
  62. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/latexmkrc +0 -0
  63. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/main.rst +0 -0
  64. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/reference.rst +0 -0
  65. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/release-notes.rst +0 -0
  66. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/docs/source/security.rst +0 -0
  67. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/examples/__init__.py +0 -0
  68. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/examples/notebook.ipynb +0 -0
  69. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/examples/notebook.py +0 -0
  70. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/examples/script.py +0 -0
  71. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/examples/streamlit.py +0 -0
  72. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/CHANGELOG.md +0 -0
  73. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/LICENSE-APACHE +0 -0
  74. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/LICENSE-MIT +0 -0
  75. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/README.md +0 -0
  76. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/_git-cliff +0 -0
  77. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/_git-cliff.ps1 +0 -0
  78. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/git-cliff.bash +0 -0
  79. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/git-cliff.elv +0 -0
  80. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/completions/git-cliff.fish +0 -0
  81. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/git-cliff-completions +0 -0
  82. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/git-cliff-mangen +0 -0
  83. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0/man/git-cliff.1 +0 -0
  84. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/git-cliff-2.7.0-x86_64-unknown-linux-gnu.tar.gz +0 -0
  85. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/github-action-run +0 -0
  86. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/logo.png +0 -0
  87. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/n +0 -0
  88. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/noxfile.py +0 -0
  89. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/renovate.json +0 -0
  90. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/reports/.keep +0 -0
  91. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/src/oe_python_template/__init__.py +0 -0
  92. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/src/oe_python_template/api.py +0 -0
  93. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/src/oe_python_template/cli.py +0 -0
  94. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/src/oe_python_template/constants.py +0 -0
  95. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/src/oe_python_template/service.py +0 -0
  96. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.act-env-public.jinja +0 -0
  97. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.devcontainer/Dockerfile.jinja +0 -0
  98. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.devcontainer/devcontainer.json.jinja +0 -0
  99. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.devcontainer/onCreateCommand.jinja +0 -0
  100. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.devcontainer/postAttachCommand.jinja +0 -0
  101. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.devcontainer/postCreateCommand.jinja +0 -0
  102. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.env.example.jinja +0 -0
  103. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.github/copilot-instructions.md +0 -0
  104. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.github/dependabot.yml +0 -0
  105. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.github/workflows/codeql.yml +0 -0
  106. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.github/workflows/package-build-publish-release.yml.jinja +0 -0
  107. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.github/workflows/test-and-report.yml.jinja +0 -0
  108. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.gitignore.jinja +0 -0
  109. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.pre-commit-config.yaml.jinja +0 -0
  110. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.python-version +0 -0
  111. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.readthedocs.yml.jinja +0 -0
  112. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.vscode/extensions.json +0 -0
  113. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/.vscode/settings.json.jinja +0 -0
  114. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/CHANGELOG.md +0 -0
  115. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/CODEOWNERS.jinja +0 -0
  116. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/CODE_STYLE.md.jinja +0 -0
  117. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/CONTRIBUTING.md.jinja +0 -0
  118. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/Dockerfile.jinja +0 -0
  119. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/LICENSE.jinja +0 -0
  120. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/README.md +0 -0
  121. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/SECURITY.md.jinja +0 -0
  122. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/SERVICE_CONNECTIONS.md.jinja +0 -0
  123. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/VERSION +0 -0
  124. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/codecov.yml.jinja +0 -0
  125. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/compose.yaml.jinja +0 -0
  126. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/Makefile.jinja +0 -0
  127. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/make.bat.jinja +0 -0
  128. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/partials/README_footer.md.jinja +0 -0
  129. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/partials/README_header.md.jinja +0 -0
  130. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/partials/README_main.md.jinja +0 -0
  131. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/_static/.keep +0 -0
  132. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/api_v1.rst.jinja +0 -0
  133. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/api_v2.rst.jinja +0 -0
  134. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/code-style.rst.jinja +0 -0
  135. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/conf.py.jinja +0 -0
  136. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/contributing.rst.jinja +0 -0
  137. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/index.rst.jinja +0 -0
  138. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/main.rst.jinja +0 -0
  139. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/reference.rst.jinja +0 -0
  140. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/release-notes.rst.jinja +0 -0
  141. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/docs/source/security.rst.jinja +0 -0
  142. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/examples/__init__.py.jinja +0 -0
  143. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/examples/notebook.ipynb.jinja +0 -0
  144. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/examples/notebook.py.jinja +0 -0
  145. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/examples/script.py.jinja +0 -0
  146. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/examples/streamlit.py.jinja +0 -0
  147. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/github-action-run.jinja +0 -0
  148. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/logo.png +0 -0
  149. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/n.jinja +0 -0
  150. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/noxfile.py.jinja +0 -0
  151. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/pyproject.toml.jinja +0 -0
  152. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/renovate.json +0 -0
  153. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/reports/.keep +0 -0
  154. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/sonar-project.properties.jinja +0 -0
  155. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/__init__.py.jinja +0 -0
  156. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/api.py.jinja +0 -0
  157. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/cli.py.jinja +0 -0
  158. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/constants.py.jinja +0 -0
  159. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/src/{{ project_name_snake_case }}/service.py.jinja +0 -0
  160. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/tests/__init__.py.jinja +0 -0
  161. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/tests/api_test.py.jinja +0 -0
  162. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/tests/cli_test.py.jinja +0 -0
  163. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/tests/fixtures/.keep +0 -0
  164. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/template/{{_copier_conf.answers_file}}.jinja +0 -0
  165. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/tests/__init__.py +0 -0
  166. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/tests/api_test.py +0 -0
  167. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/tests/cli_test.py +0 -0
  168. {oe_python_template-0.6.8 → oe_python_template-0.6.10}/tests/fixtures/.keep +0 -0
@@ -1,8 +1,9 @@
1
- _commit: v0.6.7-1-g972ed64
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,6 @@ on:
5
5
  tags:
6
6
  - "v*.*.*"
7
7
 
8
- env:
9
- REGISTRY: docker.io
10
- IMAGE_NAME: helmuthva/oe-python-template
11
8
 
12
9
 
13
10
  jobs:
@@ -28,25 +25,29 @@ jobs:
28
25
  - name: Set up Docker Buildx
29
26
  uses: docker/setup-buildx-action@v3
30
27
 
31
- - name: Log in to Docker Hub
32
- uses: docker/login-action@v3
33
- with:
34
- username: ${{ secrets.DOCKER_USERNAME }}
35
- password: ${{ secrets.DOCKER_PASSWORD }}
28
+
29
+
36
30
 
37
31
  - name: Log in to GitHub container registry
38
32
  uses: docker/login-action@v3
39
33
  with:
40
34
  registry: ghcr.io
35
+
41
36
  username: ${{ github.actor }}
42
37
  password: ${{ secrets.GITHUB_TOKEN }}
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:
44
+
45
+
47
46
  images: |
48
- ${{ env.IMAGE_NAME }}
49
47
  ghcr.io/${{ github.repository }}
48
+
49
+
50
+
50
51
  tags: |
51
52
  # set latest tag for releases
52
53
  type=raw,value=latest
@@ -55,6 +56,8 @@ jobs:
55
56
  type=semver,pattern={{major}}.{{minor}}
56
57
  type=semver,pattern={{major}}
57
58
 
59
+
60
+
58
61
  - name: Build and push Docker image
59
62
  id: push
60
63
  uses: docker/build-push-action@v6
@@ -65,10 +68,3 @@ jobs:
65
68
  push: true
66
69
  tags: ${{ steps.meta.outputs.tags }}
67
70
  labels: ${{ steps.meta.outputs.labels }}
68
-
69
- - name: Generate artifact attestation
70
- uses: actions/attest-build-provenance@v2
71
- with:
72
- subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
73
- subject-digest: ${{ steps.push.outputs.digest }}
74
- push-to-registry: true
@@ -1,6 +1,20 @@
1
1
  [🧠 OE Python Template](https://oe-python-template.readthedocs.io/en/latest/)
2
2
 
3
- ## [0.6.8](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.7..0.6.8) - 2025-03-17
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
11
+
12
+ ### ⚙️ Miscellaneous Tasks
13
+
14
+ - *(docker)* Try to push to ghcr.io. only - ([6b7146a](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/6b7146aaee8b9e55dcd3a401a550a49e86b92981))
15
+
16
+
17
+ ## [0.6.8](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.7..v0.6.8) - 2025-03-17
4
18
 
5
19
  ### 🐛 Bug Fixes
6
20
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: oe-python-template
3
- Version: 0.6.8
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: 1.0.0
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 text.\n\nArgs:\n request (EchoRequest):\
108
- \ The request containing the text to echo back.\n\nReturns:\n EchoResponse:\
109
- \ A response containing the echoed text.\n\nRaises:\n 422 Unprocessable\
110
- \ Entity: If text is not provided or empty."
111
- operationId: echo_echo_post
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/EchoRequest'
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.8"
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.8"
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.8"
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.8
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,25 +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 %}
51
+
43
52
  - name: Extract metadata (tags, labels) for Docker
44
53
  id: meta
45
54
  uses: docker/metadata-action@v5
46
55
  with:
47
- images: |
56
+ {% if docker_io_enabled %}
57
+ {% raw %}
58
+ images: |
48
59
  ${{ env.IMAGE_NAME }}
49
60
  ghcr.io/${{ github.repository }}
61
+ {% endraw %}
62
+ {% else %}
63
+ {% raw %}
64
+ images: |
65
+ ghcr.io/${{ github.repository }}
66
+ {% endraw %}
67
+ {% endif %}
68
+ {% raw %}
50
69
  tags: |
51
70
  # set latest tag for releases
52
71
  type=raw,value=latest
@@ -54,7 +73,9 @@ jobs:
54
73
  type=semver,pattern={{version}}
55
74
  type=semver,pattern={{major}}.{{minor}}
56
75
  type=semver,pattern={{major}}
76
+ {% endraw %}
57
77
 
78
+ {% raw %}
58
79
  - name: Build and push Docker image
59
80
  id: push
60
81
  uses: docker/build-push-action@v6
@@ -65,10 +86,15 @@ jobs:
65
86
  push: true
66
87
  tags: ${{ steps.meta.outputs.tags }}
67
88
  labels: ${{ steps.meta.outputs.labels }}
89
+ {% endraw %}
68
90
 
91
+ {% if docker_io_enabled %}
92
+ {% raw %}
69
93
  - name: Generate artifact attestation
70
94
  uses: actions/attest-build-provenance@v2
71
95
  with:
72
96
  subject-name: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
73
- subject-digest: ${{ steps.push.outputs.digest }}{% endraw %}
97
+ subject-digest: ${{ steps.push.outputs.digest }}
74
98
  push-to-registry: true
99
+ {% endraw %}
100
+ {% endif %}
@@ -2075,7 +2075,7 @@ wheels = [
2075
2075
 
2076
2076
  [[package]]
2077
2077
  name = "oe-python-template"
2078
- version = "0.6.8"
2078
+ version = "0.6.10"
2079
2079
  source = { editable = "." }
2080
2080
  dependencies = [
2081
2081
  { name = "fastapi", extra = ["all", "standard"] },
@@ -1,8 +0,0 @@
1
- ## [0.6.8](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/compare/v0.6.7..v0.6.8) - 2025-03-17
2
-
3
- ### 🐛 Bug Fixes
4
-
5
- - *(rtd)* Quotes - ([8d307a6](https://github.com/helmut-hoffer-von-ankershoffen/oe-python-template/commit/8d307a6da8c1e594aac499c875863d776f34e5e4))
6
-
7
-
8
-
@@ -1 +0,0 @@
1
- 0.6.8