copier-python 0.16.1__tar.gz → 0.16.3__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 (56) hide show
  1. {copier_python-0.16.1 → copier_python-0.16.3}/PKG-INFO +1 -1
  2. {copier_python-0.16.1 → copier_python-0.16.3}/tests/conftest.py +4 -1
  3. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_workflows.ambr +38 -38
  4. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_structure.py +1 -1
  5. {copier_python-0.16.1 → copier_python-0.16.3}/.gitignore +0 -0
  6. {copier_python-0.16.1 → copier_python-0.16.3}/AGENTS.md +0 -0
  7. {copier_python-0.16.1 → copier_python-0.16.3}/CONTRIBUTING.md +0 -0
  8. {copier_python-0.16.1 → copier_python-0.16.3}/LICENSE +0 -0
  9. {copier_python-0.16.1 → copier_python-0.16.3}/README.md +0 -0
  10. {copier_python-0.16.1 → copier_python-0.16.3}/copier_python/__init__.py +0 -0
  11. {copier_python-0.16.1 → copier_python-0.16.3}/copier_python/__main__.py +0 -0
  12. {copier_python-0.16.1 → copier_python-0.16.3}/copier_python/py.typed +0 -0
  13. {copier_python-0.16.1 → copier_python-0.16.3}/copier_python/repo.py +0 -0
  14. {copier_python-0.16.1 → copier_python-0.16.3}/copier_python/update.py +0 -0
  15. {copier_python-0.16.1 → copier_python-0.16.3}/docs/contributing.md +0 -0
  16. {copier_python-0.16.1 → copier_python-0.16.3}/docs/development/requirements.md +0 -0
  17. {copier_python-0.16.1 → copier_python-0.16.3}/docs/development/updates.md +0 -0
  18. {copier_python-0.16.1 → copier_python-0.16.3}/docs/development/workflow.md +0 -0
  19. {copier_python-0.16.1 → copier_python-0.16.3}/docs/index.md +0 -0
  20. {copier_python-0.16.1 → copier_python-0.16.3}/docs/license.md +0 -0
  21. {copier_python-0.16.1 → copier_python-0.16.3}/docs/project-creation.md +0 -0
  22. {copier_python-0.16.1 → copier_python-0.16.3}/docs/project-development.md +0 -0
  23. {copier_python-0.16.1 → copier_python-0.16.3}/docs/project-release.md +0 -0
  24. {copier_python-0.16.1 → copier_python-0.16.3}/docs/project-setup.md +0 -0
  25. {copier_python-0.16.1 → copier_python-0.16.3}/docs/project-updates.md +0 -0
  26. {copier_python-0.16.1 → copier_python-0.16.3}/docs/releasing.md +0 -0
  27. {copier_python-0.16.1 → copier_python-0.16.3}/docs/requirements.md +0 -0
  28. {copier_python-0.16.1 → copier_python-0.16.3}/docs/setup.md +0 -0
  29. {copier_python-0.16.1 → copier_python-0.16.3}/pyproject.toml +0 -0
  30. {copier_python-0.16.1 → copier_python-0.16.3}/tests/__init__.py +0 -0
  31. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__init__.py +0 -0
  32. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_agents.ambr +0 -0
  33. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_compose.ambr +0 -0
  34. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_contributing.ambr +0 -0
  35. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_dockerfile.ambr +0 -0
  36. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_docs.ambr +0 -0
  37. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_license.ambr +0 -0
  38. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_mise_toml.ambr +0 -0
  39. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_pyproject.ambr +0 -0
  40. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_readme.ambr +0 -0
  41. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/__snapshots__/test_zensical.ambr +0 -0
  42. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_agents.py +0 -0
  43. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_compose.py +0 -0
  44. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_contributing.py +0 -0
  45. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_dockerfile.py +0 -0
  46. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_docs.py +0 -0
  47. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_license.py +0 -0
  48. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_mise_toml.py +0 -0
  49. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_pyproject.py +0 -0
  50. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_readme.py +0 -0
  51. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_template.py +0 -0
  52. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_workflows.py +0 -0
  53. {copier_python-0.16.1 → copier_python-0.16.3}/tests/template/test_zensical.py +0 -0
  54. {copier_python-0.16.1 → copier_python-0.16.3}/tests/test_update.py +0 -0
  55. {copier_python-0.16.1 → copier_python-0.16.3}/tests/test_version.py +0 -0
  56. {copier_python-0.16.1 → copier_python-0.16.3}/tests/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: copier-python
3
- Version: 0.16.1
3
+ Version: 0.16.3
4
4
  Summary: Copier template for Python projects with modern tooling
5
5
  Project-URL: Homepage, https://smkent.github.io/copier-python
6
6
  Project-URL: Repository, https://github.com/smkent/copier-python
@@ -58,6 +58,9 @@ def render_template(
58
58
  ) -> Callable[..., Path]:
