From e571777351d09d3f8abe7678adefc10f67f4712c Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Tue, 19 Nov 2024 14:21:37 -0800 Subject: [PATCH] Fix python --- .github/actions/prepare-python/action.yml | 2 +- requirements.txt.in | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/actions/prepare-python/action.yml b/.github/actions/prepare-python/action.yml index d145ddc..129b078 100644 --- a/.github/actions/prepare-python/action.yml +++ b/.github/actions/prepare-python/action.yml @@ -44,7 +44,7 @@ runs: env python3 -c 'import sys; print(sys.path)' which python3 - cp -R /usr/lib/python3/dist-packages/*dnf*/ $(python3 -c 'import site; print(site.getsitepackages()[0])') + cp -R /usr/lib/python3/dist-packages/{hawkey*, *dnf*/} $(python3 -c 'import site; print(site.getsitepackages()[0])') ls -l $(python3 -c 'import site; print(site.getsitepackages()[0])') echo $(python3 -c 'import site; print(site.getsitepackages()[0])') python3 -c 'import dnf' diff --git a/requirements.txt.in b/requirements.txt.in index 3a8c282..5fa8402 100644 --- a/requirements.txt.in +++ b/requirements.txt.in @@ -15,3 +15,4 @@ requests==2.32.3 fnc coverage==7.6.7 rpm +hawkey