-
Notifications
You must be signed in to change notification settings - Fork 9
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
issue with using on a deployment server : ERROR: THESE PACKAGES DO NOT MATCH THE HASHES FROM THE REQUIREMENTS FILE. #8
Comments
Also, I quickly tested and this works flawlessly build/run/logs:
test/run on client :
Please help me identify my mistake with nginx_pypi_cache :-) |
Hm, I can't repro... can you consistently repro? Where are you getting your hashes from? It's not mentioned in your description. This is usually a requirements.txt file with hashes in it (hence the When I generate hashes for that flask version against upstream PyPI or an nginx mirror, I get the following, which does not match either of the hashes in your description (expected or actual):
It would also be good to use the |
Hello @hauntsaninja , Thank you for the quick response. I am able to reproduce it while testing on multiple systems and multiple python versions. I am not using any requirements or any other setting apart from simple python installed and command that i am executing. Please Note: I am not explicitly setting any mirror in my python or the docker container for nginx_pypi_cache. Here is another trail that I did on a python3.10 vm :
this works great for listing. However, when i issue an install command I automatically get the error as follows:
This issue seems consistent, perhaps I am doing something wrong in setting up container or in issuing the command. Also, it seems to not have making a call as the docker do not seem to print any error in the docker run -p ( without -d ) . |
@hauntsaninja if there are any commands that can help me produce more logs to help troubleshoot please let me know. I have tried removing the pip cache and everything, the result is same(this time on my desktop):
Here is another trial:
Here are the docker logs during these tests:
|
It looks like the hash mismatch is on the metadata file, which is interesting. What do you see when you download the file |
Apologies for the delay in response. I tried again today ( with latest version of code package from git and now it seems i am not even able to get it to work ) build code :
app output:
run call:
|
Hello,
aim : use nginx_pypi_cache as a central cache for pip cache in container builds
error : while running the container as described below and testing I am getting error
build steps:
then while it is running testing on other machine:
Container log:
Please advise
The text was updated successfully, but these errors were encountered: