Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 128688 - twisted 2 keywording/stabilizing
Summary: twisted 2 keywording/stabilizing
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
: 101373 (view as bug list)
Depends on: 123104
Blocks: 124293
  Show dependency tree
 
Reported: 2006-04-03 13:22 UTC by Marien Zwart (RETIRED)
Modified: 2007-01-02 18:39 UTC (History)
4 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marien Zwart (RETIRED) gentoo-dev 2006-04-03 13:22:52 UTC
I'd like to move twisted-2.0.1 and its subpackages to stable where possible and give them the keywords twisted < 2 has.

Twisted was split up with the 2.0.0 release. To make sure no functionality is lost  the following should go stable or get keywords together:

x86 stable, ~amd64, ~alpha, ~ia64, ~ppc, ~sparc: 

twisted-2.0.1
twisted-conch-0.5.0-r1
twisted-flow-0.1.0-r1
twisted-lore-0.1.0-r1
twisted-mail-0.1.0-r1
twisted-names-0.1.0-r1
twisted-news-0.1.0-r1
twisted-pair-0.1.0-r1
twisted-runner-0.1.0-r1
twisted-web-0.5.0-r1
twisted-words-0.1.0-r1
twisted-xish-0.1.0-r1

~amd64, ~alpha, ~ia64, ~ppc, ~sparc:

twisted-conch-0.6.0
twisted-mail-0.2.0
twisted-names-0.2.0
twisted-words-0.3.0

All of them have tests run with FEATURES=test, and those should pass.

Currently <freevo-1.5.4 does not have the right deps for >=twisted-2, but I haven't been able to track down a media-tv herd member to fix this. Either the deps in older versions of freevo should be fixed or freevo-1.5.4 should go x86 stable at the same as twisted-2.0.1 and twisted-web.

Please let me know if anything is unclear or I missed something :)
Comment 1 Gustavo Zacarias (RETIRED) gentoo-dev 2006-04-03 14:54:38 UTC
sparc done.
Comment 2 Marien Zwart (RETIRED) gentoo-dev 2006-04-03 15:10:54 UTC
*** Bug 101373 has been marked as a duplicate of this bug. ***
Comment 3 nixnut (RETIRED) gentoo-dev 2006-04-08 00:43:17 UTC
The first set is marked ~ppc
The second set has some issues.

twisted-web-0.5.0-r1 doesn't want to cooperate with twisted-2.2.0. It does pass its tests with twisted-2.0.1 and twisted-2.1.0

[FAIL]: twisted.web.test.test_xmlrpc.XMLRPCTestCase.testErrors

  File "/var/tmp/portage/twisted-web-0.5.0-r1/temp/usr/lib/python2.4/site-packages/twisted/web/test/test_xmlrpc.py", line 121, in testErrors
    self.fail("timeout")
twisted.trial.unittest.FailTest: timeout
------------------------------------------------------------------------------
Ran 174 tests in 17.872s

FAILED (skips=5, expectedFailures=6, failures=1, successes=162)


twisted-mail fails with twisted-names-0.1.0-r1, it needs twisted-names-0.2.0
4 errors: 1 list index out of range, 3 Record_MX instance has no attribute 'name'

[ERROR]: twisted.mail.test.test_mail.LiveFireExercise.testRelayDelivery
             
  File "/var/tmp/portage/twisted-mail-0.2.0/temp/usr/lib/python2.4/site-packages
/twisted/mail/test/test_mail.py", line 973, in testRelayDelivery
    msg = mbox.getMessage(0).read()
  File "/var/tmp/portage/twisted-mail-0.2.0/temp/usr/lib/python2.4/site-packages
/twisted/mail/maildir.py", line 292, in getMessage
    return open(self.list[i])
exceptions.IndexError: list index out of range

[ERROR]: twisted.mail.test.test_mail.MXTestCase.testSimpleSuccess
  
  File "/var/tmp/portage/twisted-mail-0.2.0/temp/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 307, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/var/tmp/portage/twisted-mail-0.2.0/temp/usr/lib/python2.4/site-packages/twisted/mail/relaymanager.py", line 462, in _cbMX
    host = str(answer.name)
