-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix tests and add builddeps of python3-apt to Dockerfile #392
Conversation
f29c02d
to
e9e5cc1
Compare
Ok it should be back to the state before #391 |
Ok, all tests should be fixed now. |
The issue with httpbin-go is now fixed mccutchen/go-httpbin#153, I think I can drop the last commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for looking into this!
RUN apt-get update && \ | ||
xargs apt-get install --no-install-recommends -y < dependencies.apt.txt && \ | ||
apt-get --no-install-recommends -y build-dep python3-apt && \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It feels a bit weird to install the build-deps from apt, but then install the package via pip. I guess that's fine because it makes the requirements.txt
usable on non-Debian distros.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I noticed it too, that pip modules are getting installed twice one by apt then by pip.
Not sure what to do there.
@@ -4,8 +4,11 @@ ENV DEBIAN_FRONTEND=noninteractive | |||
|
|||
ADD dependencies.apt.txt ./ | |||
|
|||
RUN printf "deb-src http://deb.debian.org/debian bullseye main\ndeb-src http://deb.debian.org/debian-security/ bullseye-security main\ndeb-src http://deb.debian.org/debian bullseye-updates main" >> /etc/apt/sources.list |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I might try a patch to generate this based on the existing lines of /etc/apt/sources.list
but this will work!
The tests broke a bit after #391
Trying to fix the installation part of all pip modules at least.