gha-utils 4.15.0__py3-none-any.whl → 4.15.1__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 gha-utils might be problematic. Click here for more details.

gha_utils/__init__.py CHANGED
@@ -17,4 +17,4 @@
17
17
 
18
18
  from __future__ import annotations
19
19
 
20
- __version__ = "4.15.0"
20
+ __version__ = "4.15.1"
gha_utils/cli.py CHANGED
@@ -286,8 +286,6 @@ def mailmap_sync(ctx, source, create_if_missing, destination_mailmap):
286
286
  @option(
287
287
  "-F",
288
288
  "--plan-file",
289
- # TODO: remove deprecated --plan option to avoid confusion.
290
- "--plan",
291
289
  type=file_path(exists=True, readable=True, resolve_path=True),
292
290
  multiple=True,
293
291
  metavar="FILE_PATH",
gha_utils/test_plan.py CHANGED
@@ -96,11 +96,16 @@ class CLITestCase:
96
96
  if isinstance(field_data, str) or not isinstance(
97
97
  field_data, Sequence
98
98
  ):
99
- # CLI parameters needs to be split on Unix-like systems.
100
- # XXX If we need the same for Windows, have a look at:
101
- # https://github.com/maxpat78/w32lex
102
- if field_id == "cli_parameters" and sys.platform != "win32":
103
- field_data = tuple(shlex.split(field_data))
99
+ # CLI parameters provided as a long string needs to be split so
100
+ # that each argument is a separate item in the final tuple.
101
+ if field_id == "cli_parameters":
102
+ # XXX Maybe we should rely on a library to parse them:
103
+ # https://github.com/maxpat78/w32lex
104
+ if sys.platform == "win32":
105
+ field_data = field_data.split()
106
+ # For Unix platforms, we have the dedicated shlex module.
107
+ else:
108
+ field_data = shlex.split(field_data)
104
109
  else:
105
110
  field_data = (field_data,)
106
111
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: gha-utils
3
- Version: 4.15.0
3
+ Version: 4.15.1
4
4
  Summary: ⚙️ CLI helpers for GitHub Actions + reuseable workflows
5
5
  Author-email: Kevin Deldycke <kevin@deldycke.com>
6
6
  Project-URL: Homepage, https://github.com/kdeldycke/workflows
@@ -0,0 +1,14 @@
1
+ gha_utils/__init__.py,sha256=U6S-lf9LBMc4aLqIpN6_b_EWdcO7WqZcG6kCvWeyioI,866
2
+ gha_utils/__main__.py,sha256=Dck9BjpLXmIRS83k0mghAMcYVYiMiFLltQdfRuMSP_Q,1703
3
+ gha_utils/changelog.py,sha256=JR7iQrWjLoIOpVNe6iXQSyEii82_hM_zrYpR7QO_Uxo,5777
4
+ gha_utils/cli.py,sha256=rE9sjDj4iFqzyj8PwwSt8JkDSgULltm9qvUgXOqGtT4,12858
5
+ gha_utils/mailmap.py,sha256=naUqJYJnE3fLTjju1nd6WMm7ODiSaI2SHuJxRtmaFWs,6269
6
+ gha_utils/matrix.py,sha256=_afJD0K-xZLNxwykVnUhD0Gj9cdO0Z43g3VHa-q_tkI,11941
7
+ gha_utils/metadata.py,sha256=AbiEdWjcJfUaVwlhV31J-HXJldZgFB0OKS2fHJ60FXU,48282
8
+ gha_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
+ gha_utils/test_plan.py,sha256=57qwIaYfOLbyVKA5X4wldAKePxfvclK7lut--If2fSA,13149
10
+ gha_utils-4.15.1.dist-info/METADATA,sha256=6qHGLG5o_rE-wJgiPiBvlCdmFgzqR68UrByB2cjOnVk,20372
11
+ gha_utils-4.15.1.dist-info/WHEEL,sha256=52BFRY2Up02UkjOa29eZOS2VxUrpPORXg1pkohGGUS8,91
12
+ gha_utils-4.15.1.dist-info/entry_points.txt,sha256=8bJOwQYf9ZqsLhBR6gUCzvwLNI9f8tiiBrJ3AR0EK4o,54
13
+ gha_utils-4.15.1.dist-info/top_level.txt,sha256=C94Blb61YkkyPBwCdM3J_JPDjWH0lnKa5nGZeZ5M6yE,10
14
+ gha_utils-4.15.1.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (75.8.2)
2
+ Generator: setuptools (76.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,14 +0,0 @@
1
- gha_utils/__init__.py,sha256=H4VVQ1RRW-KQELnav8RAL_mjRUNRgbZq3kGBdL-8-b8,866
2
- gha_utils/__main__.py,sha256=Dck9BjpLXmIRS83k0mghAMcYVYiMiFLltQdfRuMSP_Q,1703
3
- gha_utils/changelog.py,sha256=JR7iQrWjLoIOpVNe6iXQSyEii82_hM_zrYpR7QO_Uxo,5777
4
- gha_utils/cli.py,sha256=58uww5uCnKN6JGDZJ0Gm_ZG-VCuzHopKTXIxAcp7w9M,12936
5
- gha_utils/mailmap.py,sha256=naUqJYJnE3fLTjju1nd6WMm7ODiSaI2SHuJxRtmaFWs,6269
6
- gha_utils/matrix.py,sha256=_afJD0K-xZLNxwykVnUhD0Gj9cdO0Z43g3VHa-q_tkI,11941
7
- gha_utils/metadata.py,sha256=AbiEdWjcJfUaVwlhV31J-HXJldZgFB0OKS2fHJ60FXU,48282
8
- gha_utils/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
9
- gha_utils/test_plan.py,sha256=iuSfsJ9XoqsIUbqR0HrkooUvK17TFBtlx8HyCAtMVWM,12841
10
- gha_utils-4.15.0.dist-info/METADATA,sha256=K8Fjiy-evM6R223OvGk5E9jh9X8rBdarb_g-WJadJXo,20372
11
- gha_utils-4.15.0.dist-info/WHEEL,sha256=jB7zZ3N9hIM9adW7qlTAyycLYW9npaWKLRzaoVcLKcM,91
12
- gha_utils-4.15.0.dist-info/entry_points.txt,sha256=8bJOwQYf9ZqsLhBR6gUCzvwLNI9f8tiiBrJ3AR0EK4o,54
13
- gha_utils-4.15.0.dist-info/top_level.txt,sha256=C94Blb61YkkyPBwCdM3J_JPDjWH0lnKa5nGZeZ5M6yE,10
14
- gha_utils-4.15.0.dist-info/RECORD,,