-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[CRITICAL] Pipenv-related improvements #387
Conversation
53ba61b
to
64384e1
Compare
It seems that I also need to update our tests because logs are full of errors but the CI is green 😞 |
e88f613
to
08a5e28
Compare
It seems to be working now. I'm gonna remove the last commit and all tests should pass. |
08a5e28
to
eaf93d4
Compare
Marking this PR as critical because it also fixes our tests. |
The problem with RHEL 8 is caused by incompatibility between micropipenv and pip 19.2.3. This should be fixed soon by either of these:
This PR is ready for a review @torsava |
[test] |
A new version of micropipenv is released which should make also rhel8 green. Will see. [test] |
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.
Added some suggestions to improved the docs and the comments.
Overall the changes look really good!
Thanks @torsava, I'm gonna squash your suggested changes and if the CI will be ok, I'll merge it. |
If you have a mirror with Python packages with dependencies of your application, the s2i-python-container will try to install internal tools like pipenv from that mirror as well. If that try fails, the second try will use --isolated and ignores pip settings.
Co-authored-by: torsava <torsava@redhat.com>
e048e47
to
cc88a2e
Compare
Tests are failing on centos7 and fedora for some reason. |
[test] |
All green 🎉 |
Hm, I had to refresh 2 times before the new test results loaded. Anyway, feel free to merge! :) |
See the comments and the commit messages for better understanding of what I am trying to achieve.
Part one is for cases when a customer mirror contains also pipenv and has no internet access during a build. This is based on a request from a customer.
Part two is a better and testable solution for pipenv. We basically allow our customers to pin whatever version of pipenv works for them.