Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 451830 - dev-python/docutils: fails tests with pypy-2.0
Summary: dev-python/docutils: fails tests with pypy-2.0
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL: http://sourceforge.net/tracker/?func=...
Whiteboard:
Keywords:
Depends on:
Blocks: 451828
  Show dependency tree
 
Reported: 2013-01-13 17:48 UTC by Michał Górny
Modified: 2016-10-19 16:33 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log for pypy2.0 (build-pypy-c2.0.log,39.42 KB, text/plain)
2013-01-13 17:48 UTC, Michał Górny
Details
build log with pypy-2.4.0 (docutils-0.12:20141112-105726.log.gz,22.06 KB, application/gzip)
2014-11-12 11:06 UTC, Paolo Pedroni
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-13 17:48:49 UTC
Created attachment 335492 [details]
Build log for pypy2.0

The tests fail with pypy-2.0. It's quite a long output, so attaching it.
Comment 1 Mike Gilbert gentoo-dev 2013-01-13 18:31:30 UTC
Also affects pre-release versions of python-2.7, python-3.2. See URL.
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2013-01-19 23:12:21 UTC
Let's assume that it will be fixed in pypy-2.0 release.
Comment 3 Paolo Pedroni 2014-11-12 11:06:20 UTC
Created attachment 389166 [details]
build log with pypy-2.4.0

This happens also with latest pypy-2.4.0. Build log attached.
Comment 4 Mathy Vanvoorden 2016-10-19 14:34:46 UTC
Fix (with latest versions of docutils and pypy) in PR https://github.com/gentoo/gentoo/pull/2600
Comment 5 Patrice Clement gentoo-dev 2016-10-19 16:33:00 UTC
commit 37751f69b9bf96a30be87c43c4600d715953adf0 (HEAD -> master, origin/master, origin/HEAD)
Author:     Mathy Vanvoorden <mathy@vanvoorden.be>
AuthorDate: Wed Oct 19 12:09:44 2016 +0200
Commit:     Patrice Clement <monsieurp@gentoo.org>
CommitDate: Wed Oct 19 18:30:06 2016 +0200

dev-python/docutils: major improvements.

This commit:
* bumps EAPI.
* fixes EPYTHON.
* removes python3.3.
* removes version 0.10 and version 0.9.1-r1.
* revision-bumps to version 0.12-r1.
* fixes testing: testing was broken both for CPython and PyPy, it was solved
by two patches. One is from upstream, the other has been submitted to upstream.

Upstream submission: https://sourceforge.net/p/docutils/patches/136/

Gentoo-Bug: https://bugs.gentoo.org/452792
Gentoo-Bug: https://bugs.gentoo.org/451830
Gentoo-Bug: https://bugs.gentoo.org/529930
Gentoo-Bug: https://bugs.gentoo.org/593754

Courtesy of Mathy Vanvoorden <mathy@vanvoorden.be>.

Package-Manager: portage-2.3.0
Closes: https://github.com/gentoo/gentoo/pull/2600
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>

dev-python/docutils/Manifest                       |   3 -
dev-python/docutils/docutils-0.10.ebuild           |  72 --------------
dev-python/docutils/docutils-0.12-r1.ebuild        |  76 +++++++++++++++
dev-python/docutils/docutils-0.9.1-r1.ebuild       |  93 ------------------
.../docutils/files/docutils-0.10-optparser.patch   |  34 -------
.../files/docutils-0.12-fix-tests-pygments.patch   | 105 +++++++++++++++++++++
.../files/docutils-0.12-fix-tests-pypy.patch       |  51 ++++++++++
dev-python/docutils/metadata.xml                   |   3 -
8 files changed, 232 insertions(+), 205 deletions(-)
delete mode 100644 dev-python/docutils/docutils-0.10.ebuild
create mode 100644 dev-python/docutils/docutils-0.12-r1.ebuild
delete mode 100644 dev-python/docutils/docutils-0.9.1-r1.ebuild
delete mode 100644 dev-python/docutils/files/docutils-0.10-optparser.patch
create mode 100644 dev-python/docutils/files/docutils-0.12-fix-tests-pygments.patch
create mode 100644 dev-python/docutils/files/docutils-0.12-fix-tests-pypy.patch