crackerjack 0.10.0__py3-none-any.whl → 0.10.2__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.
- crackerjack/.ruff_cache/0.7.3/16061516852537040135 +0 -0
- crackerjack/crackerjack.py +9 -3
- crackerjack/pyproject.toml +3 -1
- {crackerjack-0.10.0.dist-info → crackerjack-0.10.2.dist-info}/METADATA +2 -1
- {crackerjack-0.10.0.dist-info → crackerjack-0.10.2.dist-info}/RECORD +8 -8
- {crackerjack-0.10.0.dist-info → crackerjack-0.10.2.dist-info}/WHEEL +0 -0
- {crackerjack-0.10.0.dist-info → crackerjack-0.10.2.dist-info}/entry_points.txt +0 -0
- {crackerjack-0.10.0.dist-info → crackerjack-0.10.2.dist-info}/licenses/LICENSE +0 -0
Binary file
|
crackerjack/crackerjack.py
CHANGED
@@ -37,7 +37,7 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
37
37
|
return
|
38
38
|
our_toml_config: t.Any = await load.toml(self.our_toml_path) # type: ignore
|
39
39
|
pkg_toml_config: t.Any = await load.toml(self.pkg_toml_path) # type: ignore
|
40
|
-
pkg_deps = pkg_toml_config["
|
40
|
+
pkg_deps = pkg_toml_config["dependency-groups"]
|
41
41
|
for tool, settings in our_toml_config["tool"].items():
|
42
42
|
for setting, value in settings.items():
|
43
43
|
if isinstance(value, str | list) and "crackerjack" in value:
|
@@ -58,7 +58,7 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
58
58
|
our_toml_config["tool"][tool][setting] + value
|
59
59
|
)
|
60
60
|
pkg_toml_config["tool"][tool] = settings
|
61
|
-
pkg_toml_config["
|
61
|
+
pkg_toml_config["dependency-groups"] = pkg_deps
|
62
62
|
python_version_pattern = r"\s*W*(\d\.\d*)"
|
63
63
|
requires_python = our_toml_config["project"]["requires-python"]
|
64
64
|
classifiers = []
|
@@ -155,7 +155,13 @@ class Crackerjack(BaseModel, arbitrary_types_allowed=True):
|
|
155
155
|
execute(["pdm", "bump", option])
|
156
156
|
break
|
157
157
|
if options.publish:
|
158
|
-
execute(["pdm", "
|
158
|
+
build = execute(["pdm", "build"], capture_output=True, text=True)
|
159
|
+
await aprint(build.stdout)
|
160
|
+
if build.returncode > 0:
|
161
|
+
await aprint(build.stderr)
|
162
|
+
await aprint("\n\nBuild failed. Please fix errors.\n")
|
163
|
+
raise SystemExit()
|
164
|
+
execute(["pdm", "publish", "--no-build"])
|
159
165
|
if options.commit:
|
160
166
|
commit_msg = await ainput("\nCommit message: ")
|
161
167
|
execute(
|
crackerjack/pyproject.toml
CHANGED
@@ -60,6 +60,7 @@ exclude-deps = [
|
|
60
60
|
"pdm",
|
61
61
|
"pyfiglet",
|
62
62
|
"pyyaml",
|
63
|
+
"uv",
|
63
64
|
]
|
64
65
|
|
65
66
|
[tool.refurb]
|
@@ -103,7 +104,7 @@ pythonPlatform = "Darwin"
|
|
103
104
|
|
104
105
|
[project]
|
105
106
|
name = "crackerjack"
|
106
|
-
version = "0.
|
107
|
+
version = "0.10.1"
|
107
108
|
description = "Default template for PDM package"
|
108
109
|
requires-python = ">=3.13"
|
109
110
|
readme = "README.md"
|
@@ -140,6 +141,7 @@ dependencies = [
|
|
140
141
|
"pdm-bump>=0.9.8",
|
141
142
|
"pdm>=2.20.1",
|
142
143
|
"acb>=0.8.6",
|
144
|
+
"uv>=0.5.1",
|
143
145
|
]
|
144
146
|
authors = [
|
145
147
|
{ name = "lesleslie", email = "les@wedgwoodwebworks.com" },
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: crackerjack
|
3
|
-
Version: 0.10.
|
3
|
+
Version: 0.10.2
|
4
4
|
Summary: Default template for PDM package
|
5
5
|
Keywords: black,ruff,mypy,creosote,refurb
|
6
6
|
Author-Email: lesleslie <les@wedgwoodwebworks.com>
|
@@ -33,6 +33,7 @@ Requires-Dist: aiopath>=0.7.7
|
|
33
33
|
Requires-Dist: pdm-bump>=0.9.8
|
34
34
|
Requires-Dist: pdm>=2.20.1
|
35
35
|
Requires-Dist: acb>=0.8.6
|
36
|
+
Requires-Dist: uv>=0.5.1
|
36
37
|
Description-Content-Type: text/markdown
|
37
38
|
|
38
39
|
# Crackerjack Python
|
@@ -1,7 +1,7 @@
|
|
1
|
-
crackerjack-0.10.
|
2
|
-
crackerjack-0.10.
|
3
|
-
crackerjack-0.10.
|
4
|
-
crackerjack-0.10.
|
1
|
+
crackerjack-0.10.2.dist-info/METADATA,sha256=XLFLRn6zaaNGLRKTCy_D-vzCLwFJ3nE8RfCyxIMtABA,6306
|
2
|
+
crackerjack-0.10.2.dist-info/WHEEL,sha256=thaaA2w1JzcGC48WYufAs8nrYZjJm8LqNfnXFOFyCC4,90
|
3
|
+
crackerjack-0.10.2.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
crackerjack-0.10.2.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
|
5
5
|
crackerjack/.gitignore,sha256=7qePRaD8q-U6oV3gvgAcwFF8GudcRGAWf-Z-0IDqMaE,207
|
6
6
|
crackerjack/.libcst.codemod.yaml,sha256=a8DlErRAIPV1nE6QlyXPAzTOgkB24_spl2E9hphuf5s,772
|
7
7
|
crackerjack/.pre-commit-config.yaml,sha256=svInZjMmLFGB7hRBvsljiF0rfWZzD7kO4ml26TavY0E,2272
|
@@ -31,10 +31,10 @@ crackerjack/.ruff_cache/0.6.7/3657366982708166874,sha256=MKU1_a_3BRoP6rKfsIyYJy3
|
|
31
31
|
crackerjack/.ruff_cache/0.6.9/285614542852677309,sha256=6FVRfczYzXuiY_uArIpjA5Tue579y7kFL7hgvebRU2I,224
|
32
32
|
crackerjack/.ruff_cache/0.7.1/1024065805990144819,sha256=3Sww592NB0PWBNHU_UIqvqgx33GEckEqKoFXxiu2wkA,224
|
33
33
|
crackerjack/.ruff_cache/0.7.1/285614542852677309,sha256=mOHKRzKoSvW-1sHtqI_LHWRt-mBinJ4rQRtp9Yqzv5I,224
|
34
|
-
crackerjack/.ruff_cache/0.7.3/16061516852537040135,sha256=
|
34
|
+
crackerjack/.ruff_cache/0.7.3/16061516852537040135,sha256=StGGw8v7KMh25_105fcUVjsYwJKt2E-s0Z1Ap-Zggac,224
|
35
35
|
crackerjack/.ruff_cache/CACHEDIR.TAG,sha256=WVMVbX4MVkpCclExbq8m-IcOZIOuIZf5FrYw5Pk-Ma4,43
|
36
36
|
crackerjack/__init__.py,sha256=AuglbbJHkUJ2GdvyT0ca35ntexo1RkT2V6DgypoFeEk,121
|
37
37
|
crackerjack/__main__.py,sha256=W0KSo35_rmj_p4Zr2Q6FAvojiiPTmh5kjlggVNcOdac,1766
|
38
|
-
crackerjack/crackerjack.py,sha256=
|
39
|
-
crackerjack/pyproject.toml,sha256=
|
40
|
-
crackerjack-0.10.
|
38
|
+
crackerjack/crackerjack.py,sha256=ocObPBPogRtpcqUflluPOsUsSK4ymQa3iQrKAqLCme4,7811
|
39
|
+
crackerjack/pyproject.toml,sha256=0j7JN4BMu6uRK0qwQ6ZN2qoFfBcsji32YNxk1TNrYR8,3037
|
40
|
+
crackerjack-0.10.2.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|