gha-utils 4.16.5__tar.gz → 4.16.7__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.16.5 → gha_utils-4.16.7}/PKG-INFO +1 -1
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/__init__.py +1 -1
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/metadata.py +47 -1
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils.egg-info/PKG-INFO +1 -1
- {gha_utils-4.16.5 → gha_utils-4.16.7}/pyproject.toml +2 -2
- {gha_utils-4.16.5 → gha_utils-4.16.7}/tests/test_metadata.py +6 -2
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/__main__.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/changelog.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/cli.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/mailmap.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/matrix.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/py.typed +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils/test_plan.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils.egg-info/SOURCES.txt +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils.egg-info/dependency_links.txt +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils.egg-info/entry_points.txt +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils.egg-info/requires.txt +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/gha_utils.egg-info/top_level.txt +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/readme.md +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/setup.cfg +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/tests/test_changelog.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/tests/test_mailmap.py +0 -0
- {gha_utils-4.16.5 → gha_utils-4.16.7}/tests/test_matrix.py +0 -0
|
@@ -144,7 +144,10 @@ nuitka_matrix={'entry_point': ['mpm'],
|
|
|
144
144
|
'commit': '6f27db47612aaee06fdf08744b09a9f5f6c2',
|
|
145
145
|
'os': 'windows-2025',
|
|
146
146
|
'arch': 'x64',
|
|
147
|
-
'bin_name': 'mpm-windows-x64-build-6f27db4.exe'}
|
|
147
|
+
'bin_name': 'mpm-windows-x64-build-6f27db4.exe'},
|
|
148
|
+
{'state': 'stable'},
|
|
149
|
+
{'state': 'unstable',
|
|
150
|
+
'os': 'windows-11-arm'}]}
|
|
148
151
|
```
|
|
149
152
|
|
|
150
153
|
.. warning::
|
|
@@ -1027,6 +1030,13 @@ class Metadata:
|
|
|
1027
1030
|
"arch": "x64",
|
|
1028
1031
|
"bin_name": "mpm-windows-x64-build-6f27db4.exe",
|
|
1029
1032
|
},
|
|
1033
|
+
{
|
|
1034
|
+
"state": "stable",
|
|
1035
|
+
},
|
|
1036
|
+
{
|
|
1037
|
+
"state": "unstable",
|
|
1038
|
+
"os": "windows-11-arm",
|
|
1039
|
+
},
|
|
1030
1040
|
],
|
|
1031
1041
|
}
|
|
1032
1042
|
"""
|
|
@@ -1137,6 +1147,42 @@ class Metadata:
|
|
|
1137
1147
|
).format(**variations)
|
|
1138
1148
|
matrix.add_includes(bin_name_include)
|
|
1139
1149
|
|
|
1150
|
+
matrix.add_includes(
|
|
1151
|
+
# Default all jobs as stable, unless marked otherwise below.
|
|
1152
|
+
{"state": "stable"},
|
|
1153
|
+
# XXX Projects dependendong on lxml will not be able to compile on Windows
|
|
1154
|
+
# ARM64: https://bugs.launchpad.net/lxml/+bug/2004481
|
|
1155
|
+
#
|
|
1156
|
+
# I tried to rely on vcpkg but this didn't work:
|
|
1157
|
+
# - run: |
|
|
1158
|
+
# vcpkg install libxml2:arm64-windows
|
|
1159
|
+
# vcpkg install libxslt:arm64-windows
|
|
1160
|
+
# vcpkg integrate install
|
|
1161
|
+
#
|
|
1162
|
+
# Another possibility would be to install the pre-built binaries available
|
|
1163
|
+
# at: https://github.com/lxml/libxml2-win-binaries
|
|
1164
|
+
#
|
|
1165
|
+
# But all build attempts ends up with:
|
|
1166
|
+
# C:\Users\RUNNER~1\AppData\Local\Temp\xmlXPathInit8xwj7_4f.c(1): fatal
|
|
1167
|
+
# error C1083: Cannot open include file: 'libxml/xpath.h': No such file
|
|
1168
|
+
# or directory
|
|
1169
|
+
# ***********************************************************************
|
|
1170
|
+
# Could not find function xmlXPathInit in library libxml2. Is libxml2
|
|
1171
|
+
# installed?
|
|
1172
|
+
# Is your C compiler installed and configured correctly?
|
|
1173
|
+
# ***********************************************************************
|
|
1174
|
+
# error: command 'C:\\Program Files\\Microsoft Visual
|
|
1175
|
+
# Studio\\2022\\Enterprise\\VC\\Tools\\MSVC\\14.43.34808\\bin\\HostARM64
|
|
1176
|
+
# \\ARM64\\cl.exe'
|
|
1177
|
+
# failed with exit code 2
|
|
1178
|
+
# hint: This usually indicates a problem with the package or the build
|
|
1179
|
+
# environment.
|
|
1180
|
+
#
|
|
1181
|
+
# So keep an eye on Meta Package Manager builds, maybe one day it will
|
|
1182
|
+
# succeed once the lxml project will works on Windows ARM64.
|
|
1183
|
+
{"state": "unstable", "os": "windows-11-arm"},
|
|
1184
|
+
)
|
|
1185
|
+
|
|
1140
1186
|
return matrix
|
|
1141
1187
|
|
|
1142
1188
|
@cached_property
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
# Docs: https://packaging.python.org/en/latest/guides/writing-pyproject-toml/
|
|
3
3
|
name = "gha-utils"
|
|
4
|
-
version = "4.16.
|
|
4
|
+
version = "4.16.7"
|
|
5
5
|
# Python versions and their status: https://devguide.python.org/versions/
|
|
6
6
|
requires-python = ">= 3.11"
|
|
7
7
|
description = "⚙️ CLI helpers for GitHub Actions + reuseable workflows"
|
|
@@ -137,7 +137,7 @@ addopts = [
|
|
|
137
137
|
xfail_strict = true
|
|
138
138
|
|
|
139
139
|
[tool.bumpversion]
|
|
140
|
-
current_version = "4.16.
|
|
140
|
+
current_version = "4.16.7"
|
|
141
141
|
allow_dirty = true
|
|
142
142
|
ignore_missing_files = true
|
|
143
143
|
|
|
@@ -83,7 +83,9 @@ def test_metadata_github_format():
|
|
|
83
83
|
r'"bin_name": "gha-utils-windows-arm64-build-[a-z0-9]+\.exe"\}, '
|
|
84
84
|
r'\{"os": "windows-2025", "entry_point": "gha-utils", '
|
|
85
85
|
r'"commit": "[a-z0-9]+", '
|
|
86
|
-
r'"bin_name": "gha-utils-windows-x64-build-[a-z0-9]+\.exe"\}
|
|
86
|
+
r'"bin_name": "gha-utils-windows-x64-build-[a-z0-9]+\.exe"\}, '
|
|
87
|
+
r'\{"state": "stable"\}, '
|
|
88
|
+
r'\{"state": "unstable", "os": "windows-11-arm"\}\]\}\n'
|
|
87
89
|
),
|
|
88
90
|
metadata.dump(Dialects.github),
|
|
89
91
|
re.DOTALL,
|
|
@@ -154,7 +156,9 @@ def test_metadata_plain_format():
|
|
|
154
156
|
r"'bin_name': 'gha-utils-windows-arm64-build-[a-z0-9]+\.exe'\}, "
|
|
155
157
|
r"\{'os': 'windows-2025', 'entry_point': 'gha-utils', "
|
|
156
158
|
r"'commit': '[a-z0-9]+', "
|
|
157
|
-
r"'bin_name': 'gha-utils-windows-x64-build-[a-z0-9]+\.exe'\}
|
|
159
|
+
r"'bin_name': 'gha-utils-windows-x64-build-[a-z0-9]+\.exe'\}, "
|
|
160
|
+
r"\{'state': 'stable'\}, "
|
|
161
|
+
r"\{'state': 'unstable', 'os': 'windows-11-arm'\}\); "
|
|
158
162
|
r"exclude=\(\)>\}"
|
|
159
163
|
),
|
|
160
164
|
metadata.dump(Dialects.plain),
|
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|