[Pulp-list] Fwd: Installing python package synchronized from PyPI

Bihan Zhang bizhang at redhat.com
Tue May 7 00:49:00 UTC 2019


Jeremy,

Can you confirm what version of pulp_python you are using?
We did fix an issue like this with the 2.16.4 release:
https://pulp.plan.io/issues/3632
We still store the name in its original form, but we should be sanitizing
it during distribution.

Cheers,
Bihan

On Mon, May 6, 2019 at 1:57 PM jeremy combs <combs.jeremy at gmail.com> wrote:

> I *think* this may be a bug in Pulp 2's python plugin.  If I have
> synchronized "Django" from PyPI, when I try to 'pip install --trusted-host
> <pulp_ip> -i http://<pulp_ip>/pulp/python/web/my_repo_name/simple Django'
> I get "Could not find a version that satisfies the requirement Django".
>
> Wireshark shows the request going out for "django" (Note lowercase).  Pulp
> has the package in it's content as "Django" (uppercase).  I *think* this
> is a side effect of the content being served via apache and being case
> sensitive.  The 'python_pulp.conf' file probably needs some 'mod_speling'
> magic or something.
>
> Also note https://www.python.org/dev/peps/pep-0426/#name "All comparisons
> of distribution names MUST be case insensitive"
>
> All this being said I am VERY new to pulp and would gladly accept that I
> am doing something wrong.  If that is the case any help would be
> greatly appreciated.
>
> Thank you all!
> _______________________________________________
> Pulp-list mailing list
> Pulp-list at redhat.com
> https://www.redhat.com/mailman/listinfo/pulp-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20190506/0fd1b8c5/attachment.htm>


More information about the Pulp-list mailing list