Author jaraco
Recipients eric.araujo, jaraco, tarek
Date 2011-03-11.22:31:56
SpamBayes Score 3.97533e-10
Marked as misclassified No
Message-id <>
It appears that with Python 3.2 (Windows 64-bit), the distutils upload -r command no longer accepts the repository section name, but instead only attempts to parse it as a URL. This is a regression from Python 2.7.

PS C:\Users\jaraco\projects\hgtools> python -m pdb sdist upload -r pypi
> c:\users\jaraco\projects\hgtools\<module>()
-> """
(Pdb) c
running sdist
running egg_info
# lines elided
running upload
Submitting dist\ to pypi
Traceback (most recent call last):
  File "c:\python\lib\", line 1556, in main
  File "c:\python\lib\", line 1437, in _runscript
  File "c:\python\lib\", line 392, in run
    exec(cmd, globals, locals)
  File "<string>", line 1, in <module>
  File "c:\users\jaraco\projects\hgtools\", line 7, in <module>
  File "c:\python\lib\distutils\", line 149, in setup
  File "c:\python\lib\distutils\", line 919, in run_commands
  File "c:\python\lib\distutils\", line 938, in run_command
  File "c:\python\lib\distutils\command\", line 66, in run
    self.upload_file(command, pyversion, filename)
  File "c:\python\lib\distutils\command\", line 176, in upload_file
    raise AssertionError("unsupported schema "+schema)
AssertionError: unsupported schema
Uncaught exception. Entering post mortem debugging
Running 'cont' or 'step' will restart the program
> c:\python\lib\distutils\command\
-> raise AssertionError("unsupported schema "+schema)
(Pdb) self.repository
(Pdb) schema
(Pdb) q
Date User Action Args
2011-03-11 22:31:57jaracosetrecipients: + jaraco, tarek, eric.araujo
2011-03-11 22:31:57jaracosetmessageid: <>
2011-03-11 22:31:56jaracolinkissue11473 messages
2011-03-11 22:31:56jaracocreate