crackerjack 0.37.4__py3-none-any.whl → 0.37.6__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.

Potentially problematic release.


This version of crackerjack might be problematic. Click here for more details.

@@ -16,8 +16,6 @@ def parse_bump_option_with_flag_support(
16
16
 
17
17
  # If the value starts with a dash, it's likely another flag that typer mistakenly captured
18
18
  if value.startswith("-"):
19
- print(f"🐛 DEBUG: Flag '{value}' consumed by -p")
20
-
21
19
  # Map of consumed flags to their corresponding parameter names
22
20
  flag_mapping = {
23
21
  "-c": "commit",
@@ -43,10 +41,16 @@ def parse_bump_option_with_flag_support(
43
41
  if value in flag_mapping:
44
42
  param_name = flag_mapping[value]
45
43
  # Set the parameter directly in the context
46
- if not hasattr(ctx, 'params'):
44
+ if not hasattr(ctx, "params"):
47
45
  ctx.params = {}
48
46
  ctx.params[param_name] = True
49
47
 
48
+ # CRITICAL FIX: Remove the consumed flag from sys.argv to prevent double processing
49
+ import sys
50
+
51
+ if value in sys.argv:
52
+ sys.argv.remove(value)
53
+
50
54
  # Default to interactive mode when used as a flag
51
55
  return "interactive"
52
56
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: crackerjack
3
- Version: 0.37.4
3
+ Version: 0.37.6
4
4
  Summary: Crackerjack Python project management tool
5
5
  Project-URL: documentation, https://github.com/lesleslie/crackerjack
6
6
  Project-URL: homepage, https://github.com/lesleslie/crackerjack
@@ -34,7 +34,7 @@ crackerjack/cli/cache_handlers_enhanced.py,sha256=6X5rYSo1l-rj9eb7eB8mpA-6BlUagy
34
34
  crackerjack/cli/facade.py,sha256=e4_oB04awqEijI3yqiYAZGc6x09uMBa4ih0SsXpgMuY,3751
35
35
  crackerjack/cli/handlers.py,sha256=mYhwMLUKid6mQLff0ScpcnhP0yUS9IzOIMdM7VLkUCc,17178
36
36
  crackerjack/cli/interactive.py,sha256=E7WgzgNRlgOuKLbi5Io3RQ3BBXS8sIDiUQcJh6b2x9I,17583
37
- crackerjack/cli/options.py,sha256=Ad-UhhRUnwEd4a9KKC1X4vdGaBxSqJ9F_Ona-3KXqvM,36356
37
+ crackerjack/cli/options.py,sha256=YmQF94SRihWVGL2s7SDmdcDc7VmgTt_V9ppYl_jQBwU,36489
38
38
  crackerjack/cli/utils.py,sha256=XC7dT8GNidhORjUe2p2hQOpZgCi2KvVCNu6g3azzgqY,584
39
39
  crackerjack/config/__init__.py,sha256=b0481N2f_JvGufMPcbo5IXu2VjYd111r1BHw0oD3x7o,330
40
40
  crackerjack/config/global_lock_config.py,sha256=PyonoA2__HKEEvn6SD-gEYh9iD7xIAdts2C3lNoTWhw,1996
@@ -224,8 +224,8 @@ crackerjack/tools/validate_input_validator_patterns.py,sha256=NN7smYlXWrHLQXTb-8
224
224
  crackerjack/tools/validate_regex_patterns.py,sha256=9ejFb7Tw1js_oydzuEeeeXvrU5ipHUEX9ATBfkLCCE8,5811
225
225
  crackerjack/ui/__init__.py,sha256=eMb1OeTU-dSLICAACn0YdYB4Amdr8wHckjKfn0wOIZE,37
226
226
  crackerjack/ui/server_panels.py,sha256=F5IH6SNN06BaZQMsFx_D-OA286aojmaFPJ5kvvSRv_c,4232
227
- crackerjack-0.37.4.dist-info/METADATA,sha256=DHToYht3-oAai3FRaIap3UPScw3rmi2xdP6VS9Y6lWU,37949
228
- crackerjack-0.37.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
229
- crackerjack-0.37.4.dist-info/entry_points.txt,sha256=AJKNft0WXm9xoGUJ3Trl-iXHOWxRAYbagQiza3AILr4,57
230
- crackerjack-0.37.4.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
231
- crackerjack-0.37.4.dist-info/RECORD,,
227
+ crackerjack-0.37.6.dist-info/METADATA,sha256=d2qKtD9FcvfiMYmse64er8Q8jV8WmGxVLLik_EPoXKw,37949
228
+ crackerjack-0.37.6.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
229
+ crackerjack-0.37.6.dist-info/entry_points.txt,sha256=AJKNft0WXm9xoGUJ3Trl-iXHOWxRAYbagQiza3AILr4,57
230
+ crackerjack-0.37.6.dist-info/licenses/LICENSE,sha256=fDt371P6_6sCu7RyqiZH_AhT1LdN3sN1zjBtqEhDYCk,1531
231
+ crackerjack-0.37.6.dist-info/RECORD,,