copier-python 0.14.0__py3-none-any.whl → 0.15.0__py3-none-any.whl
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/repo.py +0 -5
- copier_python/update.py +0 -9
- {copier_python-0.14.0.dist-info → copier_python-0.15.0.dist-info}/METADATA +1 -1
- copier_python-0.15.0.dist-info/RECORD +10 -0
- copier_python-0.14.0.dist-info/RECORD +0 -10
- {copier_python-0.14.0.dist-info → copier_python-0.15.0.dist-info}/WHEEL +0 -0
- {copier_python-0.14.0.dist-info → copier_python-0.15.0.dist-info}/entry_points.txt +0 -0
- {copier_python-0.14.0.dist-info → copier_python-0.15.0.dist-info}/licenses/LICENSE +0 -0
copier_python/repo.py
CHANGED
|
@@ -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
|
copier_python/update.py
CHANGED
|
@@ -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:
|
|
@@ -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
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
copier_python/__init__.py,sha256=FxuK5Dek123GsD9rxpsXCP4FjxI7unpoPYe6Mto1Rjk,289
|
|
2
|
+
copier_python/__main__.py,sha256=DhAwkZmfhMa40m91IgDcVIDTjjaiT1hFHrZ7AqzJdVY,3560
|
|
3
|
+
copier_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
copier_python/repo.py,sha256=1jYOAe9M8VPrdYFwk-wAX1IwK3xtuK4VsAHgXmj_cHQ,5475
|
|
5
|
+
copier_python/update.py,sha256=cuGtdPezh1Pse6YULVDWnvuaezlE7p7fxCI7Ie7KAaw,2429
|
|
6
|
+
copier_python-0.15.0.dist-info/METADATA,sha256=GOzlWY7RtSPnoqY4Ch4hGnnf7ZXHQnE9PprId2kQcVA,4980
|
|
7
|
+
copier_python-0.15.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
8
|
+
copier_python-0.15.0.dist-info/entry_points.txt,sha256=HjthcI_ZBjVT8uC8vjlk8m4XWpmR9_b89rpAWjzFZvo,62
|
|
9
|
+
copier_python-0.15.0.dist-info/licenses/LICENSE,sha256=UHHRyYuAwaR1EBittWk49EmWR0c7MIIMBXt_L_auZtQ,1069
|
|
10
|
+
copier_python-0.15.0.dist-info/RECORD,,
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
copier_python/__init__.py,sha256=FxuK5Dek123GsD9rxpsXCP4FjxI7unpoPYe6Mto1Rjk,289
|
|
2
|
-
copier_python/__main__.py,sha256=DhAwkZmfhMa40m91IgDcVIDTjjaiT1hFHrZ7AqzJdVY,3560
|
|
3
|
-
copier_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
-
copier_python/repo.py,sha256=e03eRst9PR2HYoRQu96mhPwBW6o7WFjOi1DXFQs5Daw,5624
|
|
5
|
-
copier_python/update.py,sha256=leZV4yRvCusEMKQcs80U56S8cjrSAdpO6xV5mfrKhYA,2700
|
|
6
|
-
copier_python-0.14.0.dist-info/METADATA,sha256=y8RAxxUlbO6p25Y-KtUy3pWeI_kECZCXokKywHcWOUk,4980
|
|
7
|
-
copier_python-0.14.0.dist-info/WHEEL,sha256=zOwg4jB6zX2kU910N-cMawjivD6tO8NEWvE12je1bVk,87
|
|
8
|
-
copier_python-0.14.0.dist-info/entry_points.txt,sha256=HjthcI_ZBjVT8uC8vjlk8m4XWpmR9_b89rpAWjzFZvo,62
|
|
9
|
-
copier_python-0.14.0.dist-info/licenses/LICENSE,sha256=UHHRyYuAwaR1EBittWk49EmWR0c7MIIMBXt_L_auZtQ,1069
|
|
10
|
-
copier_python-0.14.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|