This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: case sensitivity in packaging.pypi.simple.Crawler
Type: behavior Stage:
Components: Distutils2 Versions: Python 3.3
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: tarek Nosy List: alexis, eric.araujo, georg.brandl, gruszczy, tarek
Priority: high Keywords:

Created on 2011-06-16 15:21 by tarek, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (4)
msg138449 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2011-06-16 15:21
the PyPI server deals with the package names case issue: if you get webob, it'll find WebOb.

That's not true for mirrors, so we need to fallback to the global index when "webob" is not found under simple/webob/, and look for the name with a different case.
msg138452 - (view) Author: Tarek Ziadé (tarek) * (Python committer) Date: 2011-06-16 15:27
see also
msg138546 - (view) Author: Filip Gruszczyński (gruszczy) Date: 2011-06-17 19:07
When I started looking at this I noticed following behaviour:

>>> from packaging.pypi.simple import Crawler
>>> client = Crawler()
>>> client.get_releases('webob')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/gruszczy/Projects/python/Lib/packaging/pypi/", line 192, in get_releases
>>> client.search_projects('webob')
[<Project "WebOb">, <Project "webob_view">, <Project "yafowil.webob">]
>>> client.get_releases('webob')
<Project "WebOb">

Shouldn't this be made consistent?
msg199806 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2013-10-13 21:25
Closing as a packaging-related bug.
Date User Action Args
2022-04-11 14:57:18adminsetgithub: 56557
2013-10-13 21:25:21georg.brandlsetstatus: open -> closed

nosy: + georg.brandl
messages: + msg199806

resolution: out of date
2011-06-17 19:07:50gruszczysetnosy: + gruszczy
messages: + msg138546
2011-06-17 17:25:25eric.araujosetnosy: + eric.araujo
title: case sensitivness in packaging.pypi.simple.Crawler -> case sensitivity in packaging.pypi.simple.Crawler
assignee: tarek
versions: + Python 3.3
components: + Distutils2
2011-06-16 15:27:56tareksetmessages: + msg138452
2011-06-16 15:21:07tarekcreate