Merge "Fix building python-nss==1.0.1 for Focal images"

This commit is contained in:
Zuul 2024-04-26 19:49:52 +00:00 committed by Gerrit Code Review
commit 0842d310b3
1 changed files with 1 additions and 1 deletions

View File

@ -62,7 +62,7 @@ export CASS_DRIVER_BUILD_CONCURRENCY=8
# they apply the patch that renames RSAPublicKey/DSAPublicKey
# types into PyRSAPublicKey/PyDSAPublicKey.
# Here we do the same.
if [[ ${distro} == "ubuntu" ]] && [[ ${distro_version} == "jammy" ]] && grep -q "python-nss===1.0.1" /upper-constraints.txt; then
if [[ ${distro} == "ubuntu" ]] && [[ ${distro_version} =~ (focal|jammy) ]] && grep -q "python-nss===1.0.1" /upper-constraints.txt; then
sed -i '/python-nss/d' /upper-constraints.txt
pip download python-nss===1.0.1
tar jxf python-nss-1.0.1.tar.bz2 && rm -f python-nss-1.0.1.tar.bz2