59
59
  def _render(*, vcs_ref: str = "HEAD", **kwargs: Any) -> Path:
60
60
  worktree = tmp_path / "project"
61
+ data = {**DEFAULT_DATA, **(kwargs or {})}
62
+ if data["project_visibility"] == "private":
63
+ data.pop("github_user", None)
61
64
  with warnings.catch_warnings():
62
65
  warnings.filterwarnings(
63
66
  "ignore",
@@ -67,7 +70,7 @@ def render_template(
67
70
  copier.run_copy(
68
71
  src_path=str(TEMPLATE_ROOT),
69
72
  dst_path=str(worktree),
70
- data={**DEFAULT_DATA, **(kwargs or {})},
73
+ data=data,
71
74
  vcs_ref=vcs_ref,
72
75
  defaults=True,
73
76
  overwrite=True,
@@ -41,7 +41,7 @@
41
41
  uv-${{ runner.os }}-${{ matrix.python-version }}-
42
42
 
43
43
  - name: 🍳 Set up mise
44
- uses: jdx/mise-action@v4
44
+ uses: jdx/mise-action@v5
45
45
  with:
46
46
  cache: true
47
47
  install: true
@@ -57,7 +57,7 @@
57
57
  if: ${{ matrix.python-version == '3.14' }}
58
58
 
59
59
  - name: 📊 Upload coverage to Codecov
60
- uses: codecov/codecov-action@v6
60
+ uses: codecov/codecov-action@v7
61
61
  if: ${{ matrix.python-version == '3.14' }}
62
62
  with:
63
63
  fail_ci_if_error: true
@@ -84,7 +84,7 @@
84
84
  uv-${{ runner.os }}-
85
85
 
86
86
  - name: 🍳 Set up mise
87
- uses: jdx/mise-action@v4
87
+ uses: jdx/mise-action@v5
88
88
  with:
89
89
  cache: true
90
90
  install: true
@@ -112,7 +112,7 @@
112
112
  uv-${{ runner.os }}-
113
113
 
114
114
  - name: 🍳 Set up mise
115
- uses: jdx/mise-action@v4
115
+ uses: jdx/mise-action@v5
116
116
  with:
117
117
  cache: true
118
118
  install: true
@@ -164,7 +164,7 @@
164
164
  uv-${{ runner.os }}-${{ matrix.python-version }}-
165
165
 
166
166
  - name: 🍳 Set up mise
167
- uses: jdx/mise-action@v4
167
+ uses: jdx/mise-action@v5
168
168
  with:
169
169
  cache: true
170
170
  install: true
@@ -195,7 +195,7 @@
195
195
  uv-${{ runner.os }}-
196
196
 
197
197
  - name: 🍳 Set up mise
198
- uses: jdx/mise-action@v4
198
+ uses: jdx/mise-action@v5
199
199
  with:
200
200
  cache: true
201
201
  install: true
@@ -223,7 +223,7 @@
223
223
  uv-${{ runner.os }}-
224
224
 
225
225
  - name: 🍳 Set up mise
226
- uses: jdx/mise-action@v4
226
+ uses: jdx/mise-action@v5
227
227
  with:
228
228
  cache: true
229
229
  install: true
@@ -275,7 +275,7 @@
275
275
  uv-${{ runner.os }}-${{ matrix.python-version }}-
276
276
 
277
277
  - name: 🍳 Set up mise
278
- uses: jdx/mise-action@v4
278
+ uses: jdx/mise-action@v5
279
279
  with:
280
280
  cache: true
281
281
  install: true
@@ -291,7 +291,7 @@
291
291
  if: ${{ matrix.python-version == '3.14' }}
292
292
 
293
293
  - name: 📊 Upload coverage to Codecov
294
- uses: codecov/codecov-action@v6
294
+ uses: codecov/codecov-action@v7
295
295
  if: ${{ matrix.python-version == '3.14' }}
296
296
  with:
297
297
  fail_ci_if_error: true
@@ -319,7 +319,7 @@
319
319
  uv-${{ runner.os }}-
320
320
 
321
321
  - name: 🍳 Set up mise
322
- uses: jdx/mise-action@v4
322
+ uses: jdx/mise-action@v5
323
323
  with:
324
324
  cache: true
325
325
  install: true
@@ -371,7 +371,7 @@
371
371
  uv-${{ runner.os }}-${{ matrix.python-version }}-
372
372
 
373
373
  - name: 🍳 Set up mise
374
- uses: jdx/mise-action@v4
374
+ uses: jdx/mise-action@v5
375
375
  with:
376
376
  cache: true
377
377
  install: true
@@ -403,7 +403,7 @@
403
403
  uv-${{ runner.os }}-
404
404
 
405
405
  - name: 🍳 Set up mise
406
- uses: jdx/mise-action@v4
406
+ uses: jdx/mise-action@v5
407
407
  with:
408
408
  cache: true
409
409
  install: true
@@ -453,7 +453,7 @@
453
453
  uv-${{ runner.os }}-${{ matrix.python-version }}-
454
454
 
455
455
  - name: 🍳 Set up mise
456
- uses: jdx/mise-action@v4
456
+ uses: jdx/mise-action@v5
457
457
  with:
458
458
  cache: true
459
459
  install: true
@@ -469,7 +469,7 @@
469
469
  if: ${{ matrix.python-version == '3.12' }}
470
470
 
471
471
  - name: 📊 Upload coverage to Codecov
472
- uses: codecov/codecov-action@v6
472
+ uses: codecov/codecov-action@v7
473
473
  if: ${{ matrix.python-version == '3.12' }}
474
474
  with:
475
475
  fail_ci_if_error: true
@@ -496,7 +496,7 @@
496
496
  uv-${{ runner.os }}-
497
497
 
498
498
  - name: 🍳 Set up mise
499
- uses: jdx/mise-action@v4
499
+ uses: jdx/mise-action@v5
500
500
  with:
501
501
  cache: true
502
502
  install: true
@@ -524,7 +524,7 @@
524
524
  uv-${{ runner.os }}-
525
525
 
526
526
  - name: 🍳 Set up mise
527
- uses: jdx/mise-action@v4
527
+ uses: jdx/mise-action@v5
528
528
  with:
529
529
  cache: true
530
530
  install: true
@@ -572,7 +572,7 @@
572
572
  uv-${{ runner.os }}-${{ matrix.python-version }}-
573
573
 
574
574
  - name: 🍳 Set up mise
575
- uses: jdx/mise-action@v4
575
+ uses: jdx/mise-action@v5
576
576
  with:
577
577
  cache: true
578
578
  install: true
@@ -588,7 +588,7 @@
588
588
  if: ${{ matrix.python-version == '3.12' }}
589
589
 
590
590
  - name: 📊 Upload coverage to Codecov
591
- uses: codecov/codecov-action@v6
591
+ uses: codecov/codecov-action@v7
592
592
  if: ${{ matrix.python-version == '3.12' }}
593
593
  with:
594
594
  fail_ci_if_error: true
@@ -615,7 +615,7 @@
615
615
  uv-${{ runner.os }}-
616
616
 
617
617
  - name: 🍳 Set up mise
618
- uses: jdx/mise-action@v4
618
+ uses: jdx/mise-action@v5
619
619
  with:
620
620
  cache: true
621
621
  install: true
@@ -643,7 +643,7 @@
643
643
  uv-${{ runner.os }}-
644
644
 
645
645
  - name: 🍳 Set up mise
646
- uses: jdx/mise-action@v4
646
+ uses: jdx/mise-action@v5
647
647
  with:
648
648
  cache: true
649
649
  install: true
@@ -695,7 +695,7 @@
695
695
  uv-${{ runner.os }}-${{ matrix.python-version }}-
696
696
 
697
697
  - name: 🍳 Set up mise
698
- uses: jdx/mise-action@v4
698
+ uses: jdx/mise-action@v5
699
699
  with:
700
700
  cache: true
701
701
  install: true
@@ -711,7 +711,7 @@
711
711
  if: ${{ matrix.python-version == '3.14' }}
712
712
 
713
713
  - name: 📊 Upload coverage to Codecov
714
- uses: codecov/codecov-action@v6
714
+ uses: codecov/codecov-action@v7
715
715
  if: ${{ matrix.python-version == '3.14' }}
716
716
  with:
717
717
  fail_ci_if_error: true
@@ -738,7 +738,7 @@
738
738
  uv-${{ runner.os }}-
739
739
 
740
740
  - name: 🍳 Set up mise
741
- uses: jdx/mise-action@v4
741
+ uses: jdx/mise-action@v5
742
742
  with:
743
743
  cache: true
744
744
  install: true
@@ -766,7 +766,7 @@
766
766
  uv-${{ runner.os }}-
767
767
 
768
768
  - name: 🍳 Set up mise
769
- uses: jdx/mise-action@v4
769
+ uses: jdx/mise-action@v5
770
770
  with:
771
771
  cache: true
772
772
  install: true
@@ -816,7 +816,7 @@
816
816
  uv-${{ runner.os }}-${{ matrix.python-version }}-
817
817
 
818
818
  - name: 🍳 Set up mise
819
- uses: jdx/mise-action@v4
819
+ uses: jdx/mise-action@v5
820
820
  with:
821
821
  cache: true
822
822
  install: true
@@ -832,7 +832,7 @@
832
832
  if: ${{ matrix.python-version == '3.14' }}
833
833
 
834
834
  - name: 📊 Upload coverage to Codecov
835
- uses: codecov/codecov-action@v6
835
+ uses: codecov/codecov-action@v7
836
836
  if: ${{ matrix.python-version == '3.14' }}
837
837
  with:
838
838
  fail_ci_if_error: true
@@ -859,7 +859,7 @@
859
859
  uv-${{ runner.os }}-
860
860
 
861
861
  - name: 🍳 Set up mise
862
- uses: jdx/mise-action@v4
862
+ uses: jdx/mise-action@v5
863
863
  with:
864
864
  cache: true
865
865
  install: true
@@ -887,7 +887,7 @@
887
887
  uv-${{ runner.os }}-
888
888
 
889
889
  - name: 🍳 Set up mise
890
- uses: jdx/mise-action@v4
890
+ uses: jdx/mise-action@v5
891
891
  with:
892
892
  cache: true
893
893
  install: true
@@ -939,7 +939,7 @@
939
939
  uv-${{ runner.os }}-${{ matrix.python-version }}-
940
940
 
941
941
  - name: 🍳 Set up mise
942
- uses: jdx/mise-action@v4
942
+ uses: jdx/mise-action@v5
943
943
  with:
944
944
  cache: true
945
945
  install: true
@@ -955,7 +955,7 @@
955
955
  if: ${{ matrix.python-version == '3.14' }}
956
956
 
957
957
  - name: 📊 Upload coverage to Codecov
958
- uses: codecov/codecov-action@v6
958
+ uses: codecov/codecov-action@v7
959
959
  if: ${{ matrix.python-version == '3.14' }}
960
960
  with:
961
961
  fail_ci_if_error: true
@@ -982,7 +982,7 @@
982
982
  uv-${{ runner.os }}-
983
983
 
984
984
  - name: 🍳 Set up mise
985
- uses: jdx/mise-action@v4
985
+ uses: jdx/mise-action@v5
986
986
  with:
987
987
  cache: true
988
988
  install: true
@@ -1010,7 +1010,7 @@
1010
1010
  uv-${{ runner.os }}-
1011
1011
 
1012
1012
  - name: 🍳 Set up mise
1013
- uses: jdx/mise-action@v4
1013
+ uses: jdx/mise-action@v5
1014
1014
  with:
1015
1015
  cache: true
1016
1016
  install: true
@@ -1060,7 +1060,7 @@
1060
1060
  uv-${{ runner.os }}-${{ matrix.python-version }}-
1061
1061
 
1062
1062
  - name: 🍳 Set up mise
1063
- uses: jdx/mise-action@v4
1063
+ uses: jdx/mise-action@v5
1064
1064
  with:
1065
1065
  cache: true
1066
1066
  install: true
@@ -1076,7 +1076,7 @@
1076
1076
  if: ${{ matrix.python-version == '3.14' }}
1077
1077
 
1078
1078
  - name: 📊 Upload coverage to Codecov
1079
- uses: codecov/codecov-action@v6
1079
+ uses: codecov/codecov-action@v7
1080
1080
  if: ${{ matrix.python-version == '3.14' }}
1081
1081
  with:
1082
1082
  fail_ci_if_error: true
@@ -1103,7 +1103,7 @@
1103
1103
  uv-${{ runner.os }}-
1104
1104
 
1105
1105
  - name: 🍳 Set up mise
1106
- uses: jdx/mise-action@v4
1106
+ uses: jdx/mise-action@v5
1107
1107
  with:
1108
1108
  cache: true
1109
1109
  install: true
@@ -1131,7 +1131,7 @@
1131
1131
  uv-${{ runner.os }}-
1132
1132
 
1133
1133
  - name: 🍳 Set up mise
1134
- uses: jdx/mise-action@v4
1134
+ uses: jdx/mise-action@v5
1135
1135
  with:
1136
1136
  cache: true
1137
1137
  install: true
@@ -1171,7 +1171,7 @@
1171
1171
  uv-${{ runner.os }}-
1172
1172
 
1173
1173
  - name: 🍳 Set up mise
1174
- uses: jdx/mise-action@v4
1174
+ uses: jdx/mise-action@v5
1175
1175
  with:
1176
1176
  cache: true
1177
1177
  install: true
@@ -1240,7 +1240,7 @@
1240
1240
  uv-${{ runner.os }}-
1241
1241
 
1242
1242
  - name: 🍳 Set up mise
1243
- uses: jdx/mise-action@v4
1243
+ uses: jdx/mise-action@v5
1244
1244
  with:
1245
1245
  cache: true
1246
1246
  install: true
@@ -44,7 +44,7 @@ import pytest
44
44
  pytest.param(
45
45
  {"project_visibility": "private"},
46
46
  [],
47
- [".github"],
47
+ [".github", "CONTRIBUTING.md"],
48
48
  id="private",
49
49
  ),
50
50
  pytest.param(
File without changes
File without changes
File without changes