Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423777 - dev-python/twisted-12.1.0 version bump request
Summary: dev-python/twisted-12.1.0 version bump request
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal enhancement
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-27 08:17 UTC by Ian Delaney (RETIRED)
Modified: 2012-09-27 18:14 UTC (History)
0 users

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


Attachments
ebuild patch (twisted.patch,970 bytes, patch)
2012-06-27 08:17 UTC, Ian Delaney (RETIRED)
Details | Diff
patch for files/ (twisted-12.1.0-skip_test.patch,507 bytes, patch)
2012-06-27 08:18 UTC, Ian Delaney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ian Delaney (RETIRED) gentoo-dev 2012-06-27 08:17:26 UTC
Created attachment 316389 [details, diff]
ebuild patch

archtester twisted # USE_PYTHON="2.6 2.7 2.7-pypy-1.9" ebuild twisted-12.1.0.ebuild clean test

Sadly the tests hang when they get to the run by pypy.
Clever me found and filed the error re test_isChecker() 2 weeks after marienz had already made a patch for it, so I add that patch.

archtester twisted # USE_PYTHON="2.6 2.7" ebuild twisted-12.1.0.ebuild clean test

[TODO] X 4  (noisy but innocuous)

PASSED (skips=557, expectedFailures=5, successes=4272)

archtester twisted # USE_PYTHON="2.6 2.7 2.7-pypy-1.8 2.7-pypy-1.9" ebuild twisted-12.1.0.ebuild merge

>>> Original instance of package unmerged safely.
 * Compilation and optimization of Python modules for CPython 2.6    [ ok ]
 * Compilation and optimization of Python modules for CPython 2.7    [ ok ]
 * Compilation and optimization of Python modules for PyPy 1.8 
(Python 2.7)    [ ok ]
 * Compilation and optimization of Python modules for PyPy 1.9 
(Python 2.7)    [ ok ]
 * Regeneration of Twisted plugin cache with CPython 2.6
 * Regeneration of Twisted plugin cache with CPython 2.7
 * Regeneration of Twisted plugin cache with PyPy 1.8
 * Regeneration of Twisted plugin cache with PyPy 1.9
>>> dev-python/twisted-12.1.0 merged.

looks fine
Comment 1 Ian Delaney (RETIRED) gentoo-dev 2012-06-27 08:18:04 UTC
Created attachment 316391 [details, diff]
patch for files/
Comment 2 Keith Harrison 2012-06-30 06:05:06 UTC
 * Cannot find $EPATCH_SOURCE!  Value for $EPATCH_SOURCE is:
 * 
 *   /usr/local/portage/dev-python/twisted/files/twisted-12.1.0-flags.patch
 *   ( twisted-12.1.0-flags.patch )
 * ERROR: dev-python/twisted-12.1.0 failed (prepare phase):
 *   Cannot find $EPATCH_SOURCE!
Comment 3 Ian Delaney (RETIRED) gentoo-dev 2012-06-30 11:44:47 UTC
ok it seems I copied the patch from progress and missed including it here.
He called it twisted-12.1.0-twisted.python.sendmsg_compiler_flags.patch.
I copied it as twisted-12.1.0-flags.patch.

https://twistedmatrix.com/trac/ticket/5701 && 5702

--- setup.py
+++ setup.py
@@ -41,7 +41,8 @@
               ["twisted/python/_initgroups.c"]),
     Extension("twisted.python.sendmsg",
               sources=["twisted/python/sendmsg.c"],
-              condition=lambda _: sys.platform != "win32"),
+              condition=lambda _: sys.platform != "win32",
+              extra_compile_args=["-fno-strict-aliasing"]),
     Extension("twisted.internet._sigchld",
               ["twisted/internet/_sigchld.c"],
               condition=lambda _: sys.platform != "win32"),
Comment 4 Keith Harrison 2012-07-04 09:28:13 UTC
Thanks, it's working great.
Comment 5 Marien Zwart (RETIRED) gentoo-dev 2012-09-27 18:14:23 UTC
Bumped to 12.2.0 (finally!), closing.