templatepy 0.16.3__tar.gz → 0.16.4__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.3 → templatepy-0.16.4}/PKG-INFO +1 -1
  2. templatepy-0.16.4/VERSION +1 -0
  3. {templatepy-0.16.3 → templatepy-0.16.4}/pyproject.toml +1 -1
  4. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/release.yml +14 -2
  5. templatepy-0.16.3/VERSION +0 -1
  6. {templatepy-0.16.3 → templatepy-0.16.4}/.gitignore +0 -0
  7. {templatepy-0.16.3 → templatepy-0.16.4}/CITATION.cff +0 -0
  8. {templatepy-0.16.3 → templatepy-0.16.4}/LICENSE +0 -0
  9. {templatepy-0.16.3 → templatepy-0.16.4}/README.md +0 -0
  10. {templatepy-0.16.3 → templatepy-0.16.4}/copier.yaml +0 -0
  11. {templatepy-0.16.3 → templatepy-0.16.4}/src/templatepy/__init__.py +0 -0
  12. {templatepy-0.16.3 → templatepy-0.16.4}/template/.githooks/fix_commit_msg.py +0 -0
  13. {templatepy-0.16.3 → templatepy-0.16.4}/template/.gitignore +0 -0
  14. {templatepy-0.16.3 → templatepy-0.16.4}/template/.gitleaks.toml +0 -0
  15. {templatepy-0.16.3 → templatepy-0.16.4}/template/.gitlint +0 -0
  16. {templatepy-0.16.3 → templatepy-0.16.4}/template/.pre-commit-config.yaml +0 -0
  17. {templatepy-0.16.3 → templatepy-0.16.4}/template/CITATION.cff +0 -0
  18. {templatepy-0.16.3 → templatepy-0.16.4}/template/CODE_OF_CONDUCT.md +0 -0
  19. {templatepy-0.16.3 → templatepy-0.16.4}/template/CONTRIBUTING.md +0 -0
  20. {templatepy-0.16.3 → templatepy-0.16.4}/template/LICENSE +0 -0
  21. {templatepy-0.16.3 → templatepy-0.16.4}/template/README.md +0 -0
  22. {templatepy-0.16.3 → templatepy-0.16.4}/template/VERSION +0 -0
  23. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/[% if enable_docs_publishing %]docs.yml[% endif %] +0 -0
  24. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/[% if enable_llm_pr_review %]pr-review.yml[% endif %] +0 -0
  25. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['forgejo','both'] %].forgejo[% endif %]/workflows/ci.yml +0 -0
  26. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/ISSUE_TEMPLATE/bug_report.md +0 -0
  27. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/ISSUE_TEMPLATE/feature_request.md +0 -0
  28. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/PULL_REQUEST_TEMPLATE.md +0 -0
  29. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/[% if enable_docs_publishing %]docs.yml[% endif %] +0 -0
  30. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/[% if enable_llm_pr_review %]pr-review.yml[% endif %] +0 -0
  31. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/ci.yml +0 -0
  32. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/release.yml +0 -0
  33. {templatepy-0.16.3 → templatepy-0.16.4}/template/[% if ci_platform in ['github','both'] %].github[% endif %]/workflows/versioning.yml +0 -0
  34. {templatepy-0.16.3 → templatepy-0.16.4}/template/[[ _copier_conf.answers_file ]] +0 -0
  35. {templatepy-0.16.3 → templatepy-0.16.4}/template/docs/index.md +0 -0
  36. {templatepy-0.16.3 → templatepy-0.16.4}/template/docs/repository-setup.md +0 -0
  37. {templatepy-0.16.3 → templatepy-0.16.4}/template/mkdocs.yml +0 -0
  38. {templatepy-0.16.3 → templatepy-0.16.4}/template/pyproject.toml +0 -0
  39. {templatepy-0.16.3 → templatepy-0.16.4}/template/scripts/setup_branch_protection.sh +0 -0
  40. {templatepy-0.16.3 → templatepy-0.16.4}/template/scripts/setup_repo.sh +0 -0
  41. {templatepy-0.16.3 → templatepy-0.16.4}/template/src/[[ project_slug ]]/__init__.py +0 -0
  42. {templatepy-0.16.3 → templatepy-0.16.4}/template/src/[[ project_slug ]]/py.typed +0 -0
  43. {templatepy-0.16.3 → templatepy-0.16.4}/template/tests/conftest.py +0 -0
  44. {templatepy-0.16.3 → templatepy-0.16.4}/template/tests/integration/test_integration_placeholder.py +0 -0
  45. {templatepy-0.16.3 → templatepy-0.16.4}/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.3
3
+ Version: 0.16.4
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.4
@@ -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.3"
54
+ version = "0.16.4"
55
55
  version_files = ["VERSION"]
56
56
  tag_format = "v$version"
57
57
  update_changelog_on_bump = false
@@ -27,6 +27,14 @@ on:
27
27
  permissions:
28
28
  contents: write
29
29
 
30
+ # Serialise per branch so back-to-back merges cannot race on the bump. Two parallel
31
+ # runs would both bump from the same tip and compute the same next version; the second
32
+ # one's contents-API call then carries a stale blob sha and is refused. cancel-in-progress
33
+ # is deliberately false: cancelling mid-run can leave main bumped with no tag.
34
+ concurrency:
35
+ group: release-${{ github.ref }}
36
+ cancel-in-progress: false
37
+
30
38
  jobs:
31
39
  release:
32
40
  name: Bump, build, publish
@@ -66,8 +74,12 @@ jobs:
66
74
  # so it is refused before the push whitelist is consulted. Commit via the
67
75
  # contents API instead - it creates the commit server-side and resolves the
68
76
  # author from the token, so a whitelisted write token lands the bump. Set
69
- # VERSION_PUSH_TOKEN (a repo:write token on main's push whitelist) when main is
70
- # protected; otherwise the automatic token works. Tag the RETURNED commit sha.
77
+ # VERSION_PUSH_TOKEN (a repo:write token on main's push whitelist) is REQUIRED,
78
+ # not only when main is protected: measured on Forgejo 15.0.9, the AUTOMATIC
79
+ # Actions token cannot commit through the contents API at all - with
80
+ # permissions: contents: write declared, and on a branch whose rule permits
81
+ # ordinary pushes. There is no automatic-token fallback.
82
+ # Tag the RETURNED commit sha.
71
83
  CHANGED="$(git diff --name-only)"
72
84
  [ -n "$CHANGED" ] || { echo "cz bump changed no files"; exit 1; }
73
85
  python3 - "$TAG" $CHANGED <<'PY'
templatepy-0.16.3/VERSION DELETED
@@ -1 +0,0 @@
1
- 0.16.3
File without changes
File without changes
File without changes
File without changes
File without changes