copier-python 0.24.1__tar.gz → 0.26.0__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.
- {copier_python-0.24.1 → copier_python-0.26.0}/PKG-INFO +1 -1
- {copier_python-0.24.1 → copier_python-0.26.0}/copier_python/update.py +2 -9
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/project-setup.md +1 -1
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/setup.md +1 -1
- {copier_python-0.24.1 → copier_python-0.26.0}/pyproject.toml +1 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_zensical.ambr +12 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/test_update.py +2 -4
- {copier_python-0.24.1 → copier_python-0.26.0}/.gitignore +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/AGENTS.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/CONTRIBUTING.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/LICENSE +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/README.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/copier_python/__init__.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/copier_python/__main__.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/copier_python/py.typed +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/copier_python/repo.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/contributing.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/development/requirements.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/development/updates.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/development/workflow.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/index.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/license.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/project-creation.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/project-development.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/project-release.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/project-updates.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/releasing.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/docs/requirements.md +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/__init__.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/conftest.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__init__.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_agents.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_commit_check.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_compose.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_contributing.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_dockerfile.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_docs.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_license.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_mise_toml.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_pre_commit.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_pyproject.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_readme.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_workflows.ambr +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_agents.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_commit_check.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_compose.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_contributing.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_dockerfile.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_docs.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_license.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_mise_toml.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_pre_commit.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_pyproject.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_readme.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_structure.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_template.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_workflows.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/template/test_zensical.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/test_version.py +0 -0
- {copier_python-0.24.1 → copier_python-0.26.0}/tests/utils.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: copier-python
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.26.0
|
|
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
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
|
|
3
3
|
import json
|
|
4
|
-
import os
|
|
5
4
|
import subprocess
|
|
6
5
|
from contextlib import contextmanager
|
|
7
6
|
from dataclasses import dataclass, field
|
|
@@ -73,16 +72,10 @@ class UpdateAction:
|
|
|
73
72
|
with self._success_or_shell(repo, "Lint/test"):
|
|
74
73
|
repo.run_task("lt")
|
|
75
74
|
|
|
76
|
-
title = "Apply template updates"
|
|
75
|
+
title = f"Apply template updates from {start_ref} to {end_ref}"
|
|
77
76
|
body = ""
|
|
78
77
|
if start_ref and end_ref and start_ref != end_ref:
|
|
79
|
-
|
|
80
|
-
body = os.linesep.join(
|
|
81
|
-
(
|
|
82
|
-
f"Applied updates from template: {ref_range}",
|
|
83
|
-
f"{TEMPLATE_REPO_URL}/compare/{ref_range}",
|
|
84
|
-
)
|
|
85
|
-
)
|
|
78
|
+
body = f"{TEMPLATE_REPO_URL}/compare/{start_ref}...{end_ref}"
|
|
86
79
|
repo.run(["git", "add", "-A"])
|
|
87
80
|
repo.run(["git", "commit", "-m", f"{title}\n\n{body}".strip()])
|
|
88
81
|
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_zensical.ambr
RENAMED
|
@@ -88,6 +88,9 @@
|
|
|
88
88
|
|
|
89
89
|
[project.markdown_extensions.pymdownx.inlinehilite]
|
|
90
90
|
|
|
91
|
+
[project.markdown_extensions.pymdownx.quotes]
|
|
92
|
+
callouts = true
|
|
93
|
+
|
|
91
94
|
[project.markdown_extensions.pymdownx.snippets]
|
|
92
95
|
base_path = ["."]
|
|
93
96
|
check_paths = true
|
|
@@ -222,6 +225,9 @@
|
|
|
222
225
|
|
|
223
226
|
[project.markdown_extensions.pymdownx.inlinehilite]
|
|
224
227
|
|
|
228
|
+
[project.markdown_extensions.pymdownx.quotes]
|
|
229
|
+
callouts = true
|
|
230
|
+
|
|
225
231
|
[project.markdown_extensions.pymdownx.snippets]
|
|
226
232
|
base_path = ["."]
|
|
227
233
|
check_paths = true
|
|
@@ -345,6 +351,9 @@
|
|
|
345
351
|
|
|
346
352
|
[project.markdown_extensions.pymdownx.inlinehilite]
|
|
347
353
|
|
|
354
|
+
[project.markdown_extensions.pymdownx.quotes]
|
|
355
|
+
callouts = true
|
|
356
|
+
|
|
348
357
|
[project.markdown_extensions.pymdownx.snippets]
|
|
349
358
|
base_path = ["."]
|
|
350
359
|
check_paths = true
|
|
@@ -483,6 +492,9 @@
|
|
|
483
492
|
|
|
484
493
|
[project.markdown_extensions.pymdownx.inlinehilite]
|
|
485
494
|
|
|
495
|
+
[project.markdown_extensions.pymdownx.quotes]
|
|
496
|
+
callouts = true
|
|
497
|
+
|
|
486
498
|
[project.markdown_extensions.pymdownx.snippets]
|
|
487
499
|
base_path = ["."]
|
|
488
500
|
check_paths = true
|
|
@@ -282,9 +282,8 @@ def test_main_update_error(
|
|
|
282
282
|
create_project(vcs_ref=start_ref, postcreate=_postcreate)
|
|
283
283
|
commit_message = os.linesep.join(
|
|
284
284
|
(
|
|
285
|
-
"Apply template updates",
|
|
285
|
+
f"Apply template updates from {start_ref} to {end_ref}",
|
|
286
286
|
"",
|
|
287
|
-
(f"Applied updates from template: {start_ref}...{end_ref}"),
|
|
288
287
|
(
|
|
289
288
|
f"https://github.com/smkent/copier-python/compare/"
|
|
290
289
|
f"{start_ref}...{end_ref}"
|
|
@@ -385,9 +384,8 @@ def test_main_update_with_project(
|
|
|
385
384
|
create_project(vcs_ref=start_ref, project_visibility=project_visibility)
|
|
386
385
|
commit_message = os.linesep.join(
|
|
387
386
|
(
|
|
388
|
-
"Apply template updates",
|
|
387
|
+
f"Apply template updates from {start_ref} to {end_ref}",
|
|
389
388
|
"",
|
|
390
|
-
(f"Applied updates from template: {start_ref}...{end_ref}"),
|
|
391
389
|
(
|
|
392
390
|
f"https://github.com/smkent/copier-python/compare/"
|
|
393
391
|
f"{start_ref}...{end_ref}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_commit_check.ambr
RENAMED
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_compose.ambr
RENAMED
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_contributing.ambr
RENAMED
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_dockerfile.ambr
RENAMED
|
File without changes
|
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_license.ambr
RENAMED
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_mise_toml.ambr
RENAMED
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_pre_commit.ambr
RENAMED
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_pyproject.ambr
RENAMED
|
File without changes
|
|
File without changes
|
{copier_python-0.24.1 → copier_python-0.26.0}/tests/template/__snapshots__/test_workflows.ambr
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|