[Distutils] New Restrictions on Package Names

Donald Stufft donald at stufft.io
Thu May 23 07:37:28 CEST 2013


Hello!

I've just deployed a change to PyPI that restricts all *new* packages names to the follow:

* Must start with an ASCII alphanumeric (``[a-zA-Z0-9]``)
* Must contain only:
  - ASCII letters (``[a-zA-Z]``)
  - ASCII digits (``[0-9]``)
  - underscores (``_``)
  - hyphens (``-``)
  - periods (``.``)
* Must end with an ASCII alphanumeric  (``[a-zA-Z0-9]``)

Projects that have already registered with a name that doesn't follow these restrictions will still be able to upload.

-----------------
Donald Stufft
PGP: 0x6E3CBCE93372DCFA // 7C6B 7C5D 5E2B 6356 A926 F04F 6E3C BCE9 3372 DCFA

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130523/89dc243c/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 841 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://mail.python.org/pipermail/distutils-sig/attachments/20130523/89dc243c/attachment-0001.pgp>


More information about the Distutils-SIG mailing list