templatepy 0.16.0__tar.gz → 0.16.2__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 (45) hide show
  1. {templatepy-0.16.0 → templatepy-0.16.2}/PKG-INFO +1 -1
  2. templatepy-0.16.2/VERSION +1 -0
  3. {templatepy-0.16.0 → templatepy-0.16.2}/pyproject.toml +1 -1
  4. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/ci.yml +14 -3
  5. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/ci.yml +14 -3
  6. templatepy-0.16.0/VERSION +0 -1
  7. {templatepy-0.16.0 → templatepy-0.16.2}/.gitignore +0 -0
  8. {templatepy-0.16.0 → templatepy-0.16.2}/CITATION.cff +0 -0
  9. {templatepy-0.16.0 → templatepy-0.16.2}/LICENSE +0 -0
  10. {templatepy-0.16.0 → templatepy-0.16.2}/README.md +0 -0
  11. {templatepy-0.16.0 → templatepy-0.16.2}/copier.yaml +0 -0
  12. {templatepy-0.16.0 → templatepy-0.16.2}/src/templatepy/__init__.py +0 -0
  13. {templatepy-0.16.0 → templatepy-0.16.2}/template/.githooks/fix_commit_msg.py +0 -0
  14. {templatepy-0.16.0 → templatepy-0.16.2}/template/.gitignore +0 -0
  15. {templatepy-0.16.0 → templatepy-0.16.2}/template/.gitleaks.toml +0 -0
  16. {templatepy-0.16.0 → templatepy-0.16.2}/template/.gitlint +0 -0
  17. {templatepy-0.16.0 → templatepy-0.16.2}/template/.pre-commit-config.yaml +0 -0
  18. {templatepy-0.16.0 → templatepy-0.16.2}/template/CITATION.cff +0 -0
  19. {templatepy-0.16.0 → templatepy-0.16.2}/template/CODE_OF_CONDUCT.md +0 -0
  20. {templatepy-0.16.0 → templatepy-0.16.2}/template/CONTRIBUTING.md +0 -0
  21. {templatepy-0.16.0 → templatepy-0.16.2}/template/LICENSE +0 -0
  22. {templatepy-0.16.0 → templatepy-0.16.2}/template/README.md +0 -0
  23. {templatepy-0.16.0 → templatepy-0.16.2}/template/VERSION +0 -0
  24. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/[% if enable_docs_publishing %]docs.yml[% endif %] +0 -0
  25. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/[% if enable_llm_pr_review %]pr-review.yml[% endif %] +0 -0
  26. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/release.yml +0 -0
  27. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/ISSUE_TEMPLATE/bug_report.md +0 -0
  28. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/ISSUE_TEMPLATE/feature_request.md +0 -0
  29. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/PULL_REQUEST_TEMPLATE.md +0 -0
  30. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/[% if enable_docs_publishing %]docs.yml[% endif %] +0 -0
  31. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/[% if enable_llm_pr_review %]pr-review.yml[% endif %] +0 -0
  32. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/release.yml +0 -0
  33. {templatepy-0.16.0 → templatepy-0.16.2}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/versioning.yml +0 -0
  34. {templatepy-0.16.0 → templatepy-0.16.2}/template/[[ _copier_conf.answers_file ]] +0 -0
  35. {templatepy-0.16.0 → templatepy-0.16.2}/template/docs/index.md +0 -0
  36. {templatepy-0.16.0 → templatepy-0.16.2}/template/docs/repository-setup.md +0 -0
  37. {templatepy-0.16.0 → templatepy-0.16.2}/template/mkdocs.yml +0 -0
  38. {templatepy-0.16.0 → templatepy-0.16.2}/template/pyproject.toml +0 -0
  39. {templatepy-0.16.0 → templatepy-0.16.2}/template/scripts/setup_branch_protection.sh +0 -0
  40. {templatepy-0.16.0 → templatepy-0.16.2}/template/scripts/setup_repo.sh +0 -0
  41. {templatepy-0.16.0 → templatepy-0.16.2}/template/src/[[ project_slug ]]/__init__.py +0 -0
  42. {templatepy-0.16.0 → templatepy-0.16.2}/template/src/[[ project_slug ]]/py.typed +0 -0
  43. {templatepy-0.16.0 → templatepy-0.16.2}/template/tests/conftest.py +0 -0
  44. {templatepy-0.16.0 → templatepy-0.16.2}/template/tests/integration/test_integration_placeholder.py +0 -0
  45. {templatepy-0.16.0 → templatepy-0.16.2}/template/tests/unit/test_unit_placeholder.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: templatepy
