Skip to content

Commit

Permalink
Force python-rich installation for podman-py
Browse files Browse the repository at this point in the history
Fixes containers/podman-py#350 by forcing
installation of python-rich dependency, which is missing in
podman-py 4.8.0.post1

Signed-off-by: Martin Perina <[email protected]>
  • Loading branch information
mwperina authored and dougsland committed Nov 29, 2023
1 parent 1d482ee commit 55312a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
ref: ${{ github.event.pull_request.head.sha }}

- name: Mark source directory as safe
run: |
run: |
git config --global --add safe.directory $(pwd)
- name: Perform build
Expand Down Expand Up @@ -66,6 +66,8 @@ jobs:
- name: Install unpackaged python libraries from PyPi
run: |
pip install "tmt[provision]" "tmt[report-junit]" podman pytest pytest-timeout
# Mitigate https://github.com/containers/podman-py/issues/350
pip install rich
- name: Checkout sources
uses: actions/checkout@v3
Expand All @@ -77,7 +79,7 @@ jobs:
with:
name: rpm-artifacts
path: 'tests/bluechi-rpms'

- name: Check integration test IDs
run: |
cd tests
Expand Down
2 changes: 2 additions & 0 deletions tests/scripts/tests-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,8 @@ if [ "$INSTALL_DEPS" == "yes" ]; then
python3-pytest \
python3-pytest-timeout \
-y
# Mitigate https://github.com/containers/podman-py/issues/350
dnf install python3-rich -y
fi

BUILD_ARG=""
Expand Down

0 comments on commit 55312a0

Please sign in to comment.