|
@@ -8,12 +8,14 @@ ENV BRANCH=$branch
|
|
|
|
|
|
RUN dnf -y --enablerepo=updates-testing install \
|
|
|
python3-setuptools \
|
|
|
+ python3-beautifulsoup4 \
|
|
|
python3-coverage \
|
|
|
python3-mock \
|
|
|
python3-docutils \
|
|
|
python3-black \
|
|
|
python3-flake8 \
|
|
|
python3-pytest-xdist \
|
|
|
+ python3-flask-oidc \
|
|
|
python3-cchardet \
|
|
|
python3-fedora-messaging \
|
|
|
python3-pip \
|
|
@@ -30,8 +32,7 @@ RUN cd / \
|
|
|
# Install all the requirements from the spec file and replace the macro
|
|
|
# %{python_pkgversion} by '3' which thus installs all the py3 version of
|
|
|
# the dependencies.
|
|
|
-RUN sed -i "/Requires: python%{python_pkgversion}-enum34/d" /pagure/files/pagure.spec && \
|
|
|
- dnf install -y --enablerepo=updates-testing `grep "Requires:" /pagure/files/pagure.spec | \
|
|
|
+RUN dnf install -y --enablerepo=updates-testing `grep "Requires:" /pagure/files/pagure.spec | \
|
|
|
awk '{split($0, a, " "); print a[2]}' |grep -v "%{name}" | \
|
|
|
sed -e "s|%{python_pkgversion}|3|"` && \
|
|
|
dnf clean all && \
|