exceptions.AttributeError: Record_MX instance has no attribute 'name'
-------------------------------------------------------------------------------
Ran 230 tests in 37.619s

FAILED (expectedFailures=1, errors=4, successes=226)
Comment 4 Marien Zwart (RETIRED) gentoo-dev 2006-04-09 16:41:03 UTC
(In reply to comment #3)
> The first set is marked ~ppc

Thanks!

> The second set has some issues.

> twisted-web-0.5.0-r1 doesn't want to cooperate with twisted-2.2.0. It does 
> pass its tests with twisted-2.0.1 and twisted-2.1.0

<snip>

Gah. I could have sworn I tested that. Can reproduce it just fine, so I must have done something stupid when testing this earlier.

I took the easy way out and just committed twisted-web-0.5.0-r2 which has its tests patched to pass with twisted-2.2.0 but fail with twisted-2.0.1. twisted-web-0.5.0-r1 and -r2 are identical apart from some test changes.

Other arch teams: please mark twisted-web-0.5.0-r2 the same way as twisted-2.2.0 and twisted-web-0.5.0-r1 the same way as twisted-2.0.1.

> twisted-mail fails with twisted-names-0.1.0-r1, it needs twisted-names-0.2.0
> 4 errors: 1 list index out of range, 3 Record_MX instance has no attribute
> 'name'

<snip>

Dependency fixed. Thanks for testing this more thoroughly than I have apparently...

Finally: someone on irc pointed out the tests for subpackages are currently broken for multilib and for FEATURES=-userpriv. Those two things should be fixed now. amd64: please test twisted-conch, twisted-web, twisted-words and twisted-xish. They were previously keyworded but I believe those keywords were carried over from an earlier ebuild that did not have src_test and the tests did not actually work until a couple of minutes ago.
Comment 5 nixnut (RETIRED) gentoo-dev 2006-04-14 02:12:32 UTC
ppc done
Comment 6 Mark Loeser (RETIRED) gentoo-dev 2006-04-14 13:25:25 UTC
I got failures for the following packages while testing on x86:

twisted-conch-0.5.0-r1

[ERROR]: testRemoteToLocalForwarding (twisted.conch.test.test_conch.UnixClientTestCase)


  File "/var/tmp/portage/twisted-conch-0.5.0-r1/temp/usr/lib/python2.4/site-packages/twisted/trial/util.py", line 131, in _dispatch
    getattr(self, "do_%s" % attr)()
  File "/var/tmp/portage/twisted-conch-0.5.0-r1/temp/usr/lib/python2.4/site-packages/twisted/trial/util.py", line 173, in do_cleanPending
    raise PendingTimedCallsError(s)
twisted.trial.util.PendingTimedCallsError: pendingTimedCalls still pending (consider setting twisted.internet.base.DelayedCall.debug = True): <DelayedCall 1085663436 [0.681027889252s] called=0 cancelled=0 ConchTestForwardingProcess._connect()>


twisted-web-0.5.0-r1

[FAIL]: testDownloadPageError3 (twisted.web.test.test_webclient.WebClientSSLTestCase)


  File "/var/tmp/portage/twisted-web-0.5.0-r1/temp/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/var/tmp/portage/twisted-web-0.5.0-r1/temp/usr/lib/python2.4/site-packages/twisted/trial/assertions.py", line 184, in _cb
    raise FailTest, "did not catch an error, instead got %r" % (ignore,)
twisted.trial.assertions.FailTest: did not catch an error, instead got None
===============================================================================
[FAIL]: testDownloadPageError3 (twisted.web.test.test_webclient.WebClientTestCase)


  File "/var/tmp/portage/twisted-web-0.5.0-r1/temp/usr/lib/python2.4/site-packages/twisted/internet/defer.py", line 328, in _runCallbacks
    self.result = callback(self.result, *args, **kw)
  File "/var/tmp/portage/twisted-web-0.5.0-r1/temp/usr/lib/python2.4/site-packages/twisted/trial/assertions.py", line 184, in _cb
    raise FailTest, "did not catch an error, instead got %r" % (ignore,)
twisted.trial.assertions.FailTest: did not catch an error, instead got None

Comment 7 Andrew Koller 2006-04-14 17:58:25 UTC
Alright, while testing on x86, I recieved the following:

Warning: display is set to x11, but the environment has no DISPLAY set. Setting display to fbdev.


Error: TV_RECORD_DIR not set
Please set TV_RECORD_DIR to the directory, where recordings should be stored
or remove the tv plugin. Autoset variable to /home/yuu.

Error: VIDEO_SHOW_DATA_DIR not found
ROM_DRIVES: Auto-detected and added "('/mnt/cdrom', '/dev/cdroms/cdrom0', 'CD-1')"

Error: can't find /tmp/TV.xml
Use xmltv to create this file or when you don't want to use the tv
module at all, add TV_CHANNELS = [] and plugin.remove('tv') to your
local_conf.py. TVguide is deactivated now.

WARNING: PyLirc not found, lirc remote control disabled!
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/freevo/main.py", line 131, in ?
    import menu    # The menu widget class
  File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 48, in ?
    import skin
  File "/usr/lib/python2.4/site-packages/freevo/skin.py", line 98, in ?
    get_singleton()
  File "/usr/lib/python2.4/site-packages/freevo/skin.py", line 79, in get_singleton
    exec('import skins.' + config.SKIN_MODULE  + '.' + config.SKIN_MODULE  + \
  File "<string>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/freevo/skins/main/main.py", line 51, in ?
    from area import Skin_Area
  File "/usr/lib/python2.4/site-packages/freevo/skins/main/area.py", line 67, in ?
    import xml_skin
  File "/usr/lib/python2.4/site-packages/freevo/skins/main/xml_skin.py", line 54, in ?
    osd = osd.get_singleton()
  File "/usr/lib/python2.4/site-packages/freevo/osd.py", line 149, in get_singleton
    _singleton = OSD()
  File "/usr/lib/python2.4/site-packages/freevo/osd.py", line 382, in __init__
    pygame.display.init()


Also, when running freevo cache --rebuild   (as requested by the merge):

Freevo cache

Freevo will now generate a metadata cache for all your files and
create thumbnails from images for faster access.

ERROR: VIDEO_ITEMS contains root directory, skipped.
ERROR: AUDIO_ITEMS contains root directory, skipped.
ERROR: IMAGE_ITEMS contains root directory, skipped.
deleting old cache files from older freevo version.... deleted 0 file(s)
deleting old cachefiles............................... deleted 0 file(s)
deleting cache for directories not existing anymore... done
deleting old entries in metainfo...................... done
deleting cache files.................................. done
checking mmpython cache files......................... 0 changes
checking thumbnails................................... 0 file(s)
Python SQLite not installed!
creating audio metadata............................... done
creating playlist metadata............................ done
checking database..................................... skipping
creating directory metadata........................... done
caching xmltv database................................ done

caching complete after 0.07 seconds


The python sqlite error was not fixed by merging either sqlite or pysqlite, so this stumps me a tad.


After merging xmltv and lsdvd and having freevo configured:

WARNING: /etc/freevo/lircrc not found!
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/freevo/main.py", line 131, in ?
    import menu    # The menu widget class
  File "/usr/lib/python2.4/site-packages/freevo/menu.py", line 48, in ?
    import skin
  File "/usr/lib/python2.4/site-packages/freevo/skin.py", line 98, in ?
    get_singleton()
  File "/usr/lib/python2.4/site-packages/freevo/skin.py", line 79, in get_singleton
    exec('import skins.' + config.SKIN_MODULE  + '.' + config.SKIN_MODULE  + \
  File "<string>", line 1, in ?
  File "/usr/lib/python2.4/site-packages/freevo/skins/main/main.py", line 51, in ?
    from area import Skin_Area
  File "/usr/lib/python2.4/site-packages/freevo/skins/main/area.py", line 67, in ?
    import xml_skin
  File "/usr/lib/python2.4/site-packages/freevo/skins/main/xml_skin.py", line 54, in ?
    osd = osd.get_singleton()
  File "/usr/lib/python2.4/site-packages/freevo/osd.py", line 149, in get_singleton
    _singleton = OSD()
  File "/usr/lib/python2.4/site-packages/freevo/osd.py", line 382, in __init__
    pygame.display.init()
pygame.error: No available video device


So, apparently some issues still, but those are the results of my tests.  See emerge info below:

Azel / # emerge --info
Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.4, glibc-2.3.5-r2, 2.6.16-gentoo-r1 i686)
=================================================================
System uname: 2.6.16-gentoo-r1 i686 Intel(R) Pentium(R) M processor 2.13GHz
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
sys-apps/sandbox:    1.2.12
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/env.d"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X alsa apache2 apm arts audiofile avi berkdb bitmap-fonts bzip2 cli crypt ctype cups dba dri eds emboss encode esd expat fastbuild foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gnome gpm gstreamer gtk gtk2 imlib ipv6 isdnlog jpeg kde lcms libg++ libwww lirc mad memlimit mikmod mng motif mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib perl png posix pppd python qt quicktime readline sdl session simplexml soap sockets spell spl sqlite ssl tcpd tiff tokenizer truetype truetype-fonts type1-fonts udev vorbis xml xml2 xmms xsl xv zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY

Comment 8 Mark Loeser (RETIRED) gentoo-dev 2006-04-14 18:02:05 UTC
Could someone fix the deps for the old version of freevo if it is this broken? :)
Comment 9 Marien Zwart (RETIRED) gentoo-dev 2006-04-18 05:49:12 UTC
Comment #7: do you think this is related to twisted 2 keywording/stabilizing? If yes, how do I reproduce your errors? If no, could you please file a bug on freevo for freevo problems?

Comment #6: The "Pending delayed call" thing you pasted is not fatal to the test, although it does indicate a badly written test. The actual tracebacks needed to investigate should be gathered and printed at the end (right above the "FAILED"). For the twisted-web failure: what version of twisted did you have installed when you got that? twisted-web-0.5.0-r1's tests do not work reliably with twisted-2.2.0 and probably also with twisted-2.1.0.
Comment 10 Mark Loeser (RETIRED) gentoo-dev 2006-04-18 09:58:50 UTC
(In reply to comment #9)
> Comment #7: do you think this is related to twisted 2 keywording/stabilizing?
> If yes, how do I reproduce your errors? If no, could you please file a bug on
> freevo for freevo problems?

I asked him to put it on here since all of this has to go stable at the same time.


> Comment #6: The "Pending delayed call" thing you pasted is not fatal to the
> test, although it does indicate a badly written test. The actual tracebacks
> needed to investigate should be gathered and printed at the end (right above
> the "FAILED"). For the twisted-web failure: what version of twisted did you
> have installed when you got that? twisted-web-0.5.0-r1's tests do not work
> reliably with twisted-2.2.0 and probably also with twisted-2.1.0.
> 

I used twisted-2.0.1 with twisted-web-0.5.0-r1 since that is what you said to do :)
Comment 11 Marien Zwart (RETIRED) gentoo-dev 2006-04-29 12:06:38 UTC
Sorry for the delay. If the twisted-web problem is the same one I reproduced by setting FEATURES=-userpriv it should be fixed now, so please test that again. Also fixed a similar problem in twisted-conch (both just by skipping the affected tests, run with userpriv for more testing goodness).
Comment 12 Mark Loeser (RETIRED) gentoo-dev 2006-05-03 16:05:01 UTC
x86 done
Comment 13 Jon Hood (RETIRED) gentoo-dev 2006-05-03 22:22:55 UTC
_twisted-mail-0.1.0-r1_ gave me test errors:
(todo, it's still running...er...failing the tests slowly. I'm going on to bed and will post the output in the morning)
this blocked the marking of _twisted-news_

_twisted-runner_ fails to build and install with the following:
Running 0 tests.
                                                       [ERROR]

===============================================================================
[ERROR]: twisted.runner

  File "/var/tmp/portage/twisted-runner-0.1.0-r1/temp/usr/lib/python2.4/site-packages/twisted/python/reflect.py", line 370, in namedAny
    obj = getattr(obj, n)
exceptions.AttributeError: 'module' object has no attribute 'runner'

The three packages above should be all that's remaining for amd64.
Comment 14 Jon Hood (RETIRED) gentoo-dev 2006-05-04 18:37:23 UTC
ok, I didn't manage to capture a full log of the errors I was getting, but most of them looked something like:
[FAIL]: twisted.mail.test.test_imap.AuthenticatorTestCase.testFailedPLAIN

  File "/var/tmp/portage/twisted-mail-0.1.0-r1/temp/usr/lib/python2.4/site-packa
ges/twisted/mail/test/test_imap.py", line 1502, in testFailedPLAIN
    self.assertEquals(self.authenticated, -1)
twisted.trial.unittest.FailTest: 0 != -1
===============================================================================
[FAIL]: twisted.mail.test.test_imap.AuthenticatorTestCase.testLOGIN

  File "/var/tmp/portage/twisted-mail-0.1.0-r1/temp/usr/lib/python2.4/site-packa
ges/twisted/mail/test/test_imap.py", line 1444, in testLOGIN
    self.assertEquals(self.authenticated, 1)
twisted.trial.unittest.FailTest: 0 != 1
===============================================================================
[FAIL]: twisted.mail.test.test_imap.AuthenticatorTestCase.testPLAIN

  File "/var/tmp/portage/twisted-mail-0.1.0-r1/temp/usr/lib/python2.4/site-packa
ges/twisted/mail/test/test_imap.py", line 1482, in testPLAIN
    self.assertEquals(self.authenticated, 1)
twisted.trial.unittest.FailTest: 0 != 1

Not sure how helpful that is, but if you need a full error report (the error log I did manage to get is already 90k), contact me off bugzilla and I'll create the full log.
Comment 15 Marien Zwart (RETIRED) gentoo-dev 2006-05-16 09:56:26 UTC
amd64: twisted.eclass contained some multilib screwups which should be fixed now. Please re-test the subpackages (core was not changed).
Comment 16 Simon Stelling (RETIRED) gentoo-dev 2006-05-29 11:48:00 UTC
(i've already bothered you with these over IRC, just providing them here for your convenience)

twisted-lore-0.1.0-r1: apparently depends on dia:

 # lore
which: no dia in (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin)
/usr/lib64/python2.4/site-packages/twisted/plugins/twisted_lore.py:15: ComponentsDeprecationWarning: components.backwardsCompatImplements doesn't do anything in Twisted 2.3, stop calling it.
  backwardsCompatImplements(_LorePlugin)
/usr/bin/lore: template.tpl: No such file or directory
getProcessor() failed

twisted-web-0.5.0-r1: same as above
twisted-names-0.1.0-r1: test fails when downgrading from a higher version:

      Test DNS 'WKS' record queries ...                                    [OK]
      Test DNS 'AXFR' queries (Zone transfer) ...
/var/tmp/portage/twisted-names-0.1.0-r1/temp/usr/lib64/python2.4/site-packages/twisted/names/client.py:295: exceptions.DeprecationWarning: Deferred.setTimeout is deprecated.  Look for timeout support specific to the API you are using instead.
                         [OK]
  twisted.names.test.test_rootresolve
    RootResolverTestCase

===============================================================================
[SKIPPED]: testIPv6 (twisted.names.test.test_names.HostsTestCase)

IPv6 support is not in our hosts resolver yet
===============================================================================
[ERROR]: testLookup (twisted.names.test.test_cache.Caching)


Failure: twisted.names.dns.DomainError: example.com
-------------------------------------------------------------------------------
Ran 41 tests in 22.445s

FAILED (skips=1, errors=1, successes=39)

!!! ERROR: dev-python/twisted-names-0.1.0-r1 failed.
Call stack:
  ebuild.sh, line 1527:   Called dyn_test
  ebuild.sh, line 978:   Called src_test
  ebuild.sh, line 1239:   Called twisted_src_test
  twisted.eclass, line 49:   Called die

!!! trial failed

twisted-news-0.1.0-r1: wasn't keyworded before
twisted-runner-0.1.0-r1: same
twisted-words-0.1.0-r1: seems to have a missing dep too:

aqua ~ # im
Traceback (most recent call last):
  File "/usr/bin/im", line 21, in ?
    im.run()
  File "/usr/lib64/python2.4/site-packages/twisted/words/scripts/im.py", line 13, in run
    from twisted.internet import gtkreactor
  File "/usr/lib64/python2.4/site-packages/twisted/internet/gtkreactor.py", line 27, in ?
    pygtk.require('1.2')
  File "/usr/lib64/python2.4/site-packages/pygtk.py", line 73, in require
    assert versions.has_key(version), \
AssertionError: required version '1.2' not found on system

(i indeed only have pygtk-2.8.2 installed)

rest is all done on amd64
Comment 17 Marien Zwart (RETIRED) gentoo-dev 2006-06-26 15:27:39 UTC
(In reply to comment #16)
> twisted-lore-0.1.0-r1: apparently depends on dia:
> 
>  # lore
> which: no dia in
> (/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.5:/opt/blackdown-jdk-1.4.2.03/bin:/opt/blackdown-jdk-1.4.2.03/jre/bin:/usr/qt/3/bin:/usr/kde/3.4/sbin:/usr/kde/3.4/bin)
> /usr/lib64/python2.4/site-packages/twisted/plugins/twisted_lore.py:15:

twisted-lore-0.1.0-r1 and up will no longer print that ugly message about dia. Dia is only used by the latex output plugin for images and as far as I can tell lore will work without it, so I left out the dep. I will add it "behind" a local USE flag if people think that is better. Feel free to mark 0.1.0-r1 stable, although the difference should be purely "cosmetic" (no more noise on stderr, no functional changes).

> twisted-web-0.5.0-r1: same as above
> twisted-names-0.1.0-r1: test fails when downgrading from a higher version:

Test failures on downgrading (possibly also on upgrading in some cases) addressed in the eclass (was not removing files from the other version after copying properly).

> twisted-words-0.1.0-r1: seems to have a missing dep too:
> 
> aqua ~ # im
> Traceback (most recent call last):
>   File "/usr/bin/im", line 21, in ?
>     im.run()
>   File "/usr/lib64/python2.4/site-packages/twisted/words/scripts/im.py", line
> 13, in run
>     from twisted.internet import gtkreactor
>   File "/usr/lib64/python2.4/site-packages/twisted/internet/gtkreactor.py",
> line 27, in ?
>     pygtk.require('1.2')
>   File "/usr/lib64/python2.4/site-packages/pygtk.py", line 73, in require
>     assert versions.has_key(version), \
> AssertionError: required version '1.2' not found on system
> 
> (i indeed only have pygtk-2.8.2 installed)

Depends on <pygtk-2 with USE=gtk, removes that script without it in -words-0.1.0-r2, 0.3.0-r1 and 0.4.0-r1. Preferably mark those -r releases stable instead of (or as well as) the previous versions.

Mentioned on irc but not here: twisted-web's websetroot script does not work. It is no longer installed by twisted-web-0.5.0-r3 and 0.6.0-r1. 0.5.0-r2 was removed (that was a version with extra patches to make 0.5.0 pass its tests with twisted-2.2.0, either use twisted-2.4.0 and web-0.6.0, twisted-2.0.1 and twisted-web-0.5.0, or disable the tests (the only compatibility problem between twisted-2.2.0 and twisted-web-0.5.0 is in test code).

Please mark 0.5.0-r3 stable if I previously asked for 0.5.0-r1.
Comment 18 Marien Zwart (RETIRED) gentoo-dev 2006-06-29 14:18:22 UTC
amd64: you've gone ahead and marked twisted-2.4.0 stable, which causes up-down cycles. Please keep in mind:

if twisted-1 was currently available and you make twisted-2 or greater available, also make available:
twisted-conch-0.5.0-r1, twisted-lore-0.1.0-r1 or -r2, twisted-mail-0.1.0-r1, twisted-names-0.1.0-r1, twisted-news-0.1.0-r1, twisted-runner-0.1.0-r1, twisted-web-0.5.0-r1 or -r3, twisted-words-0.1.0-r1 or -r2, twisted-xish-0.1.0-r1.

Functionality provided by those subpackages was integrated in twisted-1, so not keywording them means the upgrade loses available functionality.

Since twisted-pair and twisted-flow are no longer supported starting with twisted-2.4.0 I don't think it's really necessary those get keyworded/stabled anymore, but feel free to mark them too :) They're not maintained upstream but the versions in the tree should still work ok.

If you keyword/stable twisted-2.4.0, also keyword/stable:
twisted-conch-0.7.0, twisted-lore-0.2.0, twisted-mail-0.3.0, twisted-names-0.3.0, twisted-news-0.2.0, twisted-runner-0.2.0, twisted-web-0.6.0 or -r1, twisted-words-0.4.0 or -r1.

Previous versions of the subpackages do not work with twisted-2.4.0. If a previous version of for example conch is keyworded this will trigger an upgrade/downgrade cycle of twisted-2.4.0 and (in case of amd64 stable) 2.0.1. Sorry I did not mention this earlier, I was not expecting anyone to stabilize twisted > 2.0.1 yet.
Comment 19 Thomas Cort (RETIRED) gentoo-dev 2006-06-30 16:22:59 UTC
(In reply to comment #18)

twisted-conch-0.5.0-r1, twisted-lore-0.1.0-r2, twisted-mail-0.1.0-r1,
twisted-names-0.1.0-r1, twisted-news-0.1.0-r1, twisted-runner-0.1.0-r1,
twisted-web-0.5.0-r1, twisted-words-0.1.0-r2, twisted-xish-0.1.0-r1.
and twisted-2.0.1 are stable on alpha. Some of these were not ~alpha for 30 days. They were fast tracked because we need to get net-dns/avahi stable so that we can get vlc stable so that we have a stable vlc that is ported to modular X (modular X is going stable on alpha today).

twisted-conch-0.7.0, twisted-lore-0.2.0, twisted-mail-0.3.0,
twisted-names-0.3.0, twisted-news-0.2.0, twisted-runner-0.2.0,
twisted-web-0.6.0-r1, twisted-words-0.4.0-r1, and twisted-2.4.0 are ~alpha.
Comment 20 Michael Weyershäuser 2006-11-18 04:23:31 UTC
OK, reading all thorough this bug I think the only packages missing for amd64 are twisted-news-0.2.0 and twisted-runner-0.2.0. Both emerge fine and pass tests here, so they're probably good to go.

Portage 2.1.1-r1 (default-linux/amd64/2006.1/desktop, gcc-4.1.1, glibc-2.4-r4, 2.6.18-suspend2-Dudebox-Edition x86_64)
=================================================================
System uname: 2.6.18-suspend2-Dudebox-Edition x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.12.6
Last Sync: Sat, 18 Nov 2006 05:00:01 +0000
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     2.4.3-r4
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.60
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r4
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -msse3 -Os -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /var/qmail/alias /var/qmail/control /var/vpopmail/domains /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c"
CXXFLAGS="-march=k8 -msse3 -Os -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache collision-protect distcc distlocks metadata-transfer multilib-strict parallel-fetch sandbox sfperms strict test"
GENTOO_MIRRORS="ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/ ftp:///ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage_overlay"
SYNC="rsync://server/gentoo-portage"
USE="amd64 X alsa apache2 berkdb bitmap-fonts cairo cdr cli cracklib crypt cups dbus dlloader dri dvd dvdr eds elibc_glibc emboss encode esd fam firefox fortran gcj gdbm gif gpm gstreamer gtk gtk2 hal iconv imap input_devices_keyboard input_devices_mouse isdnlog jpeg kde kdeenablefinal kdehiddenvisibility kernel_linux libg++ mad mikmod mp3 mpeg mysql ncurses nls nptl nptlonly objc objc++ ogg oss pam pcre perl png ppds pppd python qt3 quicktime readline reflection sdl session spell spl sqlite ssl tcpd test truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_radeon vorbis xml xorg xv zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 21 Jakub Moc (RETIRED) gentoo-dev 2006-12-07 12:27:05 UTC
@amd64 - can you stabilize twisted-news-0.2.0 and twisted-runner-0.2.0 and close this messy bug then? :)

(sparc and x86 are stuck @ 2.0.1 while everyone else stabilized 2.4.0, but I guess it'd be better to handle it in a separate bug).
Comment 22 Steve Dibb (RETIRED) gentoo-dev 2007-01-02 18:39:14 UTC
amd64 stable