version-bumper 0.1.0__tar.gz → 0.1.1__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.
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/workspace.xml +145 -37
- {version_bumper-0.1.0 → version_bumper-0.1.1}/PKG-INFO +3 -4
- {version_bumper-0.1.0 → version_bumper-0.1.1}/README.md +1 -3
- {version_bumper-0.1.0 → version_bumper-0.1.1}/Taskfile.yaml +12 -1
- {version_bumper-0.1.0 → version_bumper-0.1.1}/poetry.lock +65 -1
- {version_bumper-0.1.0 → version_bumper-0.1.1}/pyproject.toml +6 -3
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/__main__.py +8 -4
- version_bumper-0.1.1/src/version_bumper/pyproject.py +58 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/taskfiles/hatch.yaml +1 -1
- {version_bumper-0.1.0 → version_bumper-0.1.1}/taskfiles/setuptools.yaml +1 -1
- version_bumper-0.1.1/tests/test_main.py +529 -0
- version_bumper-0.1.0/src/version_bumper/pyproject.py +0 -50
- version_bumper-0.1.0/tests/test_main.py +0 -430
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.cruft.json +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.cruft.json.license +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.gitignore +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.hgignore +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/.gitignore +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/inspectionProfiles/Project_Default.xml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/inspectionProfiles/profiles_settings.xml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/misc.xml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/modules.xml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/ruff.xml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/vcs.xml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.idea/version_bumper.iml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/.pre-commit-config.yaml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/DEV-README.md +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/LICENSES/MIT.txt +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/docs/DEV-README.md +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/docs/index.md +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/mkdocs.yml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/poetry.lock.license +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/scripts/fail_on_regex_match.sh +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/scripts/gen_ref_pages.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/scripts/latest_pypi_version.sh +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/scripts/metrics_cc_filter.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/scripts/run-mypy-all-python-versions.sh +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/scripts/swap_build_system.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/scripts/venv_runner.sh +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/__init__.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/__init__.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/application_settings.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/config_file.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/config_file_base.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/info_control.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/json_config_file.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/logger_control.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/clibones/toml_config_file.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/commands.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/src/version_bumper/version.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/taskfiles/hatch-vars.yaml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/taskfiles/poetry-vars.yaml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/taskfiles/poetry.yaml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/taskfiles/setuptools-vars.yaml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/config_1.toml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/config_2.toml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/config_3.toml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/config_4.toml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/good_pyproject.toml +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/test_app_version.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/test_commands.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/test_config_file.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/test_info_control.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/test_pyproject.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tests/test_version.py +0 -0
- {version_bumper-0.1.0 → version_bumper-0.1.1}/tox.ini +0 -0
|
@@ -4,9 +4,11 @@
|
|
|
4
4
|
<option name="autoReloadType" value="SELECTIVE" />
|
|
5
5
|
</component>
|
|
6
6
|
<component name="ChangeListManager">
|
|
7
|
-
<list default="true" id="bdf489a7-b068-4e9c-b042-e8df4d689613" name="Changes" comment="
|
|
8
|
-
<change beforePath="$PROJECT_DIR$/README.md" beforeDir="false" afterPath="$PROJECT_DIR$/README.md" afterDir="false" />
|
|
7
|
+
<list default="true" id="bdf489a7-b068-4e9c-b042-e8df4d689613" name="Changes" comment="bump version to 0.1.1">
|
|
9
8
|
<change beforePath="$PROJECT_DIR$/Taskfile.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/Taskfile.yaml" afterDir="false" />
|
|
9
|
+
<change beforePath="$PROJECT_DIR$/pyproject.toml" beforeDir="false" afterPath="$PROJECT_DIR$/pyproject.toml" afterDir="false" />
|
|
10
|
+
<change beforePath="$PROJECT_DIR$/taskfiles/hatch.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/taskfiles/hatch.yaml" afterDir="false" />
|
|
11
|
+
<change beforePath="$PROJECT_DIR$/taskfiles/setuptools.yaml" beforeDir="false" afterPath="$PROJECT_DIR$/taskfiles/setuptools.yaml" afterDir="false" />
|
|
10
12
|
</list>
|
|
11
13
|
<option name="SHOW_DIALOG" value="false" />
|
|
12
14
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
|
@@ -47,7 +49,11 @@
|
|
|
47
49
|
"keyToString": {
|
|
48
50
|
"Python tests.pytest for test_commands.test_bump_version_error_handling.executor": "Coverage",
|
|
49
51
|
"Python tests.pytest for test_main.test_bump_patch.executor": "Debug",
|
|
52
|
+
"Python tests.pytest for test_main.test_file_not_found.executor": "Run",
|
|
53
|
+
"Python tests.pytest for test_main.test_get_json_both.executor": "Debug",
|
|
50
54
|
"Python tests.pytest for test_main.test_invalid_version.executor": "Run",
|
|
55
|
+
"Python tests.pytest for test_main.test_no_arguments.executor": "Debug",
|
|
56
|
+
"Python tests.pytest for test_main.test_set_file_not_found.executor": "Run",
|
|
51
57
|
"Python tests.pytest for test_pyproject.test_load_invalid_key.executor": "Debug",
|
|
52
58
|
"Python tests.pytest for test_pyproject.test_save_version.executor": "Run",
|
|
53
59
|
"Python tests.pytest for test_version.test_normalizations.executor": "Debug",
|
|
@@ -59,6 +65,7 @@
|
|
|
59
65
|
"Python tests.pytest for tests.test_main.executor": "Run",
|
|
60
66
|
"Python tests.pytest for tests.test_main.test_invalid_version.executor": "Debug",
|
|
61
67
|
"Python tests.pytest for tests.test_main.test_main_version.executor": "Debug",
|
|
68
|
+
"Python tests.pytest for tests.test_main.test_set_no_arguments.executor": "Run",
|
|
62
69
|
"Python tests.pytest for tests.test_version.executor": "Run",
|
|
63
70
|
"Python tests.pytest for tests.test_version.test_bump.executor": "Debug",
|
|
64
71
|
"Python tests.pytest for tests.test_version.test_major_minor.executor": "Debug",
|
|
@@ -77,14 +84,14 @@
|
|
|
77
84
|
"Python.__main__.executor": "Debug",
|
|
78
85
|
"RunOnceActivity.ShowReadmeOnStart": "true",
|
|
79
86
|
"git-widget-placeholder": "main",
|
|
80
|
-
"last_opened_file_path": "/home/royw/src/check_pyproject/
|
|
87
|
+
"last_opened_file_path": "/home/royw/src/check_pyproject/Taskfile.yaml",
|
|
81
88
|
"node.js.detected.package.eslint": "true",
|
|
82
89
|
"node.js.detected.package.tslint": "true",
|
|
83
90
|
"node.js.selected.package.eslint": "(autodetect)",
|
|
84
91
|
"node.js.selected.package.tslint": "(autodetect)",
|
|
85
92
|
"nodejs_package_manager_path": "npm",
|
|
86
|
-
"settings.editor.selected.configurable": "
|
|
87
|
-
"two.files.diff.last.used.file": "/home/royw/src/check_pyproject/
|
|
93
|
+
"settings.editor.selected.configurable": "Errors",
|
|
94
|
+
"two.files.diff.last.used.file": "/home/royw/src/check_pyproject/Taskfile.yaml",
|
|
88
95
|
"two.files.diff.last.used.folder": "/home/royw/src/check_pyproject/src/check_pyproject/clibones",
|
|
89
96
|
"vue.rearranger.settings.migration": "true"
|
|
90
97
|
}
|
|
@@ -95,7 +102,7 @@
|
|
|
95
102
|
<recent name="$PROJECT_DIR$/src/version_bumper" />
|
|
96
103
|
</key>
|
|
97
104
|
</component>
|
|
98
|
-
<component name="RunManager" selected="Python tests.pytest in
|
|
105
|
+
<component name="RunManager" selected="Python tests.pytest in test_main.py">
|
|
99
106
|
<configuration name="__main__" type="PythonConfigurationType" factoryName="Python" nameIsGenerated="true">
|
|
100
107
|
<module name="version_bumper" />
|
|
101
108
|
<option name="ENV_FILES" value="" />
|
|
@@ -119,7 +126,7 @@
|
|
|
119
126
|
<option name="INPUT_FILE" value="" />
|
|
120
127
|
<method v="2" />
|
|
121
128
|
</configuration>
|
|
122
|
-
<configuration name="pytest for
|
|
129
|
+
<configuration name="pytest for test_main.test_get_json_both" type="tests" factoryName="py.test" temporary="true" nameIsGenerated="true">
|
|
123
130
|
<module name="version_bumper" />
|
|
124
131
|
<option name="ENV_FILES" value="" />
|
|
125
132
|
<option name="INTERPRETER_OPTIONS" value="" />
|
|
@@ -133,11 +140,11 @@
|
|
|
133
140
|
<option name="_new_keywords" value="""" />
|
|
134
141
|
<option name="_new_parameters" value="""" />
|
|
135
142
|
<option name="_new_additionalArguments" value="""" />
|
|
136
|
-
<option name="_new_target" value=""
|
|
143
|
+
<option name="_new_target" value=""test_main.test_get_json_both"" />
|
|
137
144
|
<option name="_new_targetType" value=""PYTHON"" />
|
|
138
145
|
<method v="2" />
|
|
139
146
|
</configuration>
|
|
140
|
-
<configuration name="pytest
|
|
147
|
+
<configuration name="pytest for test_main.test_no_arguments" type="tests" factoryName="py.test" temporary="true" nameIsGenerated="true">
|
|
141
148
|
<module name="version_bumper" />
|
|
142
149
|
<option name="ENV_FILES" value="" />
|
|
143
150
|
<option name="INTERPRETER_OPTIONS" value="" />
|
|
@@ -151,11 +158,11 @@
|
|
|
151
158
|
<option name="_new_keywords" value="""" />
|
|
152
159
|
<option name="_new_parameters" value="""" />
|
|
153
160
|
<option name="_new_additionalArguments" value="""" />
|
|
154
|
-
<option name="_new_target" value=""
|
|
155
|
-
<option name="_new_targetType" value=""
|
|
161
|
+
<option name="_new_target" value=""test_main.test_no_arguments"" />
|
|
162
|
+
<option name="_new_targetType" value=""PYTHON"" />
|
|
156
163
|
<method v="2" />
|
|
157
164
|
</configuration>
|
|
158
|
-
<configuration name="pytest
|
|
165
|
+
<configuration name="pytest for test_main.test_set_file_not_found" type="tests" factoryName="py.test" temporary="true" nameIsGenerated="true">
|
|
159
166
|
<module name="version_bumper" />
|
|
160
167
|
<option name="ENV_FILES" value="" />
|
|
161
168
|
<option name="INTERPRETER_OPTIONS" value="" />
|
|
@@ -169,11 +176,11 @@
|
|
|
169
176
|
<option name="_new_keywords" value="""" />
|
|
170
177
|
<option name="_new_parameters" value="""" />
|
|
171
178
|
<option name="_new_additionalArguments" value="""" />
|
|
172
|
-
<option name="_new_target" value=""
|
|
173
|
-
<option name="_new_targetType" value=""
|
|
179
|
+
<option name="_new_target" value=""test_main.test_set_file_not_found"" />
|
|
180
|
+
<option name="_new_targetType" value=""PYTHON"" />
|
|
174
181
|
<method v="2" />
|
|
175
182
|
</configuration>
|
|
176
|
-
<configuration name="pytest
|
|
183
|
+
<configuration name="pytest for tests.test_main.test_set_no_arguments" type="tests" factoryName="py.test" temporary="true" nameIsGenerated="true">
|
|
177
184
|
<module name="version_bumper" />
|
|
178
185
|
<option name="ENV_FILES" value="" />
|
|
179
186
|
<option name="INTERPRETER_OPTIONS" value="" />
|
|
@@ -187,11 +194,11 @@
|
|
|
187
194
|
<option name="_new_keywords" value="""" />
|
|
188
195
|
<option name="_new_parameters" value="""" />
|
|
189
196
|
<option name="_new_additionalArguments" value="""" />
|
|
190
|
-
<option name="_new_target" value=""
|
|
191
|
-
<option name="_new_targetType" value=""
|
|
197
|
+
<option name="_new_target" value=""tests.test_main.test_set_no_arguments"" />
|
|
198
|
+
<option name="_new_targetType" value=""PYTHON"" />
|
|
192
199
|
<method v="2" />
|
|
193
200
|
</configuration>
|
|
194
|
-
<configuration name="pytest in
|
|
201
|
+
<configuration name="pytest in test_main.py" type="tests" factoryName="py.test" temporary="true" nameIsGenerated="true">
|
|
195
202
|
<module name="version_bumper" />
|
|
196
203
|
<option name="ENV_FILES" value="" />
|
|
197
204
|
<option name="INTERPRETER_OPTIONS" value="" />
|
|
@@ -205,25 +212,25 @@
|
|
|
205
212
|
<option name="_new_keywords" value="""" />
|
|
206
213
|
<option name="_new_parameters" value="""" />
|
|
207
214
|
<option name="_new_additionalArguments" value="""" />
|
|
208
|
-
<option name="_new_target" value=""$PROJECT_DIR$/tests"" />
|
|
215
|
+
<option name="_new_target" value=""$PROJECT_DIR$/tests/test_main.py"" />
|
|
209
216
|
<option name="_new_targetType" value=""PATH"" />
|
|
210
217
|
<method v="2" />
|
|
211
218
|
</configuration>
|
|
212
219
|
<list>
|
|
213
220
|
<item itemvalue="Python.__main__" />
|
|
214
|
-
<item itemvalue="Python tests.pytest for
|
|
221
|
+
<item itemvalue="Python tests.pytest for test_main.test_get_json_both" />
|
|
222
|
+
<item itemvalue="Python tests.pytest for test_main.test_no_arguments" />
|
|
223
|
+
<item itemvalue="Python tests.pytest for test_main.test_set_file_not_found" />
|
|
224
|
+
<item itemvalue="Python tests.pytest for tests.test_main.test_set_no_arguments" />
|
|
215
225
|
<item itemvalue="Python tests.pytest in test_main.py" />
|
|
216
|
-
<item itemvalue="Python tests.pytest in tests" />
|
|
217
|
-
<item itemvalue="Python tests.pytest in test_app_version.py" />
|
|
218
|
-
<item itemvalue="Python tests.pytest in test_version.py" />
|
|
219
226
|
</list>
|
|
220
227
|
<recent_temporary>
|
|
221
228
|
<list>
|
|
222
|
-
<item itemvalue="Python tests.pytest in tests" />
|
|
223
|
-
<item itemvalue="Python tests.pytest for tests.test_version.test_set_invalid_part" />
|
|
224
|
-
<item itemvalue="Python tests.pytest in test_version.py" />
|
|
225
229
|
<item itemvalue="Python tests.pytest in test_main.py" />
|
|
226
|
-
<item itemvalue="Python tests.pytest
|
|
230
|
+
<item itemvalue="Python tests.pytest for test_main.test_get_json_both" />
|
|
231
|
+
<item itemvalue="Python tests.pytest for tests.test_main.test_set_no_arguments" />
|
|
232
|
+
<item itemvalue="Python tests.pytest for test_main.test_no_arguments" />
|
|
233
|
+
<item itemvalue="Python tests.pytest for test_main.test_set_file_not_found" />
|
|
227
234
|
</list>
|
|
228
235
|
</recent_temporary>
|
|
229
236
|
</component>
|
|
@@ -262,7 +269,9 @@
|
|
|
262
269
|
<workItem from="1723575967280" duration="21005000" />
|
|
263
270
|
<workItem from="1724015218524" duration="6975000" />
|
|
264
271
|
<workItem from="1724709143800" duration="2893000" />
|
|
265
|
-
<workItem from="1724782777037" duration="
|
|
272
|
+
<workItem from="1724782777037" duration="5036000" />
|
|
273
|
+
<workItem from="1724869012387" duration="1217000" />
|
|
274
|
+
<workItem from="1724874899053" duration="12538000" />
|
|
266
275
|
</task>
|
|
267
276
|
<task id="LOCAL-00001" summary="initial coding">
|
|
268
277
|
<option name="closed" value="true" />
|
|
@@ -384,7 +393,87 @@
|
|
|
384
393
|
<option name="project" value="LOCAL" />
|
|
385
394
|
<updated>1724784024472</updated>
|
|
386
395
|
</task>
|
|
387
|
-
<
|
|
396
|
+
<task id="LOCAL-00016" summary="Correct development prerequisites.">
|
|
397
|
+
<option name="closed" value="true" />
|
|
398
|
+
<created>1724874135605</created>
|
|
399
|
+
<option name="number" value="00016" />
|
|
400
|
+
<option name="presentableId" value="LOCAL-00016" />
|
|
401
|
+
<option name="project" value="LOCAL" />
|
|
402
|
+
<updated>1724874135605</updated>
|
|
403
|
+
</task>
|
|
404
|
+
<task id="LOCAL-00017" summary="Add version-bumper task">
|
|
405
|
+
<option name="closed" value="true" />
|
|
406
|
+
<created>1724874166278</created>
|
|
407
|
+
<option name="number" value="00017" />
|
|
408
|
+
<option name="presentableId" value="LOCAL-00017" />
|
|
409
|
+
<option name="project" value="LOCAL" />
|
|
410
|
+
<updated>1724874166278</updated>
|
|
411
|
+
</task>
|
|
412
|
+
<task id="LOCAL-00018" summary="bump version to 0.1.1a1">
|
|
413
|
+
<option name="closed" value="true" />
|
|
414
|
+
<created>1724874194181</created>
|
|
415
|
+
<option name="number" value="00018" />
|
|
416
|
+
<option name="presentableId" value="LOCAL-00018" />
|
|
417
|
+
<option name="project" value="LOCAL" />
|
|
418
|
+
<updated>1724874194181</updated>
|
|
419
|
+
</task>
|
|
420
|
+
<task id="LOCAL-00019" summary="add support for parallel testing using pytest-xdist">
|
|
421
|
+
<option name="closed" value="true" />
|
|
422
|
+
<created>1724951202255</created>
|
|
423
|
+
<option name="number" value="00019" />
|
|
424
|
+
<option name="presentableId" value="LOCAL-00019" />
|
|
425
|
+
<option name="project" value="LOCAL" />
|
|
426
|
+
<updated>1724951202255</updated>
|
|
427
|
+
</task>
|
|
428
|
+
<task id="LOCAL-00020" summary="refactor tests to run in parallel. Added some error handling tests.">
|
|
429
|
+
<option name="closed" value="true" />
|
|
430
|
+
<created>1724951272692</created>
|
|
431
|
+
<option name="number" value="00020" />
|
|
432
|
+
<option name="presentableId" value="LOCAL-00020" />
|
|
433
|
+
<option name="project" value="LOCAL" />
|
|
434
|
+
<updated>1724951272693</updated>
|
|
435
|
+
</task>
|
|
436
|
+
<task id="LOCAL-00021" summary="correct default pyproject.toml path. Added error handling.">
|
|
437
|
+
<option name="closed" value="true" />
|
|
438
|
+
<created>1724951329866</created>
|
|
439
|
+
<option name="number" value="00021" />
|
|
440
|
+
<option name="presentableId" value="LOCAL-00021" />
|
|
441
|
+
<option name="project" value="LOCAL" />
|
|
442
|
+
<updated>1724951329866</updated>
|
|
443
|
+
</task>
|
|
444
|
+
<task id="LOCAL-00022" summary="added file not found error handling.">
|
|
445
|
+
<option name="closed" value="true" />
|
|
446
|
+
<created>1724951356356</created>
|
|
447
|
+
<option name="number" value="00022" />
|
|
448
|
+
<option name="presentableId" value="LOCAL-00022" />
|
|
449
|
+
<option name="project" value="LOCAL" />
|
|
450
|
+
<updated>1724951356356</updated>
|
|
451
|
+
</task>
|
|
452
|
+
<task id="LOCAL-00023" summary="updated">
|
|
453
|
+
<option name="closed" value="true" />
|
|
454
|
+
<created>1724951379300</created>
|
|
455
|
+
<option name="number" value="00023" />
|
|
456
|
+
<option name="presentableId" value="LOCAL-00023" />
|
|
457
|
+
<option name="project" value="LOCAL" />
|
|
458
|
+
<updated>1724951379300</updated>
|
|
459
|
+
</task>
|
|
460
|
+
<task id="LOCAL-00024" summary="correct version task">
|
|
461
|
+
<option name="closed" value="true" />
|
|
462
|
+
<created>1724951597544</created>
|
|
463
|
+
<option name="number" value="00024" />
|
|
464
|
+
<option name="presentableId" value="LOCAL-00024" />
|
|
465
|
+
<option name="project" value="LOCAL" />
|
|
466
|
+
<updated>1724951597544</updated>
|
|
467
|
+
</task>
|
|
468
|
+
<task id="LOCAL-00025" summary="bump version to 0.1.1">
|
|
469
|
+
<option name="closed" value="true" />
|
|
470
|
+
<created>1724951626147</created>
|
|
471
|
+
<option name="number" value="00025" />
|
|
472
|
+
<option name="presentableId" value="LOCAL-00025" />
|
|
473
|
+
<option name="project" value="LOCAL" />
|
|
474
|
+
<updated>1724951626147</updated>
|
|
475
|
+
</task>
|
|
476
|
+
<option name="localTasksCounter" value="26" />
|
|
388
477
|
<servers />
|
|
389
478
|
</component>
|
|
390
479
|
<component name="TypeScriptGeneratedFilesManager">
|
|
@@ -402,8 +491,6 @@
|
|
|
402
491
|
</option>
|
|
403
492
|
</component>
|
|
404
493
|
<component name="VcsManagerConfiguration">
|
|
405
|
-
<MESSAGE value="initial coding" />
|
|
406
|
-
<MESSAGE value="added command (get, bump,...) tests" />
|
|
407
494
|
<MESSAGE value="Complexity reduction" />
|
|
408
495
|
<MESSAGE value="Added comments" />
|
|
409
496
|
<MESSAGE value="Corrected poetry dependency usage." />
|
|
@@ -418,15 +505,31 @@
|
|
|
418
505
|
<MESSAGE value="split main task into main (app script) and main-module (via module) enabling running app both ways." />
|
|
419
506
|
<MESSAGE value="remove bump2version artifacts" />
|
|
420
507
|
<MESSAGE value="update publishing tasks" />
|
|
421
|
-
<
|
|
508
|
+
<MESSAGE value="Correct development prerequisites." />
|
|
509
|
+
<MESSAGE value="Add version-bumper task" />
|
|
510
|
+
<MESSAGE value="bump version to 0.1.1a1" />
|
|
511
|
+
<MESSAGE value="changed default pyproject.toml location and added file exception handling." />
|
|
512
|
+
<MESSAGE value="add support for parallel testing using pytest-xdist" />
|
|
513
|
+
<MESSAGE value="refactor tests to run in parallel. Added some error handling tests." />
|
|
514
|
+
<MESSAGE value="correct default pyproject.toml path. Added error handling." />
|
|
515
|
+
<MESSAGE value="added file not found error handling." />
|
|
516
|
+
<MESSAGE value="updated" />
|
|
517
|
+
<MESSAGE value="correct version task" />
|
|
518
|
+
<MESSAGE value="bump version to 0.1.1" />
|
|
519
|
+
<option name="LAST_COMMIT_MESSAGE" value="bump version to 0.1.1" />
|
|
422
520
|
</component>
|
|
423
521
|
<component name="XDebuggerManager">
|
|
424
522
|
<breakpoint-manager>
|
|
425
523
|
<breakpoints>
|
|
426
524
|
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
|
|
427
|
-
<url>file://$PROJECT_DIR$/src/version_bumper/
|
|
428
|
-
<line>
|
|
429
|
-
<option name="timeStamp" value="
|
|
525
|
+
<url>file://$PROJECT_DIR$/src/version_bumper/pyproject.py</url>
|
|
526
|
+
<line>56</line>
|
|
527
|
+
<option name="timeStamp" value="62" />
|
|
528
|
+
</line-breakpoint>
|
|
529
|
+
<line-breakpoint enabled="true" suspend="THREAD" type="python-line">
|
|
530
|
+
<url>file://$PROJECT_DIR$/src/version_bumper/pyproject.py</url>
|
|
531
|
+
<line>32</line>
|
|
532
|
+
<option name="timeStamp" value="63" />
|
|
430
533
|
</line-breakpoint>
|
|
431
534
|
</breakpoints>
|
|
432
535
|
</breakpoint-manager>
|
|
@@ -442,25 +545,30 @@
|
|
|
442
545
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_info_control_py.coverage" NAME="pytest in test_info_control.py Coverage Results" MODIFIED="1723572970522" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
443
546
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_commands.coverage" NAME="pytest for tests.test_commands Coverage Results" MODIFIED="1723498416985" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
444
547
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_main_test_bump_patch.coverage" NAME="pytest for test_main.test_bump_patch Coverage Results" MODIFIED="1723335361015" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
445
|
-
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_main_py.coverage" NAME="pytest in test_main.py Coverage Results" MODIFIED="
|
|
548
|
+
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_main_py.coverage" NAME="pytest in test_main.py Coverage Results" MODIFIED="1724951047303" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
446
549
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_main_test_invalid_version.coverage" NAME="pytest for test_main.test_invalid_version Coverage Results" MODIFIED="1723349184634" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
447
550
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_version_test_set.coverage" NAME="pytest for test_version.test_set Coverage Results" MODIFIED="1723266243338" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
448
551
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_version_test_separators.coverage" NAME="pytest for test_version.test_separators Coverage Results" MODIFIED="1723242052897" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
449
552
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_main.coverage" NAME="pytest for tests.test_main Coverage Results" MODIFIED="1723345019594" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
450
553
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_pyproject_py.coverage" NAME="pytest in test_pyproject.py Coverage Results" MODIFIED="1723572955823" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
451
|
-
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_tests.coverage" NAME="pytest in tests Coverage Results" MODIFIED="
|
|
554
|
+
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_tests.coverage" NAME="pytest in tests Coverage Results" MODIFIED="1724876746700" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
452
555
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_version_test_normalizations.coverage" NAME="pytest for test_version.test_normalizations Coverage Results" MODIFIED="1723230918332" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
453
556
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_version_test_modify.coverage" NAME="pytest for tests.test_version.test_modify Coverage Results" MODIFIED="1723188931515" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
454
557
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_commands_test_bump_version_error_handling.coverage" NAME="pytest for test_commands.test_bump_version_error_handling Coverage Results" MODIFIED="1723497980731" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
455
558
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_commands_test_bump_version_no_poetry_version.coverage" NAME="pytest for tests.test_commands.test_bump_version_no_poetry_version Coverage Results" MODIFIED="1723501080252" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
456
559
|
<SUITE FILE_PATH="coverage/version_bumper$__main__.coverage" NAME="__main__ Coverage Results" MODIFIED="1723266398115" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/src/version_bumper" />
|
|
560
|
+
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_main_test_get_json_both.coverage" NAME="pytest for test_main.test_get_json_both Coverage Results" MODIFIED="1724883305591" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
457
561
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_main_test_main_version.coverage" NAME="pytest for tests.test_main.test_main_version Coverage Results" MODIFIED="1723350156227" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
458
562
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_pyproject_test_save_version.coverage" NAME="pytest for test_pyproject.test_save_version Coverage Results" MODIFIED="1723163582910" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
459
563
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_version.coverage" NAME="pytest for tests.test_version Coverage Results" MODIFIED="1723335131754" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
564
|
+
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_main_test_set_file_not_found.coverage" NAME="pytest for test_main.test_set_file_not_found Coverage Results" MODIFIED="1724877135725" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
460
565
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_config_file_py.coverage" NAME="pytest in test_config_file.py Coverage Results" MODIFIED="1723572981708" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
461
566
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_app_version_py.coverage" NAME="pytest in test_app_version.py Coverage Results" MODIFIED="1723573003035" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
567
|
+
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_main_test_file_not_found.coverage" NAME="pytest for test_main.test_file_not_found Coverage Results" MODIFIED="1724876955161" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
568
|
+
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_main_test_set_no_arguments.coverage" NAME="pytest for tests.test_main.test_set_no_arguments Coverage Results" MODIFIED="1724878957022" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
462
569
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_tests_test_version_test_set.coverage" NAME="pytest for tests.test_version.test_set Coverage Results" MODIFIED="1723324883803" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
463
570
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_commands_py.coverage" NAME="pytest in test_commands.py Coverage Results" MODIFIED="1723572993679" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
464
571
|
<SUITE FILE_PATH="coverage/version_bumper$pytest_in_test_version_py.coverage" NAME="pytest in test_version.py Coverage Results" MODIFIED="1723583274079" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
572
|
+
<SUITE FILE_PATH="coverage/version_bumper$pytest_for_test_main_test_no_arguments.coverage" NAME="pytest for test_main.test_no_arguments Coverage Results" MODIFIED="1724878555671" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="coverage.py" COVERAGE_BY_TEST_ENABLED="false" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$/tests" />
|
|
465
573
|
</component>
|
|
466
574
|
</project>
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: version_bumper
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: Python package version utility to bump a version by parts.
|
|
5
5
|
Project-URL: version_bumper, https://github.com/royw/version_bumper
|
|
6
6
|
Author-email: Roy Wright <roy@wright.org>
|
|
@@ -63,12 +63,14 @@ Requires-Dist: sphinx<8.0.0,>=7.3.7; extra == 'sphinx'
|
|
|
63
63
|
Provides-Extra: test
|
|
64
64
|
Requires-Dist: coverage[toml]<8.0.0,>=7.5.4; extra == 'test'
|
|
65
65
|
Requires-Dist: pytest-cov<6.0.0,>=5.0.0; extra == 'test'
|
|
66
|
+
Requires-Dist: pytest-xdist[psutil]<4.0.0,>=3.6.1; extra == 'test'
|
|
66
67
|
Requires-Dist: pytest<9.0.0,>=8.2.2; extra == 'test'
|
|
67
68
|
Requires-Dist: tox<5.0.0,>=4.14.2; extra == 'test'
|
|
68
69
|
Description-Content-Type: text/markdown
|
|
69
70
|
|
|
70
71
|
<!--
|
|
71
72
|
SPDX-FileCopyrightText: 2024 Roy Wright
|
|
73
|
+
|
|
72
74
|
SPDX-License-Identifier: MIT
|
|
73
75
|
-->
|
|
74
76
|
|
|
@@ -249,11 +251,8 @@ Please see the unit tests in tests/ directory for more examples.
|
|
|
249
251
|
- Recommended to upgrade pip to latest.
|
|
250
252
|
- Optionally install [Poetry](https://python-poetry.org/)
|
|
251
253
|
- Optionally install [Hatch](https://hatch.pypa.io/)
|
|
252
|
-
- Install [pip-tools](https://pypi.org/project/pip-tools/)
|
|
253
254
|
- Optionally install [setuptools](https://setuptools.pypa.io/)
|
|
254
255
|
- Install [build](https://build.pypa.io/)
|
|
255
|
-
- Install [pip-tools](https://pypi.org/project/pip-tools/)
|
|
256
|
-
- Install [twine](https://twine.readthedocs.io/)
|
|
257
256
|
|
|
258
257
|
Install the package using your favorite dev tool. Examples:
|
|
259
258
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
<!--
|
|
2
2
|
SPDX-FileCopyrightText: 2024 Roy Wright
|
|
3
|
+
|
|
3
4
|
SPDX-License-Identifier: MIT
|
|
4
5
|
-->
|
|
5
6
|
|
|
@@ -180,11 +181,8 @@ Please see the unit tests in tests/ directory for more examples.
|
|
|
180
181
|
- Recommended to upgrade pip to latest.
|
|
181
182
|
- Optionally install [Poetry](https://python-poetry.org/)
|
|
182
183
|
- Optionally install [Hatch](https://hatch.pypa.io/)
|
|
183
|
-
- Install [pip-tools](https://pypi.org/project/pip-tools/)
|
|
184
184
|
- Optionally install [setuptools](https://setuptools.pypa.io/)
|
|
185
185
|
- Install [build](https://build.pypa.io/)
|
|
186
|
-
- Install [pip-tools](https://pypi.org/project/pip-tools/)
|
|
187
|
-
- Install [twine](https://twine.readthedocs.io/)
|
|
188
186
|
|
|
189
187
|
Install the package using your favorite dev tool. Examples:
|
|
190
188
|
|
|
@@ -184,6 +184,8 @@ tasks:
|
|
|
184
184
|
cmds:
|
|
185
185
|
# show project's environment
|
|
186
186
|
- task: fe:show-env
|
|
187
|
+
# cleanup
|
|
188
|
+
- rm -rf test-install
|
|
187
189
|
# format the source code
|
|
188
190
|
- task: format
|
|
189
191
|
# check for programming errors/warnings
|
|
@@ -213,8 +215,11 @@ tasks:
|
|
|
213
215
|
|
|
214
216
|
version:
|
|
215
217
|
desc: Run the project, having it return its version.
|
|
218
|
+
vars:
|
|
219
|
+
APP_NAME:
|
|
220
|
+
sh: "{{.DEV_RUNNER}} toml get --toml-path pyproject.toml project.name"
|
|
216
221
|
cmds:
|
|
217
|
-
- "{{.DEFAULT_RUNNER}} python3 -m
|
|
222
|
+
- "{{.DEFAULT_RUNNER}} python3 -m {{.APP_NAME}} --version"
|
|
218
223
|
|
|
219
224
|
pypi-version:
|
|
220
225
|
desc:
|
|
@@ -283,6 +288,7 @@ tasks:
|
|
|
283
288
|
- rm -rf site
|
|
284
289
|
- rm -rf src/*.egg-info
|
|
285
290
|
- rm -rf tests/__pycache__
|
|
291
|
+
- rm -rf test-install
|
|
286
292
|
- rm -rf .*_cache
|
|
287
293
|
- rm -f requirements.txt
|
|
288
294
|
- rm -f requirements.txt.license
|
|
@@ -384,3 +390,8 @@ tasks:
|
|
|
384
390
|
sh: "{{.DEV_RUNNER}} toml get --toml-path pyproject.toml project.name"
|
|
385
391
|
cmds:
|
|
386
392
|
- "{{.DEFAULT_RUNNER}} {{.APP_NAME}} {{.CLI_ARGS}}"
|
|
393
|
+
|
|
394
|
+
version-bumper:
|
|
395
|
+
desc: "Manage the project's version with version-bumper"
|
|
396
|
+
cmds:
|
|
397
|
+
- "{{.DEFAULT_RUNNER}} version_bumper {{.CLI_ARGS}}"
|
|
@@ -643,6 +643,20 @@ files = [
|
|
|
643
643
|
{file = "docutils-0.21.2.tar.gz", hash = "sha256:3a6b18732edf182daa3cd12775bbb338cf5691468f91eeeb109deff6ebfa986f"},
|
|
644
644
|
]
|
|
645
645
|
|
|
646
|
+
[[package]]
|
|
647
|
+
name = "execnet"
|
|
648
|
+
version = "2.1.1"
|
|
649
|
+
description = "execnet: rapid multi-Python deployment"
|
|
650
|
+
optional = false
|
|
651
|
+
python-versions = ">=3.8"
|
|
652
|
+
files = [
|
|
653
|
+
{file = "execnet-2.1.1-py3-none-any.whl", hash = "sha256:26dee51f1b80cebd6d0ca8e74dd8745419761d3bef34163928cbebbdc4749fdc"},
|
|
654
|
+
{file = "execnet-2.1.1.tar.gz", hash = "sha256:5189b52c6121c24feae288166ab41b32549c7e2348652736540b9e6e7d4e72e3"},
|
|
655
|
+
]
|
|
656
|
+
|
|
657
|
+
[package.extras]
|
|
658
|
+
testing = ["hatch", "pre-commit", "pytest", "tox"]
|
|
659
|
+
|
|
646
660
|
[[package]]
|
|
647
661
|
name = "fastjsonschema"
|
|
648
662
|
version = "2.20.0"
|
|
@@ -1777,6 +1791,35 @@ nodeenv = ">=0.11.1"
|
|
|
1777
1791
|
pyyaml = ">=5.1"
|
|
1778
1792
|
virtualenv = ">=20.10.0"
|
|
1779
1793
|
|
|
1794
|
+
[[package]]
|
|
1795
|
+
name = "psutil"
|
|
1796
|
+
version = "6.0.0"
|
|
1797
|
+
description = "Cross-platform lib for process and system monitoring in Python."
|
|
1798
|
+
optional = false
|
|
1799
|
+
python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=2.7"
|
|
1800
|
+
files = [
|
|
1801
|
+
{file = "psutil-6.0.0-cp27-cp27m-macosx_10_9_x86_64.whl", hash = "sha256:a021da3e881cd935e64a3d0a20983bda0bb4cf80e4f74fa9bfcb1bc5785360c6"},
|
|
1802
|
+
{file = "psutil-6.0.0-cp27-cp27m-manylinux2010_i686.whl", hash = "sha256:1287c2b95f1c0a364d23bc6f2ea2365a8d4d9b726a3be7294296ff7ba97c17f0"},
|
|
1803
|
+
{file = "psutil-6.0.0-cp27-cp27m-manylinux2010_x86_64.whl", hash = "sha256:a9a3dbfb4de4f18174528d87cc352d1f788b7496991cca33c6996f40c9e3c92c"},
|
|
1804
|
+
{file = "psutil-6.0.0-cp27-cp27mu-manylinux2010_i686.whl", hash = "sha256:6ec7588fb3ddaec7344a825afe298db83fe01bfaaab39155fa84cf1c0d6b13c3"},
|
|
1805
|
+
{file = "psutil-6.0.0-cp27-cp27mu-manylinux2010_x86_64.whl", hash = "sha256:1e7c870afcb7d91fdea2b37c24aeb08f98b6d67257a5cb0a8bc3ac68d0f1a68c"},
|
|
1806
|
+
{file = "psutil-6.0.0-cp27-none-win32.whl", hash = "sha256:02b69001f44cc73c1c5279d02b30a817e339ceb258ad75997325e0e6169d8b35"},
|
|
1807
|
+
{file = "psutil-6.0.0-cp27-none-win_amd64.whl", hash = "sha256:21f1fb635deccd510f69f485b87433460a603919b45e2a324ad65b0cc74f8fb1"},
|
|
1808
|
+
{file = "psutil-6.0.0-cp36-abi3-macosx_10_9_x86_64.whl", hash = "sha256:c588a7e9b1173b6e866756dde596fd4cad94f9399daf99ad8c3258b3cb2b47a0"},
|
|
1809
|
+
{file = "psutil-6.0.0-cp36-abi3-manylinux_2_12_i686.manylinux2010_i686.manylinux_2_17_i686.manylinux2014_i686.whl", hash = "sha256:6ed2440ada7ef7d0d608f20ad89a04ec47d2d3ab7190896cd62ca5fc4fe08bf0"},
|
|
1810
|
+
{file = "psutil-6.0.0-cp36-abi3-manylinux_2_12_x86_64.manylinux2010_x86_64.manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:5fd9a97c8e94059b0ef54a7d4baf13b405011176c3b6ff257c247cae0d560ecd"},
|
|
1811
|
+
{file = "psutil-6.0.0-cp36-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl", hash = "sha256:e2e8d0054fc88153ca0544f5c4d554d42e33df2e009c4ff42284ac9ebdef4132"},
|
|
1812
|
+
{file = "psutil-6.0.0-cp36-cp36m-win32.whl", hash = "sha256:fc8c9510cde0146432bbdb433322861ee8c3efbf8589865c8bf8d21cb30c4d14"},
|
|
1813
|
+
{file = "psutil-6.0.0-cp36-cp36m-win_amd64.whl", hash = "sha256:34859b8d8f423b86e4385ff3665d3f4d94be3cdf48221fbe476e883514fdb71c"},
|
|
1814
|
+
{file = "psutil-6.0.0-cp37-abi3-win32.whl", hash = "sha256:a495580d6bae27291324fe60cea0b5a7c23fa36a7cd35035a16d93bdcf076b9d"},
|
|
1815
|
+
{file = "psutil-6.0.0-cp37-abi3-win_amd64.whl", hash = "sha256:33ea5e1c975250a720b3a6609c490db40dae5d83a4eb315170c4fe0d8b1f34b3"},
|
|
1816
|
+
{file = "psutil-6.0.0-cp38-abi3-macosx_11_0_arm64.whl", hash = "sha256:ffe7fc9b6b36beadc8c322f84e1caff51e8703b88eee1da46d1e3a6ae11b4fd0"},
|
|
1817
|
+
{file = "psutil-6.0.0.tar.gz", hash = "sha256:8faae4f310b6d969fa26ca0545338b21f73c6b15db7c4a8d934a5482faa818f2"},
|
|
1818
|
+
]
|
|
1819
|
+
|
|
1820
|
+
[package.extras]
|
|
1821
|
+
test = ["enum34", "ipaddress", "mock", "pywin32", "wmi"]
|
|
1822
|
+
|
|
1780
1823
|
[[package]]
|
|
1781
1824
|
name = "pycparser"
|
|
1782
1825
|
version = "2.22"
|
|
@@ -2024,6 +2067,27 @@ pytest = ">=4.6"
|
|
|
2024
2067
|
[package.extras]
|
|
2025
2068
|
testing = ["fields", "hunter", "process-tests", "pytest-xdist", "virtualenv"]
|
|
2026
2069
|
|
|
2070
|
+
[[package]]
|
|
2071
|
+
name = "pytest-xdist"
|
|
2072
|
+
version = "3.6.1"
|
|
2073
|
+
description = "pytest xdist plugin for distributed testing, most importantly across multiple CPUs"
|
|
2074
|
+
optional = false
|
|
2075
|
+
python-versions = ">=3.8"
|
|
2076
|
+
files = [
|
|
2077
|
+
{file = "pytest_xdist-3.6.1-py3-none-any.whl", hash = "sha256:9ed4adfb68a016610848639bb7e02c9352d5d9f03d04809919e2dafc3be4cca7"},
|
|
2078
|
+
{file = "pytest_xdist-3.6.1.tar.gz", hash = "sha256:ead156a4db231eec769737f57668ef58a2084a34b2e55c4a8fa20d861107300d"},
|
|
2079
|
+
]
|
|
2080
|
+
|
|
2081
|
+
[package.dependencies]
|
|
2082
|
+
execnet = ">=2.1"
|
|
2083
|
+
psutil = {version = ">=3.0", optional = true, markers = "extra == \"psutil\""}
|
|
2084
|
+
pytest = ">=7.0.0"
|
|
2085
|
+
|
|
2086
|
+
[package.extras]
|
|
2087
|
+
psutil = ["psutil (>=3.0)"]
|
|
2088
|
+
setproctitle = ["setproctitle"]
|
|
2089
|
+
testing = ["filelock"]
|
|
2090
|
+
|
|
2027
2091
|
[[package]]
|
|
2028
2092
|
name = "python-dateutil"
|
|
2029
2093
|
version = "2.9.0.post0"
|
|
@@ -3098,4 +3162,4 @@ type = ["pytest-mypy"]
|
|
|
3098
3162
|
[metadata]
|
|
3099
3163
|
lock-version = "2.0"
|
|
3100
3164
|
python-versions = "^3.11"
|
|
3101
|
-
content-hash = "
|
|
3165
|
+
content-hash = "cb58dfa3c534a16fce4b603d1771e2a0b129a2254256f947d00cf71f0acd3a38"
|
|
@@ -21,7 +21,7 @@ name = "version_bumper"
|
|
|
21
21
|
# TOML type: string
|
|
22
22
|
# The version of the project, as defined in the Version specifier specification.
|
|
23
23
|
# Users SHOULD prefer to specify already-normalized versions
|
|
24
|
-
version = "0.1.
|
|
24
|
+
version = "0.1.1"
|
|
25
25
|
|
|
26
26
|
# TOML type: string
|
|
27
27
|
# The summary description of the project in one line. Tools MAY error if this includes multiple lines.
|
|
@@ -154,6 +154,7 @@ test = [
|
|
|
154
154
|
"coverage[toml]<8.0.0,>=7.5.4",
|
|
155
155
|
"pytest>=8.2.2, <9.0.0",
|
|
156
156
|
"pytest-cov<6.0.0,>=5.0.0",
|
|
157
|
+
"pytest-xdist[psutil]<4.0.0,>=3.6.1",
|
|
157
158
|
"tox<5.0.0,>=4.14.2",
|
|
158
159
|
]
|
|
159
160
|
docs = [
|
|
@@ -304,6 +305,7 @@ python = ["3.11", "3.12"]
|
|
|
304
305
|
[tool.pytest.ini_options]
|
|
305
306
|
minversion = "6.0"
|
|
306
307
|
addopts = [
|
|
308
|
+
"-n", "auto",
|
|
307
309
|
"-ra", "--showlocals",
|
|
308
310
|
"--strict-markers",
|
|
309
311
|
"--strict-config",
|
|
@@ -461,7 +463,7 @@ ignore_unused = ["radon", "pytest-cov", "pytest", "tox", "fawltydeps", "mkdocs",
|
|
|
461
463
|
"flict", "furo", "liccheck", "mypy", "myst-parser", "pre-commit", "reuse", "sphinx",
|
|
462
464
|
"sphinx-autodoc-typehints", "sphinx-copybutton", "sphinx_copybutton", "tomlkit", "validate-pyproject",
|
|
463
465
|
"blacken-docs", "pyupgrade", "shellcheck-py", "coverage", "mkdocstrings", "toml-cli", "build", "httpx",
|
|
464
|
-
"pip-tools", "twine",
|
|
466
|
+
"pip-tools", "twine", "pytest-xdist",
|
|
465
467
|
"check-pyproject",
|
|
466
468
|
]
|
|
467
469
|
output_format = "human_detailed" # Detailed report by default
|
|
@@ -509,7 +511,7 @@ name = "version_bumper"
|
|
|
509
511
|
|
|
510
512
|
# The version of the package. Required in package mode
|
|
511
513
|
# This should be a valid PEP 440 string.
|
|
512
|
-
version = "0.1.
|
|
514
|
+
version = "0.1.1"
|
|
513
515
|
|
|
514
516
|
# A short description of the package. Required in package mode
|
|
515
517
|
description = "Python package version utility to bump a version by parts."
|
|
@@ -619,6 +621,7 @@ twine = "^5.1.1"
|
|
|
619
621
|
coverage = {extras = ["toml"], version = "^7.5.4"}
|
|
620
622
|
pytest = "^8.2.2"
|
|
621
623
|
pytest-cov = "^5.0.0"
|
|
624
|
+
pytest-xdist = {extras = ["psutil"], version = "^3.6.1"}
|
|
622
625
|
tox = "^4.14.2"
|
|
623
626
|
|
|
624
627
|
[tool.poetry.group.metrics.dependencies]
|