3
- Version: 0.16.0
3
+ Version: 0.16.2
4
4
  Summary: Copier template for modern Python packages
5
5
  Project-URL: Homepage, https://github.com/larsrollik/templatepy
6
6
  Project-URL: Documentation, https://larsrollik.github.io/templatepy
@@ -0,0 +1 @@
1
+ 0.16.2
@@ -51,7 +51,7 @@ include = ["src", "copier.yaml", "template", "CITATION.cff", "README.md", "VERSI
51
51
 
52
52
  [tool.commitizen]
53
53
  version_provider = "commitizen"
54
- version = "0.16.0"
54
+ version = "0.16.2"
55
55
  version_files = ["VERSION"]
56
56
  tag_format = "v$version"
57
57
  update_changelog_on_bump = false
@@ -106,9 +106,20 @@ jobs:
106
106
  needs: [lint, test]
107
107
  if: always()
108
108
  steps:
109
- - name: Check required jobs
110
- run: |
111
- [% raw %]
109
+ [#
110
+ `[% raw %]` sits ON the `run: |` line, not under it, and that is load-bearing.
111
+ On its own line it renders as a blank FIRST line inside the block scalar, and
112
+ Forgejo's workflow parser then rejects the whole file:
113
+ jobparser.Parse: invalid workflow ... SetJob: yaml: line 6: did not find expected key
114
+ The file is valid YAML to PyYAML and runs fine on GitHub Actions, so the
115
+ breakage is invisible locally. Worse, the failed run shows the COMMIT MESSAGE
116
+ as its job name and lists no jobs, which reads as a push problem rather than a
117
+ workflow one. Measured 2026-10-24 by bisecting on a throwaway repo against
118
+ Forgejo 12; removing that one blank line was the whole fix.
119
+ The `raw` block itself must stay: the bash `[[ ... ]]` tests below collide with
120
+ this template's `[[ ]]` variable delimiters.
121
+ #] - name: Check required jobs
122
+ run: |[% raw %]
112
123
  if [[ "${{ needs.lint.result }}" != "success" && "${{ needs.lint.result }}" != "skipped" ]]; then
113
124
  echo "lint failed" && exit 1
114
125
  fi
@@ -117,9 +117,20 @@ jobs:
117
117
  needs: [lint, test]
118
118
  if: always()
119
119
  steps:
120
- - name: Check required jobs
121
- run: |
122
- [% raw %]
120
+ [#
121
+ `[% raw %]` sits ON the `run: |` line, not under it, and that is load-bearing.
122
+ On its own line it renders as a blank FIRST line inside the block scalar, and
123
+ Forgejo's workflow parser then rejects the whole file:
124
+ jobparser.Parse: invalid workflow ... SetJob: yaml: line 6: did not find expected key
125
+ The file is valid YAML to PyYAML and runs fine on GitHub Actions, so the
126
+ breakage is invisible locally. Worse, the failed run shows the COMMIT MESSAGE
127
+ as its job name and lists no jobs, which reads as a push problem rather than a
128
+ workflow one. Measured 2026-10-24 by bisecting on a throwaway repo against
129
+ Forgejo 12; removing that one blank line was the whole fix.
130
+ The `raw` block itself must stay: the bash `[[ ... ]]` tests below collide with
131
+ this template's `[[ ]]` variable delimiters.
132
+ #] - name: Check required jobs
133
+ run: |[% raw %]
123
134
  if [[ "${{ needs.lint.result }}" != "success" && "${{ needs.lint.result }}" != "skipped" ]]; then
124
135
  echo "lint failed" && exit 1
125
136
  fi
templatepy-0.16.0/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.16.0
File without changes
File without changes
File without changes
File without changes
File without changes