Search code examples
pythonnexuspypisonatype

New pypi org proxy not working with sonatype nexus


Ever since https://pypi.python.org moved https://pypi.org. Our nexus repository is unable to pull the packages from this. Has anyone came across this issue and what is the solution for it.

Thanks in advance.


Solution

  • This might be the case of an outbound firewall rules blocking access to either pypi.org or files.pythonhosted.org. Make sure those are not blocked for your Nexus instance. Additionally, if you are using SSL in your Nexus configuration, you need to trust the new domains (notice that they use different certificate each).