crackerjack 0.7.0__tar.gz → 0.7.2__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.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: Crackerjack
3
- Version: 0.7.0
3
+ Version: 0.7.2
4
4
  Summary: Crackerjack code style
5
5
  Keywords: black ruff mypy creosote refurb
6
6
  Home-page: https://github.com/lesleslie/crackerjack
@@ -11,6 +11,14 @@ Classifier: Environment :: Console
11
11
  Classifier: Operating System :: OS Independent
12
12
  Classifier: Programming Language :: Python
13
13
  Classifier: Programming Language :: Python :: 3.12
14
+ Classifier: Development Status :: 4 - Beta
15
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
16
+ Classifier: Topic :: Software Development :: Quality Assurance
17
+ Classifier: Topic :: Software Development :: Testing
18
+ Classifier: Topic :: Utilities
19
+ Classifier: Topic :: Software Development :: Libraries :: Python Modules
20
+ Classifier: License :: OSI Approved :: BSD License
21
+ Classifier: Typing :: Typed
14
22
  Project-URL: Homepage, https://github.com/lesleslie/crackerjack
15
23
  Project-URL: Documentation, https://github.com/lesleslie/crackerjack
16
24
  Project-URL: Repository, https://github.com/lesleslie/crackerjack
@@ -24,6 +32,7 @@ Requires-Dist: pre-commit>=3.4.0
24
32
  Requires-Dist: pytest>=7.4.2
25
33
  Requires-Dist: pydantic>=2.4.0
26
34
  Requires-Dist: aiopath>=0.7.5
35
+ Requires-Dist: acb>=0.2.15
27
36
  Description-Content-Type: text/markdown
28
37
 
29
38
  # Crackerjack Python
@@ -7,6 +7,7 @@ from subprocess import run
7
7
 
8
8
  from acb.actions.encode import dump
9
9
  from acb.actions.encode import load
10
+
10
11
  from aioconsole import ainput
11
12
  from aioconsole import aprint
12
13
  from aiopath import AsyncPath
@@ -64,14 +65,17 @@ class Crakerjack(BaseModel, arbitrary_types_allowed=True):
64
65
  )
65
66
  pkg_toml_config["tool"][tool] = settings
66
67
  pkg_toml_config["tool"]["pdm"]["dev-dependencies"] = pkg_deps
67
- python_version_pattern = r'\s*W*(\d\.\d*)"$'
68
+ python_version_pattern = r"\s*W*(\d\.\d*)"
68
69
  requires_python = our_toml_config["project"]["requires-python"]
69
- our_python_version = re.match(python_version_pattern, requires_python).group(1)
70
- next_minor_version = str(float(our_python_version) + 0.1)
70
+ our_python_version = re.search(python_version_pattern, requires_python).group(1)
71
+ classifiers = []
71
72
  for classifier in pkg_toml_config["project"]["classifiers"]:
72
- re.sub(python_version_pattern, next_minor_version, classifier)
73
- await aprint(pkg_toml_config["project"]["classifiers"])
74
- pkg_toml_config["project"]["requires-python"] = f">={next_minor_version}"
73
+ classifier = re.sub(
74
+ python_version_pattern, f" {our_python_version}", classifier
75
+ )
76
+ classifiers.append(classifier)
77
+ pkg_toml_config["project"]["classifiers"] = classifiers
78
+ pkg_toml_config["project"]["requires-python"] = requires_python
75
79
  await dump.toml(pkg_toml_config, self.pkg_toml_path) # type: ignore
76
80
 
77
81
  async def copy_configs(self) -> None:
@@ -5,9 +5,7 @@ config = [
5
5
  ]
6
6
 
7
7
  [tool.pdm.dev-dependencies]
8
- dev = [
9
- "-e file:///${PROJECT_ROOT}/../acb#egg=acb",
10
- ]
8
+ dev = []
11
9
 
12
10
  [tool.ruff]
13
11
  line-length = 88
@@ -70,7 +68,7 @@ pythonVersion = "3.12"
70
68
 
71
69
  [project]
72
70
  name = "Crackerjack"
73
- version = "0.7.0"
71
+ version = "0.7.1"
74
72
  description = "Crackerjack code style"
75
73
  requires-python = ">=3.12"
76
74
  readme = "README.md"
@@ -86,6 +84,14 @@ classifiers = [
86
84
  "Operating System :: OS Independent",
87
85
  "Programming Language :: Python",
88
86
  "Programming Language :: Python :: 3.12",
87
+ "Development Status :: 4 - Beta",
88
+ "Topic :: Software Development :: Libraries :: Python Modules",
89
+ "Topic :: Software Development :: Quality Assurance",
90
+ "Topic :: Software Development :: Testing",
91
+ "Topic :: Utilities",
92
+ "Topic :: Software Development :: Libraries :: Python Modules",
93
+ "License :: OSI Approved :: BSD License",
94
+ "Typing :: Typed",
89
95
  ]
90
96
  dependencies = [
91
97
  "click>=8.1.7",
@@ -97,6 +103,7 @@ dependencies = [
97
103
  "pytest>=7.4.2",
98
104
  "pydantic>=2.4.0",
99
105
  "aiopath>=0.7.5",
106
+ "acb>=0.2.15",
100
107
  ]
101
108
  authors = [
102
109
  { name = "lesleslie", email = "les@wedgwoodwebworks.com" },
@@ -5,9 +5,7 @@ config = [
5
5
  ]
6
6
 
7
7
  [tool.pdm.dev-dependencies]
8
- dev = [
9
- "-e file:///${PROJECT_ROOT}/../acb#egg=acb",
10
- ]
8
+ dev = []
11
9
 
12
10
  [tool.ruff]
13
11
  line-length = 88
@@ -70,7 +68,7 @@ pythonVersion = "3.12"
70
68
 
71
69
  [project]
72
70
  name = "Crackerjack"
73
- version = "0.6.21"
71
+ version = "0.7.2"
74
72
  description = "Crackerjack code style"
75
73
  requires-python = ">=3.12"
76
74
  readme = "README.md"
@@ -86,6 +84,14 @@ classifiers = [
86
84
  "Operating System :: OS Independent",
87
85
  "Programming Language :: Python",
88
86
  "Programming Language :: Python :: 3.12",
87
+ "Development Status :: 4 - Beta",
88
+ "Topic :: Software Development :: Libraries :: Python Modules",
89
+ "Topic :: Software Development :: Quality Assurance",
90
+ "Topic :: Software Development :: Testing",
91
+ "Topic :: Utilities",
92
+ "Topic :: Software Development :: Libraries :: Python Modules",
93
+ "License :: OSI Approved :: BSD License",
94
+ "Typing :: Typed",
89
95
  ]
90
96
  dependencies = [
91
97
  "click>=8.1.7",
@@ -97,6 +103,7 @@ dependencies = [
97
103
  "pytest>=7.4.2",
98
104
  "pydantic>=2.4.0",
99
105
  "aiopath>=0.7.5",
106
+ "acb>=0.2.15",
100
107
  ]
101
108
  authors = [
102
109
  { name = "lesleslie", email = "les@wedgwoodwebworks.com" },
File without changes
File without changes