Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 586742 - [PATCH] dev-lang/python tests fail with dev-libs/expat-2.2.0 (as they rely on a bug fixed in 2.2.0)
Summary: [PATCH] dev-lang/python tests fail with dev-libs/expat-2.2.0 (as they rely on...
Status: CONFIRMED
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://bugs.python.org/issue27369
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2016-06-22 18:08 UTC by Sebastian Pipping
Modified: 2016-06-22 18:19 UTC (History)
0 users

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


Attachments
Patch for 2.7.11 (0001-Fix-Python-2.7.11-tests-for-Expat-2.2.0.patch,1.04 KB, patch)
2016-06-22 18:08 UTC, Sebastian Pipping
Details | Diff
Patch for 3.x.x (0001-Fix-Python-3.x.x-tests-for-Expat-2.2.0.patch,1.07 KB, patch)
2016-06-22 18:08 UTC, Sebastian Pipping
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Pipping gentoo-dev 2016-06-22 18:08:38 UTC
Created attachment 438468 [details, diff]
Patch for 2.7.11

Expat commit https://sourceforge.net/p/expat/code_git/ci/550eb6bbaa7e6efc44e94cab945fe9c781c01211 fixed a bug that the Python test suite relies on, changing the byte error offset from 14 to 13 for a specific malformed XML input.

Attached you find patches for consideration to fix all supported Python versions in Gentoo.
Comment 1 Sebastian Pipping gentoo-dev 2016-06-22 18:08:58 UTC
Created attachment 438470 [details, diff]
Patch for 3.x.x
Comment 2 Sebastian Pipping gentoo-dev 2016-06-22 18:19:14 UTC
The issue is know upstream at http://bugs.python.org/issue27369 know.