Skip to content

Commit 5b5a678

Browse files
authored
Bump xmlsec1 to v1.3.10 for linux builds (#404)
Also allowed Git access to mounted directory which is something new that we need to handle in manylinux build. It's because of different users in docker trying to access repo folder.
1 parent 6a61cae commit 5b5a678

3 files changed

Lines changed: 11 additions & 2 deletions

File tree

.github/scripts/manylinux_build_and_test.sh

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,15 @@ export PYTHONPATH="$PWD${PYTHONPATH:+:${PYTHONPATH}}"
99
# Ensure dependency archives are read from the restored workspace cache even in isolated builds.
1010
export PYXMLSEC_LIBS_DIR="$PWD/libs"
1111

12+
# Step: Allow Git access to the mounted workspace for SCM version discovery
13+
echo "== [container] Step: Configure Git safe.directory =="
14+
if command -v git >/dev/null 2>&1; then
15+
if [ -n "${PWD:-}" ]; then
16+
git config --global --add safe.directory "$PWD"
17+
echo "GIT_SAFE_DIRECTORY=$PWD"
18+
fi
19+
fi
20+
1221
# Step: Install system build dependencies (manylinux only)
1322
echo "== [container] Step: Install system build dependencies (manylinux only) =="
1423
case "$MANYLINUX_IMAGE" in

.github/workflows/cache_libs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ on:
2020
required: false
2121
type: string
2222
XMLSEC1_VERSION:
23-
default: "1.3.9"
23+
default: "1.3.10"
2424
required: false
2525
type: string
2626
ZLIB_VERSION:

build_support/lib_xmlsec_dependency_builder.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class LibXmlsecDependencyBuilder:
4949
'libxml2_version': '2.14.6', # Make sure it matches with lxml
5050
'libxslt_version': '1.1.43',
5151
'openssl_version': '3.6.0',
52-
'xmlsec1_version': '1.3.9',
52+
'xmlsec1_version': '1.3.10',
5353
'zlib_version': '1.3.1',
5454
}
5555
WINDOWS_DEFAULT_LIB_VERSIONS: ClassVar[dict[str, str]] = {

0 commit comments

Comments
 (0)