[Bug 905500] [NEW] `python setup.py register` fails if long_description contains RST

anatoly techtonik techtonik at php.net
Fri Dec 16 20:53:36 UTC 2011


Public bug reported:

In my setup.py long_description is read from external reStructuredText file:
    long_description=open('README.rst').read(),

And it gives a traceback when I try to register package on PyPI. See
traceback.txt in attach.

Step to reproduce:
1. hg clone https://bitbucket.org/techtonik/python-pager; cd python-pager
2. hg up -r 24
3. python setup.py register

I presume that markup contains errors, but it should not fail with
traceback.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: python2.7 2.7.2-5ubuntu1
ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
Uname: Linux 2.6.38-11-generic i686
NonfreeKernelModules: nvidia
ApportVersion: 1.23-0ubuntu4
Architecture: i386
CheckboxSubmission: b346f016d264f3ef62407d5e29c198a2
CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
Date: Fri Dec 16 23:46:30 2011
ProcEnviron:
 PATH=(custom, no user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: python2.7
UpgradeStatus: Upgraded to oneiric on 2011-10-02 (75 days ago)

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 oneiric running-unity

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/905500

Title:
  `python setup.py register` fails if long_description contains RST

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  In my setup.py long_description is read from external reStructuredText file:
      long_description=open('README.rst').read(),

  And it gives a traceback when I try to register package on PyPI. See
  traceback.txt in attach.

  Step to reproduce:
  1. hg clone https://bitbucket.org/techtonik/python-pager; cd python-pager
  2. hg up -r 24
  3. python setup.py register

  I presume that markup contains errors, but it should not fail with
  traceback.

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: python2.7 2.7.2-5ubuntu1
  ProcVersionSignature: Ubuntu 2.6.38-11.50-generic 2.6.38.8
  Uname: Linux 2.6.38-11-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 1.23-0ubuntu4
  Architecture: i386
  CheckboxSubmission: b346f016d264f3ef62407d5e29c198a2
  CheckboxSystem: daed2f3d6643b4a84b4520a2427f8c2b
  Date: Fri Dec 16 23:46:30 2011
  ProcEnviron:
   PATH=(custom, no user)
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: python2.7
  UpgradeStatus: Upgraded to oneiric on 2011-10-02 (75 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/905500/+subscriptions




More information about the foundations-bugs mailing list