copier-python 0.20.1__py3-none-any.whl → 0.21.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/__main__.py CHANGED
@@ -89,7 +89,7 @@ def update(
89
89
  )
90
90
  else:
91
91
  results.append(UpdateResult(target, UpdateStatus.CURRENT))
92
- except Exception as exc: # noqa: BLE001, PERF203
92
+ except Exception as exc: # noqa: BLE001
93
93
  console.print_exception()
94
94
  results.append(
95
95
  UpdateResult(target, status=UpdateStatus.FAILED, exception=exc)
copier_python/repo.py CHANGED
@@ -3,24 +3,18 @@ from __future__ import annotations
3
3
  import os
4
4
  import re
5
5
  import subprocess
6
- import sys
7
6
  import tempfile
8
7
  from contextlib import contextmanager, suppress
9
8
  from dataclasses import InitVar, dataclass, field
10
9
  from functools import cached_property
11
10
  from pathlib import Path
12
- from typing import TYPE_CHECKING, Any, ClassVar
11
+ from typing import TYPE_CHECKING, Any, ClassVar, Self
13
12
 
14
13
  import yaml
15
14
  from rich import print # noqa: A004
16
15
  from rich.panel import Panel
17
16
  from rich.text import Text
18
17
 
19
- if sys.version_info >= (3, 11):
20
- from typing import Self
21
- else:
22
- from typing_extensions import Self
23
-
24
18
  if TYPE_CHECKING:
25
19
  from collections.abc import Generator, Sequence
26
20
 
copier_python/update.py CHANGED
@@ -37,6 +37,7 @@ class UpdateAction:
37
37
  if not copier_status.get("update_available", False):
38
38
  return None
39
39
  repo.run(["copier", "update", "--skip-answered"])
40
+ repo.run(["mise", "install"])
40
41
 
41
42
  status = repo.git_status()
42
43
  if not status:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.5
2
2
  Name: copier-python
3
- Version: 0.20.1
3
+ Version: 0.21.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
@@ -12,16 +12,16 @@ Classifier: Development Status :: 3 - Alpha
12
12
  Classifier: Intended Audience :: Developers
13
13
  Classifier: Programming Language :: Python :: 3
14
14
  Classifier: Programming Language :: Python :: 3 :: Only
15
- Classifier: Programming Language :: Python :: 3.10
16
15
  Classifier: Programming Language :: Python :: 3.11
17
16
  Classifier: Programming Language :: Python :: 3.12
18
17
  Classifier: Programming Language :: Python :: 3.13
19
18
  Classifier: Programming Language :: Python :: 3.14
19
+ Classifier: Programming Language :: Python :: 3.15
20
20
  Classifier: Topic :: Documentation
21
21
  Classifier: Topic :: Software Development
22
22
  Classifier: Topic :: Utilities
23
23
  Classifier: Typing :: Typed
24
- Requires-Python: >=3.10
24
+ Requires-Python: >=3.11
25
25
  Requires-Dist: pyyaml>=6
26
26
  Requires-Dist: rich>=15
27
27
  Requires-Dist: typer>=0.9
@@ -0,0 +1,10 @@
1
+ copier_python/__init__.py,sha256=FxuK5Dek123GsD9rxpsXCP4FjxI7unpoPYe6Mto1Rjk,289
2
+ copier_python/__main__.py,sha256=EwqmzIsqoTCVuGSEGKr6hglBhSO3r4sT66uoNUpYZEA,3551
3
+ copier_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ copier_python/repo.py,sha256=Nv48fWeB0EZ4PGnrRWaiR6Fl5cyrD2_TwaJDcm-zNGE,5364
5
+ copier_python/update.py,sha256=-FD2FLnIbzskdj-z-wt4sWzy3GHek8i2vkEB3iMjHT8,2534
6
+ copier_python-0.21.0.dist-info/METADATA,sha256=GTjxD21d1ca_C9O2KFrXpNGq4HqZaghVQ6knv3ixwlg,5423
7
+ copier_python-0.21.0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
8
+ copier_python-0.21.0.dist-info/entry_points.txt,sha256=HjthcI_ZBjVT8uC8vjlk8m4XWpmR9_b89rpAWjzFZvo,62
9
+ copier_python-0.21.0.dist-info/licenses/LICENSE,sha256=lwNXeTMjiyUh8CtIKWnb2SOTeliVKCJfs_NZB6P23BE,1086
10
+ copier_python-0.21.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=1jYOAe9M8VPrdYFwk-wAX1IwK3xtuK4VsAHgXmj_cHQ,5475
5
- copier_python/update.py,sha256=_hRaIb2BLp59NLyGwzHrgv0RntE6QLyPcLbCipjIsMM,2496
6
- copier_python-0.20.1.dist-info/METADATA,sha256=s5YEEkH-ckCAeXjksPLKQlJElaOwx6zf-ALUXoMdmPU,5423
7
- copier_python-0.20.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
8
- copier_python-0.20.1.dist-info/entry_points.txt,sha256=HjthcI_ZBjVT8uC8vjlk8m4XWpmR9_b89rpAWjzFZvo,62
9
- copier_python-0.20.1.dist-info/licenses/LICENSE,sha256=lwNXeTMjiyUh8CtIKWnb2SOTeliVKCJfs_NZB6P23BE,1086
10
- copier_python-0.20.1.dist-info/RECORD,,