[New-bugs-announce] [issue10368] "python setup.py sdist upload --show-response" fails

Jesús Cea Avión report at bugs.python.org
Mon Nov 8 22:43:58 CET 2010


New submission from Jesús Cea Avión <jcea at jcea.es>:

Uploading a new module/update to PYPI, when requesting "--show_response" in the command line, will fail:

"""
Traceback (most recent call last):
  File "setup.py", line 5, in <module>
    import setup2
  File "/home/pybsddb/setup2.py", line 415, in <module>
    'Programming Language :: Python :: 3.2',
  File "/usr/local/lib/python2.7/distutils/core.py", line 152, in setup
    dist.run_commands()
  File "/usr/local/lib/python2.7/distutils/dist.py", line 953, in run_commands
    self.run_command(cmd)
  File "/usr/local/lib/python2.7/distutils/dist.py", line 972, in run_command
    cmd_obj.run()
  File "/usr/local/lib/python2.7/distutils/command/upload.py", line 60, in run
    self.upload_file(command, pyversion, filename)
  File "/usr/local/lib/python2.7/distutils/command/upload.py", line 194, in upload_file
    self.announce('-'*75, result, '-'*75)
TypeError: announce() takes at most 3 arguments (4 given)
"""

This works correctly under Python 2.6. I haven't checked Python 3.x.

----------
keywords: easy
messages: 120806
nosy: jcea
priority: high
severity: normal
stage: needs patch
status: open
title: "python setup.py sdist upload --show-response" fails
type: crash
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10368>
_______________________________________


More information about the New-bugs-announce mailing list