fix: correct dependencies in package builds (1.11) (#24670)

* chore: update ubuntu to 2204:current

* fix: install asciidoc with pip
pull/24717/head v1.11.5
Brandon Pfeifer 2024-02-14 15:36:55 -05:00 committed by GitHub
parent 8b9a9c63c5
commit 70acbd58a8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 13 additions and 5 deletions

View File

@ -112,7 +112,7 @@ jobs:
machine:
enabled: true
docker_layer_caching: true
image: ubuntu-2004:202107-02
image: ubuntu-2204:current
steps:
- attach_workspace:
at: /tmp/workspace
@ -121,7 +121,6 @@ jobs:
export DEBIAN_FRONTEND=noninteractive
sudo -E apt-get update
sudo -E apt-get install --no-install-recommends --yes \
asciidoc \
build-essential \
git \
python3 \
@ -131,10 +130,12 @@ jobs:
sudo gem install fpm
( cd man ; make build ; gzip -9 ./*.1 )
python3 -m venv venv ; source venv/bin/activate
python3 -m pip install -r .circleci/scripts/package/requirements.txt
( cd man ; make build ; gzip -9 ./*.1 )
# Unfortunately, this must be executed as root. This is so permission
# modifying commands (chown, chmod, etc.) succeed.
sudo --preserve-env=CIRCLE_TAG,CIRCLE_SHA1 .circleci/scripts/package/build.py

View File

@ -1,2 +1,9 @@
PyYAML==6.0
regex==2023.6.3
asciidoc==10.2.0
distlib==0.3.8
filelock==3.13.1
nose==1.3.7
pep8==1.7.1
platformdirs==4.2.0
PyYAML==6.0.1
regex==2023.12.25
virtualenv==20.25.0