Source: python-releases
Version: 1.4.0-2
Severity: serious
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu focal

Hi Zygmunt,

python-releases 1.4.0-2 fails to build in the Ubuntu devel series, and I
reproduced this failure also in a Debian sid environment:

[...]
make[1]: Entering directory '/<<PKGBUILDDIR>>'
PYTHONPATH=. python3 -m sphinx -b html -d docs/_build/.doctrees -N docs 
docs/_build/html
Running Sphinx v1.8.5
making output directory...
building [mo]: targets for 0 po files that are out of date
building [html]: targets for 4 source files that are out of date
updating environment: 4 added, 0 changed, 0 removed
reading sources... [ 25%] changelog

Exception occurred:
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 102, in 
__init__
    raise ValueError("Call either Version('1.2.3') or Version(major=1, ...).")
ValueError: Call either Version('1.2.3') or Version(major=1, ...).
The full traceback has been saved in /tmp/sphinx-err-r8fk2tvf.log, if you want 
to report the issue to the developers.
Please also report this if it was a user error, so that a better error message 
can be provided next time.
[...]

  (https://launchpad.net/ubuntu/+source/python-releases/1.4.0-2/+build/17970690)

The sphinx long shows a more complete backtrace which should help make it
clearer:

  File "/tmp/python-releases-1.4.0/releases/models.py", line 14, in __init__
    super(Version, self).__init__(version_string, partial)
  File "/usr/lib/python3/dist-packages/semantic_version/base.py", line 102, in 
__init__
    raise ValueError("Call either Version('1.2.3') or Version(major=1, ...).")
ValueError: Call either Version('1.2.3') or Version(major=1, ...).


Cheers,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                   https://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: PGP signature

Reply via email to