copier-python 0.14.1__tar.gz → 0.15.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.14.1 → copier_python-0.15.0}/PKG-INFO +1 -1
- {copier_python-0.14.1 → copier_python-0.15.0}/copier_python/repo.py +0 -5
- {copier_python-0.14.1 → copier_python-0.15.0}/copier_python/update.py +0 -9
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_mise_toml.ambr +0 -16
- {copier_python-0.14.1 → copier_python-0.15.0}/.gitignore +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/AGENTS.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/CONTRIBUTING.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/LICENSE +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/README.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/copier_python/__init__.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/copier_python/__main__.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/copier_python/py.typed +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/contributing.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/development/requirements.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/development/updates.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/development/workflow.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/index.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/license.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/project-creation.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/project-development.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/project-release.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/project-setup.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/project-updates.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/releasing.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/requirements.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/docs/setup.md +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/pyproject.toml +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/__init__.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/conftest.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__init__.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_agents.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_compose.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_contributing.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_dockerfile.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_docs.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_license.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_pyproject.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_readme.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_workflows.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_zensical.ambr +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_agents.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_compose.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_contributing.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_dockerfile.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_docs.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_license.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_mise_toml.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_pyproject.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_readme.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_structure.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_template.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_workflows.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/template/test_zensical.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/test_update.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.0}/tests/test_version.py +0 -0
- {copier_python-0.14.1 → copier_python-0.15.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.15.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
|
|
@@ -105,11 +105,6 @@ class RepoWorktree:
|
|
|
105
105
|
)
|
|
106
106
|
yield cls(path=repo_dir, repo=repo, branch=branch)
|
|
107
107
|
|
|
108
|
-
def refresh_tools_lock(self) -> None:
|
|
109
|
-
if not (self.path / "mise.toml").is_file():
|
|
110
|
-
return
|
|
111
|
-
self.run(["mise", "lock"])
|
|
112
|
-
|
|
113
108
|
@classmethod
|
|
114
109
|
def run_in(
|
|
115
110
|
cls, cmd: list[str], *, repo: RepoTarget, **kwargs: Any
|
|
@@ -50,15 +50,6 @@ class UpdateAction:
|
|
|
50
50
|
if repo.has_conflicts(status):
|
|
51
51
|
raise RuntimeError("Conflicts remain, aborting")
|
|
52
52
|
|
|
53
|
-
try:
|
|
54
|
-
repo.refresh_tools_lock()
|
|
55
|
-
except subprocess.CalledProcessError:
|
|
56
|
-
print( # noqa: T201
|
|
57
|
-
"Tool refresh failed."
|
|
58
|
-
" Fix errors and exit the shell to continue."
|
|
59
|
-
)
|
|
60
|
-
repo.shell()
|
|
61
|
-
|
|
62
53
|
try:
|
|
63
54
|
repo.run_task("lt")
|
|
64
55
|
except subprocess.CalledProcessError:
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_mise_toml.ambr
RENAMED
|
@@ -16,7 +16,6 @@
|
|
|
16
16
|
uv = "latest"
|
|
17
17
|
|
|
18
18
|
[settings]
|
|
19
|
-
lockfile = true
|
|
20
19
|
|
|
21
20
|
[tasks.build]
|
|
22
21
|
description = "Build distribution package"
|
|
@@ -138,7 +137,6 @@
|
|
|
138
137
|
uv = "latest"
|
|
139
138
|
|
|
140
139
|
[settings]
|
|
141
|
-
lockfile = true
|
|
142
140
|
|
|
143
141
|
[tasks.audit]
|
|
144
142
|
description = "Run dependencies security audit"
|
|
@@ -267,7 +265,6 @@
|
|
|
267
265
|
uv = "latest"
|
|
268
266
|
|
|
269
267
|
[settings]
|
|
270
|
-
lockfile = true
|
|
271
268
|
|
|
272
269
|
[tasks.build]
|
|
273
270
|
description = "Build distribution package"
|
|
@@ -375,7 +372,6 @@
|
|
|
375
372
|
uv = "latest"
|
|
376
373
|
|
|
377
374
|
[settings]
|
|
378
|
-
lockfile = true
|
|
379
375
|
|
|
380
376
|
[tasks.audit]
|
|
381
377
|
description = "Run dependencies security audit"
|
|
@@ -490,7 +486,6 @@
|
|
|
490
486
|
uv = "latest"
|
|
491
487
|
|
|
492
488
|
[settings]
|
|
493
|
-
lockfile = true
|
|
494
489
|
|
|
495
490
|
[tasks.build]
|
|
496
491
|
description = "Build distribution package"
|
|
@@ -617,7 +612,6 @@
|
|
|
617
612
|
uv = "latest"
|
|
618
613
|
|
|
619
614
|
[settings]
|
|
620
|
-
lockfile = true
|
|
621
615
|
|
|
622
616
|
[tasks.audit]
|
|
623
617
|
description = "Run dependencies security audit"
|
|
@@ -751,7 +745,6 @@
|
|
|
751
745
|
uv = "latest"
|
|
752
746
|
|
|
753
747
|
[settings]
|
|
754
|
-
lockfile = true
|
|
755
748
|
|
|
756
749
|
[tasks.build]
|
|
757
750
|
description = "Build distribution package"
|
|
@@ -864,7 +857,6 @@
|
|
|
864
857
|
uv = "latest"
|
|
865
858
|
|
|
866
859
|
[settings]
|
|
867
|
-
lockfile = true
|
|
868
860
|
|
|
869
861
|
[tasks.audit]
|
|
870
862
|
description = "Run dependencies security audit"
|
|
@@ -984,7 +976,6 @@
|
|
|
984
976
|
uv = "latest"
|
|
985
977
|
|
|
986
978
|
[settings]
|
|
987
|
-
lockfile = true
|
|
988
979
|
|
|
989
980
|
[tasks.build]
|
|
990
981
|
description = "Build distribution package"
|
|
@@ -1106,7 +1097,6 @@
|
|
|
1106
1097
|
uv = "latest"
|
|
1107
1098
|
|
|
1108
1099
|
[settings]
|
|
1109
|
-
lockfile = true
|
|
1110
1100
|
|
|
1111
1101
|
[tasks.audit]
|
|
1112
1102
|
description = "Run dependencies security audit"
|
|
@@ -1235,7 +1225,6 @@
|
|
|
1235
1225
|
uv = "latest"
|
|
1236
1226
|
|
|
1237
1227
|
[settings]
|
|
1238
|
-
lockfile = true
|
|
1239
1228
|
|
|
1240
1229
|
[tasks.build]
|
|
1241
1230
|
description = "Build distribution package"
|
|
@@ -1343,7 +1332,6 @@
|
|
|
1343
1332
|
uv = "latest"
|
|
1344
1333
|
|
|
1345
1334
|
[settings]
|
|
1346
|
-
lockfile = true
|
|
1347
1335
|
|
|
1348
1336
|
[tasks.audit]
|
|
1349
1337
|
description = "Run dependencies security audit"
|
|
@@ -1458,7 +1446,6 @@
|
|
|
1458
1446
|
uv = "latest"
|
|
1459
1447
|
|
|
1460
1448
|
[settings]
|
|
1461
|
-
lockfile = true
|
|
1462
1449
|
|
|
1463
1450
|
[tasks.build]
|
|
1464
1451
|
description = "Build distribution package"
|
|
@@ -1585,7 +1572,6 @@
|
|
|
1585
1572
|
uv = "latest"
|
|
1586
1573
|
|
|
1587
1574
|
[settings]
|
|
1588
|
-
lockfile = true
|
|
1589
1575
|
|
|
1590
1576
|
[tasks.audit]
|
|
1591
1577
|
description = "Run dependencies security audit"
|
|
@@ -1719,7 +1705,6 @@
|
|
|
1719
1705
|
uv = "latest"
|
|
1720
1706
|
|
|
1721
1707
|
[settings]
|
|
1722
|
-
lockfile = true
|
|
1723
1708
|
|
|
1724
1709
|
[tasks.build]
|
|
1725
1710
|
description = "Build distribution package"
|
|
@@ -1832,7 +1817,6 @@
|
|
|
1832
1817
|
uv = "latest"
|
|
1833
1818
|
|
|
1834
1819
|
[settings]
|
|
1835
|
-
lockfile = true
|
|
1836
1820
|
|
|
1837
1821
|
[tasks.audit]
|
|
1838
1822
|
description = "Run dependencies security audit"
|
|
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
|
|
File without changes
|
|
File without changes
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_compose.ambr
RENAMED
|
File without changes
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_contributing.ambr
RENAMED
|
File without changes
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_dockerfile.ambr
RENAMED
|
File without changes
|
|
File without changes
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_license.ambr
RENAMED
|
File without changes
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_pyproject.ambr
RENAMED
|
File without changes
|
|
File without changes
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_workflows.ambr
RENAMED
|
File without changes
|
{copier_python-0.14.1 → copier_python-0.15.0}/tests/template/__snapshots__/test_zensical.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
|