gha-utils 4.6.0__tar.gz → 4.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.
Potentially problematic release.
This version of gha-utils might be problematic. Click here for more details.
- {gha_utils-4.6.0 → gha_utils-4.7.2}/PKG-INFO +8 -8
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils/__init__.py +1 -1
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils/metadata.py +114 -80
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils.egg-info/PKG-INFO +8 -8
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils.egg-info/requires.txt +4 -4
- {gha_utils-4.6.0 → gha_utils-4.7.2}/pyproject.toml +9 -9
- {gha_utils-4.6.0 → gha_utils-4.7.2}/readme.md +1 -1
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils/__main__.py +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils/changelog.py +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils/cli.py +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils/mailmap.py +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils/py.typed +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils.egg-info/SOURCES.txt +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils.egg-info/dependency_links.txt +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils.egg-info/entry_points.txt +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/gha_utils.egg-info/top_level.txt +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/setup.cfg +0 -0
- {gha_utils-4.6.0 → gha_utils-4.7.2}/tests/test_changelog.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gha-utils
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.7.2
|
|
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
|
|
@@ -19,10 +19,10 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
19
19
|
Classifier: Operating System :: Microsoft :: Windows
|
|
20
20
|
Classifier: Operating System :: POSIX :: Linux
|
|
21
21
|
Classifier: Programming Language :: Python :: 3
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Unix Shell
|
|
28
28
|
Classifier: Topic :: Documentation :: Sphinx
|
|
@@ -43,24 +43,24 @@ Classifier: Topic :: Text Processing :: Markup :: HTML
|
|
|
43
43
|
Classifier: Topic :: Text Processing :: Markup :: Markdown
|
|
44
44
|
Classifier: Topic :: Utilities
|
|
45
45
|
Classifier: Typing :: Typed
|
|
46
|
-
Requires-Python: >=3.
|
|
46
|
+
Requires-Python: >=3.10
|
|
47
47
|
Description-Content-Type: text/markdown
|
|
48
48
|
Requires-Dist: backports.strenum~=1.3.1; python_version < "3.11"
|
|
49
49
|
Requires-Dist: boltons>=24.0.0
|
|
50
50
|
Requires-Dist: bump-my-version>=0.21.0
|
|
51
|
-
Requires-Dist: click-extra~=4.
|
|
51
|
+
Requires-Dist: click-extra~=4.11.0
|
|
52
52
|
Requires-Dist: packaging~=24.1
|
|
53
53
|
Requires-Dist: PyDriller~=2.6
|
|
54
|
-
Requires-Dist: pyproject-metadata~=0.
|
|
54
|
+
Requires-Dist: pyproject-metadata~=0.9.0
|
|
55
55
|
Requires-Dist: tomli~=2.0.1; python_version < "3.11"
|
|
56
56
|
Requires-Dist: wcmatch>=8.5
|
|
57
57
|
Provides-Extra: test
|
|
58
58
|
Requires-Dist: coverage[toml]~=7.6.0; extra == "test"
|
|
59
59
|
Requires-Dist: pytest~=8.3.1; extra == "test"
|
|
60
60
|
Requires-Dist: pytest-cases~=3.8.3; extra == "test"
|
|
61
|
-
Requires-Dist: pytest-cov~=
|
|
61
|
+
Requires-Dist: pytest-cov~=6.0.0; extra == "test"
|
|
62
62
|
Requires-Dist: pytest-github-actions-annotate-failures~=0.2.0; extra == "test"
|
|
63
|
-
Requires-Dist: pytest-randomly~=3.
|
|
63
|
+
Requires-Dist: pytest-randomly~=3.16.0; extra == "test"
|
|
64
64
|
|
|
65
65
|
# `gha-utils` CLI + reusable workflows
|
|
66
66
|
|
|
@@ -90,7 +90,7 @@ It takes care of:
|
|
|
90
90
|
- Sphinx documentation building & deployment, and `autodoc` updates
|
|
91
91
|
- Label management, with file-based and content-based rules
|
|
92
92
|
|
|
93
|
-
Nothing is done behind your back. A PR is created
|
|
93
|
+
Nothing is done behind your back. A PR is created every time a change is proposed, so you can inspect it, ala dependabot.
|
|
94
94
|
|
|
95
95
|
## `gha-utils` CLI
|
|
96
96
|
|
|
@@ -25,7 +25,6 @@ release_commits=6f27db47612aaee06fdf08744b09a9f5f6c2
|
|
|
25
25
|
python_files=".github/update_mailmap.py" ".github/metadata.py" "setup.py"
|
|
26
26
|
doc_files="changelog.md" "readme.md" "docs/license.md"
|
|
27
27
|
is_python_project=true
|
|
28
|
-
uv_requirement_params=--requirement pyproject.toml
|
|
29
28
|
package_name=click-extra
|
|
30
29
|
blacken_docs_params=--target-version py37 --target-version py38
|
|
31
30
|
ruff_py_version=py37
|
|
@@ -48,40 +47,76 @@ release_commits_matrix={'commit': ['6f27db47612aaee06fdf08744b09a9f5f6c2'],
|
|
|
48
47
|
'short_sha': '6f27db4',
|
|
49
48
|
'current_version': '2.0.0'}]}
|
|
50
49
|
nuitka_matrix={'entry_point': ['mpm'],
|
|
51
|
-
'
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
'
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
'
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
50
|
+
'commit': ['346ce664f055fbd042a25ee0b7e96702e95',
|
|
51
|
+
'6f27db47612aaee06fdf08744b09a9f5f6c2'],
|
|
52
|
+
'os': ['ubuntu-24.04', 'macos-15', 'macos-13', 'windows-2022'],
|
|
53
|
+
'include': [{'entry_point': 'mpm',
|
|
54
|
+
'cli_id': 'mpm',
|
|
55
|
+
'module_id': 'meta_package_manager.__main__',
|
|
56
|
+
'callable_id': 'main',
|
|
57
|
+
'module_path': 'meta_package_manager/__main__.py'},
|
|
58
|
+
{'commit': '346ce664f055fbd042a25ee0b7e96702e95',
|
|
59
|
+
'short_sha': '346ce66',
|
|
60
|
+
'current_version': '2.0.0'},
|
|
61
|
+
{'commit': '6f27db47612aaee06fdf08744b09a9f5f6c2',
|
|
62
|
+
'short_sha': '6f27db4',
|
|
63
|
+
'current_version': '1.9.1'},
|
|
64
|
+
{'os': 'ubuntu-24.04',
|
|
65
|
+
'platform_id': 'linux',
|
|
66
|
+
'arch': 'x64',
|
|
67
|
+
'extension': 'bin'},
|
|
68
|
+
{'os': 'macos-15',
|
|
69
|
+
'platform_id': 'macos',
|
|
70
|
+
'arch': 'arm64',
|
|
71
|
+
'extension': 'bin'},
|
|
72
|
+
{'os': 'macos-13',
|
|
73
|
+
'platform_id': 'macos',
|
|
74
|
+
'arch': 'x64',
|
|
75
|
+
'extension': 'bin'},
|
|
76
|
+
{'os': 'windows-2022',
|
|
77
|
+
'platform_id': 'windows',
|
|
78
|
+
'arch': 'x64',
|
|
79
|
+
'extension': 'exe'},
|
|
80
|
+
{'entry_point': 'mpm',
|
|
81
|
+
'commit': '346ce664f055fbd042a25ee0b7e96702e95',
|
|
82
|
+
'os': 'ubuntu-24.04',
|
|
83
|
+
'arch': 'x64',
|
|
84
|
+
'bin_name': 'mpm-linux-x64-build-346ce66.bin'},
|
|
85
|
+
{'entry_point': 'mpm',
|
|
86
|
+
'commit': '6f27db47612aaee06fdf08744b09a9f5f6c2',
|
|
87
|
+
'os': 'ubuntu-24.04',
|
|
88
|
+
'arch': 'x64',
|
|
89
|
+
'bin_name': 'mpm-linux-x64-build-6f27db4.bin'},
|
|
90
|
+
{'entry_point': 'mpm',
|
|
91
|
+
'commit': '346ce664f055fbd042a25ee0b7e96702e95',
|
|
92
|
+
'os': 'macos-15',
|
|
93
|
+
'arch': 'arm64',
|
|
94
|
+
'bin_name': 'mpm-macos-arm64-build-346ce66.bin'},
|
|
95
|
+
{'entry_point': 'mpm',
|
|
96
|
+
'commit': '6f27db47612aaee06fdf08744b09a9f5f6c2',
|
|
97
|
+
'os': 'macos-15',
|
|
98
|
+
'arch': 'arm64',
|
|
99
|
+
'bin_name': 'mpm-macos-arm64-build-6f27db4.bin'},
|
|
100
|
+
{'entry_point': 'mpm',
|
|
101
|
+
'commit': '346ce664f055fbd042a25ee0b7e96702e95',
|
|
102
|
+
'os': 'macos-13',
|
|
103
|
+
'arch': 'x64',
|
|
104
|
+
'bin_name': 'mpm-macos-x64-build-346ce66.bin'},
|
|
105
|
+
{'entry_point': 'mpm',
|
|
106
|
+
'commit': '6f27db47612aaee06fdf08744b09a9f5f6c2',
|
|
107
|
+
'os': 'macos-13',
|
|
108
|
+
'arch': 'x64',
|
|
109
|
+
'bin_name': 'mpm-macos-x64-build-6f27db4.bin'},
|
|
110
|
+
{'entry_point': 'mpm',
|
|
111
|
+
'commit': '346ce664f055fbd042a25ee0b7e96702e95',
|
|
112
|
+
'os': 'windows-2022',
|
|
113
|
+
'arch': 'x64',
|
|
114
|
+
'bin_name': 'mpm-windows-x64-build-346ce66.exe'},
|
|
115
|
+
{'entry_point': 'mpm',
|
|
116
|
+
'commit': '6f27db47612aaee06fdf08744b09a9f5f6c2',
|
|
117
|
+
'os': 'windows-2022',
|
|
118
|
+
'arch': 'x64',
|
|
119
|
+
'bin_name': 'mpm-windows-x64-build-6f27db4.exe'}]}
|
|
85
120
|
```
|
|
86
121
|
|
|
87
122
|
.. warning::
|
|
@@ -584,22 +619,11 @@ class Metadata:
|
|
|
584
619
|
"""Returns a list of python files."""
|
|
585
620
|
yield from self.glob_files("**/*.py", "!.venv/**")
|
|
586
621
|
|
|
587
|
-
@cached_property
|
|
588
|
-
def requirement_files(self) -> Iterator[str]:
|
|
589
|
-
"""Returns a list of requirement files supported by uv."""
|
|
590
|
-
yield from self.glob_files(
|
|
591
|
-
"**/pyproject.toml", "*requirements.txt", "requirements/*.txt"
|
|
592
|
-
)
|
|
593
|
-
|
|
594
622
|
@cached_property
|
|
595
623
|
def doc_files(self) -> Iterator[str]:
|
|
596
624
|
"""Returns a list of doc files."""
|
|
597
625
|
yield from self.glob_files("**/*.{md,markdown,rst,tex}", "!.venv/**")
|
|
598
626
|
|
|
599
|
-
@cached_property
|
|
600
|
-
def uv_requirement_params(self) -> Iterator[str]:
|
|
601
|
-
return (f"--requirement {req}" for req in self.requirement_files)
|
|
602
|
-
|
|
603
627
|
@property
|
|
604
628
|
def is_python_project(self):
|
|
605
629
|
"""Returns ``True`` if repository is a Python project.
|
|
@@ -723,6 +747,7 @@ class Metadata:
|
|
|
723
747
|
- ``--target-version py310``
|
|
724
748
|
- ``--target-version py311``
|
|
725
749
|
- ``--target-version py312``
|
|
750
|
+
- ``--target-version py313``
|
|
726
751
|
|
|
727
752
|
As mentioned in Black usage, you should `include all Python versions that you
|
|
728
753
|
want your code to run under
|
|
@@ -822,8 +847,7 @@ class Metadata:
|
|
|
822
847
|
# Look for list of active Sphinx extensions.
|
|
823
848
|
for node in ast.parse(self.sphinx_conf_path.read_bytes()).body:
|
|
824
849
|
if isinstance(node, ast.Assign) and isinstance(
|
|
825
|
-
node.value,
|
|
826
|
-
ast.List | ast.Tuple, # type: ignore[operator]
|
|
850
|
+
node.value, ast.List | ast.Tuple
|
|
827
851
|
):
|
|
828
852
|
extension_found = "extensions" in (
|
|
829
853
|
t.id # type: ignore[attr-defined]
|
|
@@ -860,8 +884,7 @@ class Metadata:
|
|
|
860
884
|
"346ce664f055fbd042a25ee0b7e96702e95",
|
|
861
885
|
"6f27db47612aaee06fdf08744b09a9f5f6c2",
|
|
862
886
|
],
|
|
863
|
-
"os": ["ubuntu-
|
|
864
|
-
"arch": ["x64"],
|
|
887
|
+
"os": ["ubuntu-24.04", "macos-15", "macos-13", "windows-2022"],
|
|
865
888
|
"include": [
|
|
866
889
|
{
|
|
867
890
|
"entry_point": "mpm",
|
|
@@ -873,56 +896,71 @@ class Metadata:
|
|
|
873
896
|
{
|
|
874
897
|
"commit": "346ce664f055fbd042a25ee0b7e96702e95",
|
|
875
898
|
"short_sha": "346ce66",
|
|
899
|
+
"current_version": "2.0.0",
|
|
876
900
|
},
|
|
877
901
|
{
|
|
878
902
|
"commit": "6f27db47612aaee06fdf08744b09a9f5f6c2",
|
|
879
903
|
"short_sha": "6f27db4",
|
|
904
|
+
"current_version": "1.9.1",
|
|
880
905
|
},
|
|
881
906
|
{
|
|
882
|
-
"os": "ubuntu-
|
|
907
|
+
"os": "ubuntu-24.04",
|
|
883
908
|
"platform_id": "linux",
|
|
909
|
+
"arch": "x64",
|
|
910
|
+
"extension": "bin",
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"os": "macos-15",
|
|
914
|
+
"platform_id": "macos",
|
|
915
|
+
"arch": "arm64",
|
|
884
916
|
"extension": "bin",
|
|
885
|
-
"extra_python_params": "",
|
|
886
917
|
},
|
|
887
918
|
{
|
|
888
919
|
"os": "macos-13",
|
|
889
920
|
"platform_id": "macos",
|
|
921
|
+
"arch": "x64",
|
|
890
922
|
"extension": "bin",
|
|
891
|
-
"extra_python_params": "",
|
|
892
923
|
},
|
|
893
924
|
{
|
|
894
925
|
"os": "windows-2022",
|
|
895
926
|
"platform_id": "windows",
|
|
927
|
+
"arch": "x64",
|
|
896
928
|
"extension": "exe",
|
|
897
|
-
"extra_python_params": "-X utf8",
|
|
898
929
|
},
|
|
899
930
|
{
|
|
900
931
|
"entry_point": "mpm",
|
|
901
932
|
"commit": "346ce664f055fbd042a25ee0b7e96702e95",
|
|
902
|
-
"os": "ubuntu-
|
|
933
|
+
"os": "ubuntu-24.04",
|
|
903
934
|
"arch": "x64",
|
|
904
935
|
"bin_name": "mpm-linux-x64-build-346ce66.bin",
|
|
905
936
|
},
|
|
906
937
|
{
|
|
907
938
|
"entry_point": "mpm",
|
|
908
|
-
"commit": "
|
|
909
|
-
"os": "
|
|
939
|
+
"commit": "6f27db47612aaee06fdf08744b09a9f5f6c2",
|
|
940
|
+
"os": "ubuntu-24.04",
|
|
910
941
|
"arch": "x64",
|
|
911
|
-
"bin_name": "mpm-
|
|
942
|
+
"bin_name": "mpm-linux-x64-build-6f27db4.bin",
|
|
912
943
|
},
|
|
913
944
|
{
|
|
914
945
|
"entry_point": "mpm",
|
|
915
946
|
"commit": "346ce664f055fbd042a25ee0b7e96702e95",
|
|
916
|
-
"os": "
|
|
917
|
-
"arch": "
|
|
918
|
-
"bin_name": "mpm-
|
|
947
|
+
"os": "macos-15",
|
|
948
|
+
"arch": "arm64",
|
|
949
|
+
"bin_name": "mpm-macos-arm64-build-346ce66.bin",
|
|
919
950
|
},
|
|
920
951
|
{
|
|
921
952
|
"entry_point": "mpm",
|
|
922
953
|
"commit": "6f27db47612aaee06fdf08744b09a9f5f6c2",
|
|
923
|
-
"os": "
|
|
954
|
+
"os": "macos-15",
|
|
955
|
+
"arch": "arm64",
|
|
956
|
+
"bin_name": "mpm-macos-arm64-build-6f27db4.bin",
|
|
957
|
+
},
|
|
958
|
+
{
|
|
959
|
+
"entry_point": "mpm",
|
|
960
|
+
"commit": "346ce664f055fbd042a25ee0b7e96702e95",
|
|
961
|
+
"os": "macos-13",
|
|
924
962
|
"arch": "x64",
|
|
925
|
-
"bin_name": "mpm-
|
|
963
|
+
"bin_name": "mpm-macos-x64-build-346ce66.bin",
|
|
926
964
|
},
|
|
927
965
|
{
|
|
928
966
|
"entry_point": "mpm",
|
|
@@ -931,6 +969,13 @@ class Metadata:
|
|
|
931
969
|
"arch": "x64",
|
|
932
970
|
"bin_name": "mpm-macos-x64-build-6f27db4.bin",
|
|
933
971
|
},
|
|
972
|
+
{
|
|
973
|
+
"entry_point": "mpm",
|
|
974
|
+
"commit": "346ce664f055fbd042a25ee0b7e96702e95",
|
|
975
|
+
"os": "windows-2022",
|
|
976
|
+
"arch": "x64",
|
|
977
|
+
"bin_name": "mpm-windows-x64-build-346ce66.exe",
|
|
978
|
+
},
|
|
934
979
|
{
|
|
935
980
|
"entry_point": "mpm",
|
|
936
981
|
"commit": "6f27db47612aaee06fdf08744b09a9f5f6c2",
|
|
@@ -952,12 +997,12 @@ class Metadata:
|
|
|
952
997
|
matrix: dict[str, list[Any]] = {
|
|
953
998
|
"entry_point": [],
|
|
954
999
|
# Run the compilation only the latest supported version of each OS.
|
|
955
|
-
# The exception is macOS, as macos-
|
|
1000
|
+
# The exception is macOS, as macos-15 is arm64 and macos-13 is x64, so we
|
|
956
1001
|
# need both to target the two architectures.
|
|
957
1002
|
"os": [
|
|
958
|
-
"ubuntu-
|
|
959
|
-
"macos-
|
|
960
|
-
"macos-13",
|
|
1003
|
+
"ubuntu-24.04",
|
|
1004
|
+
"macos-15", # arm64
|
|
1005
|
+
"macos-13", # x64
|
|
961
1006
|
"windows-2022",
|
|
962
1007
|
],
|
|
963
1008
|
# Extra parameters.
|
|
@@ -1005,38 +1050,28 @@ class Metadata:
|
|
|
1005
1050
|
# between different OS.
|
|
1006
1051
|
extra_os_params = [
|
|
1007
1052
|
{
|
|
1008
|
-
"os": "ubuntu-
|
|
1053
|
+
"os": "ubuntu-24.04",
|
|
1009
1054
|
"platform_id": "linux",
|
|
1010
1055
|
"arch": "x64",
|
|
1011
1056
|
"extension": "bin",
|
|
1012
|
-
"extra_python_params": "",
|
|
1013
1057
|
},
|
|
1014
1058
|
{
|
|
1015
|
-
"os": "macos-
|
|
1059
|
+
"os": "macos-15",
|
|
1016
1060
|
"platform_id": "macos",
|
|
1017
1061
|
"arch": "arm64",
|
|
1018
1062
|
"extension": "bin",
|
|
1019
|
-
"extra_python_params": "",
|
|
1020
1063
|
},
|
|
1021
1064
|
{
|
|
1022
1065
|
"os": "macos-13",
|
|
1023
1066
|
"platform_id": "macos",
|
|
1024
1067
|
"arch": "x64",
|
|
1025
1068
|
"extension": "bin",
|
|
1026
|
-
"extra_python_params": "",
|
|
1027
1069
|
},
|
|
1028
1070
|
{
|
|
1029
1071
|
"os": "windows-2022",
|
|
1030
1072
|
"platform_id": "windows",
|
|
1031
1073
|
"arch": "x64",
|
|
1032
1074
|
"extension": "exe",
|
|
1033
|
-
# XXX "-X utf8" parameter is a workaround for Windows runners
|
|
1034
|
-
# redirecting the output of commands to files. See:
|
|
1035
|
-
# https://github.com/databrickslabs/dbx/issues/455#issuecomment-1312770919
|
|
1036
|
-
# https://github.com/pallets/click/issues/2121#issuecomment-1312773882
|
|
1037
|
-
# https://gist.github.com/NodeJSmith/e7e37f2d3f162456869f015f842bcf15
|
|
1038
|
-
# https://github.com/Nuitka/Nuitka/blob/ca1ec9e/nuitka/utils/ReExecute.py#L73-L74
|
|
1039
|
-
"extra_python_params": "-X utf8",
|
|
1040
1075
|
},
|
|
1041
1076
|
]
|
|
1042
1077
|
matrix["include"].extend(extra_os_params)
|
|
@@ -1176,7 +1211,6 @@ class Metadata:
|
|
|
1176
1211
|
"python_files": self.python_files,
|
|
1177
1212
|
"doc_files": self.doc_files,
|
|
1178
1213
|
"is_python_project": self.is_python_project,
|
|
1179
|
-
"uv_requirement_params": self.uv_requirement_params,
|
|
1180
1214
|
"package_name": self.package_name,
|
|
1181
1215
|
"blacken_docs_params": self.blacken_docs_params,
|
|
1182
1216
|
"ruff_py_version": self.ruff_py_version,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: gha-utils
|
|
3
|
-
Version: 4.
|
|
3
|
+
Version: 4.7.2
|
|
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
|
|
@@ -19,10 +19,10 @@ Classifier: Operating System :: MacOS :: MacOS X
|
|
|
19
19
|
Classifier: Operating System :: Microsoft :: Windows
|
|
20
20
|
Classifier: Operating System :: POSIX :: Linux
|
|
21
21
|
Classifier: Programming Language :: Python :: 3
|
|
22
|
-
Classifier: Programming Language :: Python :: 3.9
|
|
23
22
|
Classifier: Programming Language :: Python :: 3.10
|
|
24
23
|
Classifier: Programming Language :: Python :: 3.11
|
|
25
24
|
Classifier: Programming Language :: Python :: 3.12
|
|
25
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
26
26
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
27
27
|
Classifier: Programming Language :: Unix Shell
|
|
28
28
|
Classifier: Topic :: Documentation :: Sphinx
|
|
@@ -43,24 +43,24 @@ Classifier: Topic :: Text Processing :: Markup :: HTML
|
|
|
43
43
|
Classifier: Topic :: Text Processing :: Markup :: Markdown
|
|
44
44
|
Classifier: Topic :: Utilities
|
|
45
45
|
Classifier: Typing :: Typed
|
|
46
|
-
Requires-Python: >=3.
|
|
46
|
+
Requires-Python: >=3.10
|
|
47
47
|
Description-Content-Type: text/markdown
|
|
48
48
|
Requires-Dist: backports.strenum~=1.3.1; python_version < "3.11"
|
|
49
49
|
Requires-Dist: boltons>=24.0.0
|
|
50
50
|
Requires-Dist: bump-my-version>=0.21.0
|
|
51
|
-
Requires-Dist: click-extra~=4.
|
|
51
|
+
Requires-Dist: click-extra~=4.11.0
|
|
52
52
|
Requires-Dist: packaging~=24.1
|
|
53
53
|
Requires-Dist: PyDriller~=2.6
|
|
54
|
-
Requires-Dist: pyproject-metadata~=0.
|
|
54
|
+
Requires-Dist: pyproject-metadata~=0.9.0
|
|
55
55
|
Requires-Dist: tomli~=2.0.1; python_version < "3.11"
|
|
56
56
|
Requires-Dist: wcmatch>=8.5
|
|
57
57
|
Provides-Extra: test
|
|
58
58
|
Requires-Dist: coverage[toml]~=7.6.0; extra == "test"
|
|
59
59
|
Requires-Dist: pytest~=8.3.1; extra == "test"
|
|
60
60
|
Requires-Dist: pytest-cases~=3.8.3; extra == "test"
|
|
61
|
-
Requires-Dist: pytest-cov~=
|
|
61
|
+
Requires-Dist: pytest-cov~=6.0.0; extra == "test"
|
|
62
62
|
Requires-Dist: pytest-github-actions-annotate-failures~=0.2.0; extra == "test"
|
|
63
|
-
Requires-Dist: pytest-randomly~=3.
|
|
63
|
+
Requires-Dist: pytest-randomly~=3.16.0; extra == "test"
|
|
64
64
|
|
|
65
65
|
# `gha-utils` CLI + reusable workflows
|
|
66
66
|
|
|
@@ -90,7 +90,7 @@ It takes care of:
|
|
|
90
90
|
- Sphinx documentation building & deployment, and `autodoc` updates
|
|
91
91
|
- Label management, with file-based and content-based rules
|
|
92
92
|
|
|
93
|
-
Nothing is done behind your back. A PR is created
|
|
93
|
+
Nothing is done behind your back. A PR is created every time a change is proposed, so you can inspect it, ala dependabot.
|
|
94
94
|
|
|
95
95
|
## `gha-utils` CLI
|
|
96
96
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
boltons>=24.0.0
|
|
2
2
|
bump-my-version>=0.21.0
|
|
3
|
-
click-extra~=4.
|
|
3
|
+
click-extra~=4.11.0
|
|
4
4
|
packaging~=24.1
|
|
5
5
|
PyDriller~=2.6
|
|
6
|
-
pyproject-metadata~=0.
|
|
6
|
+
pyproject-metadata~=0.9.0
|
|
7
7
|
wcmatch>=8.5
|
|
8
8
|
|
|
9
9
|
[:python_version < "3.11"]
|
|
@@ -14,6 +14,6 @@ tomli~=2.0.1
|
|
|
14
14
|
coverage[toml]~=7.6.0
|
|
15
15
|
pytest~=8.3.1
|
|
16
16
|
pytest-cases~=3.8.3
|
|
17
|
-
pytest-cov~=
|
|
17
|
+
pytest-cov~=6.0.0
|
|
18
18
|
pytest-github-actions-annotate-failures~=0.2.0
|
|
19
|
-
pytest-randomly~=3.
|
|
19
|
+
pytest-randomly~=3.16.0
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
# Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
|
|
3
3
|
name = "gha-utils"
|
|
4
|
-
version = "4.
|
|
4
|
+
version = "4.7.2"
|
|
5
5
|
# Python versions and their status: https://devguide.python.org/versions/
|
|
6
|
-
requires-python = ">= 3.
|
|
6
|
+
requires-python = ">= 3.10"
|
|
7
7
|
description = "⚙️ CLI helpers for GitHub Actions + reuseable workflows"
|
|
8
8
|
authors = [{ name = "Kevin Deldycke", email = "kevin@deldycke.com" }]
|
|
9
9
|
readme = "readme.md"
|
|
@@ -42,10 +42,10 @@ classifiers = [
|
|
|
42
42
|
'Operating System :: Microsoft :: Windows',
|
|
43
43
|
'Operating System :: POSIX :: Linux',
|
|
44
44
|
"Programming Language :: Python :: 3",
|
|
45
|
-
"Programming Language :: Python :: 3.9",
|
|
46
45
|
"Programming Language :: Python :: 3.10",
|
|
47
46
|
"Programming Language :: Python :: 3.11",
|
|
48
47
|
"Programming Language :: Python :: 3.12",
|
|
48
|
+
"Programming Language :: Python :: 3.13",
|
|
49
49
|
'Programming Language :: Python :: Implementation :: CPython',
|
|
50
50
|
'Programming Language :: Unix Shell',
|
|
51
51
|
'Topic :: Documentation :: Sphinx',
|
|
@@ -75,10 +75,10 @@ dependencies = [
|
|
|
75
75
|
# while releasing gha-utils itself.
|
|
76
76
|
# v0.21.0 is the first to rely on wcmatch library.
|
|
77
77
|
"bump-my-version >= 0.21.0",
|
|
78
|
-
"click-extra ~= 4.
|
|
78
|
+
"click-extra ~= 4.11.0",
|
|
79
79
|
"packaging ~= 24.1",
|
|
80
80
|
"PyDriller ~= 2.6",
|
|
81
|
-
"pyproject-metadata ~= 0.
|
|
81
|
+
"pyproject-metadata ~= 0.9.0",
|
|
82
82
|
"tomli ~= 2.0.1 ; python_version < '3.11'",
|
|
83
83
|
# Loose version to let click-extra set its own stricter dependency.
|
|
84
84
|
"wcmatch >= 8.5",
|
|
@@ -90,9 +90,9 @@ test = [
|
|
|
90
90
|
"pytest ~= 8.3.1",
|
|
91
91
|
# More pytest plugins at: https://docs.pytest.org/en/latest/reference/plugin_list.html
|
|
92
92
|
"pytest-cases ~= 3.8.3",
|
|
93
|
-
"pytest-cov ~=
|
|
93
|
+
"pytest-cov ~= 6.0.0",
|
|
94
94
|
"pytest-github-actions-annotate-failures ~= 0.2.0",
|
|
95
|
-
"pytest-randomly ~= 3.
|
|
95
|
+
"pytest-randomly ~= 3.16.0",
|
|
96
96
|
]
|
|
97
97
|
|
|
98
98
|
[project.urls]
|
|
@@ -126,7 +126,7 @@ addopts = [
|
|
|
126
126
|
"--junitxml=junit.xml",
|
|
127
127
|
"--override-ini=junit_family=legacy",
|
|
128
128
|
]
|
|
129
|
-
# Make sure tests that are expected to fail do not
|
|
129
|
+
# Make sure tests that are expected to fail do not resurrect and start working all of a sudden.
|
|
130
130
|
xfail_strict = true
|
|
131
131
|
|
|
132
132
|
# https://coverage.readthedocs.io/en/latest/config.html
|
|
@@ -136,7 +136,7 @@ branch = true
|
|
|
136
136
|
precision = 2
|
|
137
137
|
|
|
138
138
|
[tool.bumpversion]
|
|
139
|
-
current_version = "4.
|
|
139
|
+
current_version = "4.7.2"
|
|
140
140
|
allow_dirty = true
|
|
141
141
|
ignore_missing_files = true
|
|
142
142
|
|
|
@@ -26,7 +26,7 @@ It takes care of:
|
|
|
26
26
|
- Sphinx documentation building & deployment, and `autodoc` updates
|
|
27
27
|
- Label management, with file-based and content-based rules
|
|
28
28
|
|
|
29
|
-
Nothing is done behind your back. A PR is created
|
|
29
|
+
Nothing is done behind your back. A PR is created every time a change is proposed, so you can inspect it, ala dependabot.
|
|
30
30
|
|
|
31
31
|
## `gha-utils` CLI
|
|
32
32
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|