Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 285169 - dev-python/twill-0.9: removal
Summary: dev-python/twill-0.9: removal
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard: Pending removal: 2018-11-11
Keywords: PMASKED
Depends on:
Blocks:
 
Reported: 2009-09-16 09:21 UTC by Stéphane Bortzmeyer
Modified: 2018-11-11 12:03 UTC (History)
5 users (show)

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


Attachments
twill-update-deps.patch (twill-update-deps.patch,1.56 KB, patch)
2010-12-29 12:27 UTC, Priit Laes (IRC: plaes)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Stéphane Bortzmeyer 2009-09-16 09:21:18 UTC
Since Gentoo moved to Python 2.6, several Python packages always spit this annoyous warning. They should be changed to match Python 2.6.


Reproducible: Always

Steps to Reproduce:
1.python
2.import twill
3.

Actual Results:  
/usr/lib64/python2.6/site-packages/twill/other_packages/_mechanize_dist/_auth.py:14: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import re, base64, urlparse, posixpath, md5, sha, sys, copy
/usr/lib64/python2.6/site-packages/twill/other_packages/_mechanize_dist/_auth.py:14: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import re, base64, urlparse, posixpath, md5, sha, sys, copy


Expected Results:  
Nothing should appear
Comment 1 Priit Laes (IRC: plaes) 2010-12-29 11:30:29 UTC
This warning is because twill bundles several external python packages (which already exist in portage):

dev-python/mechanize
dev-python/pyparsing
and suprocess.py (in Python's stdlib since 2.4)
Comment 2 Priit Laes (IRC: plaes) 2010-12-29 12:27:39 UTC
Created attachment 258338 [details, diff]
twill-update-deps.patch

Fortunately pyparsing and subprocess are easily dumpable, bundled mechanize needs a bit more work.
Comment 3 Samuel Damashek (RETIRED) gentoo-dev 2014-01-22 04:27:35 UTC
twill appears to be fixed in the latest stable 2.x python (2.7.5-r3). Closing.
Comment 4 Dirkjan Ochtman (RETIRED) gentoo-dev 2014-01-22 08:30:27 UTC
Samuel: I'm not sure your comment makes sense. I don't understand how twill could suddenly be fixed against a newer python, when there's a problem in twill. Also, we should still unbundle the packaged libraries.
Comment 5 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2018-04-20 20:45:29 UTC
This package is as dead as it can be.  Last release in 2007, does not support Python 3, nobody seems to care really.

Sadly, it has revdeps:

  dev-python/flask-testing
    optional, probably not used anywhere
  dev-python/python-openid
    also dead-ish, last release 2010, 'replaced' by python3-openid
  www-apps/trac
    they call it alive but doesn't seem like they're still living the past
Comment 6 Pacho Ramos gentoo-dev 2018-04-21 08:01:01 UTC
Fortunately trac only need this for tests... but I will CC its maintainers to see if they can notify their upstream about this to try to migrate away from twill in the future
Comment 7 Larry the Git Cow gentoo-dev 2018-10-12 00:08:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f7450a60cd31d1d78e3e084dcb7a77909bddc68

commit 7f7450a60cd31d1d78e3e084dcb7a77909bddc68
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-10-12 00:05:25 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-12 00:07:49 +0000

    dev-python/flask-wtf: remove old
    
    This version was the last dependency of dev-python/flask-testing, which
    can now be removed.
    
    Bug: https://bugs.gentoo.org/285169
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/flask-wtf/flask-wtf-0.14.2.ebuild | 54 ----------------------------
 1 file changed, 54 deletions(-)
Comment 8 Larry the Git Cow gentoo-dev 2018-10-12 12:24:49 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5b0e9797df6d3ea7443d5d09c5b50d5da46295a

commit a5b0e9797df6d3ea7443d5d09c5b50d5da46295a
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-10-12 12:24:36 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-12 12:24:36 +0000

    dev-python/python-openid: RESTRICT tests
    
    Bug: https://bugs.gentoo.org/285169
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-python/python-openid/python-openid-2.2.5-r1.ebuild | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
Comment 9 Larry the Git Cow gentoo-dev 2018-10-12 12:40:01 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f58a13a4014560b430b46ca4a2d055f6ce6b924

commit 7f58a13a4014560b430b46ca4a2d055f6ce6b924
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-10-12 12:38:19 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-12 12:38:19 +0000

    profiles: last-riting dev-python/twill
    
    Bug: https://bugs.gentoo.org/285169
    
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>

 profiles/package.mask | 6 ++++++
 1 file changed, 6 insertions(+)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f47ea2f7b0d3d51fa4a9cd82573be21904ccd0c5

commit f47ea2f7b0d3d51fa4a9cd82573be21904ccd0c5
Author:     Virgil Dupras <vdupras@gentoo.org>
AuthorDate: 2018-10-12 12:34:12 +0000
Commit:     Virgil Dupras <vdupras@gentoo.org>
CommitDate: 2018-10-12 12:34:12 +0000

    www-apps/trac: RESTRICT tests
    
    Bug: https://bugs.gentoo.org/285169
    Signed-off-by: Virgil Dupras <vdupras@gentoo.org>
    Package-Manager: Portage-2.3.51, Repoman-2.3.11

 www-apps/trac/trac-1.0.9.ebuild | 14 ++++++--------
 www-apps/trac/trac-1.2.1.ebuild | 14 ++++++--------
 2 files changed, 12 insertions(+), 16 deletions(-)
Comment 10 Larry the Git Cow gentoo-dev 2018-11-11 12:03:35 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd10276caee0d386ebb6c1cd16cd4b49f65bd5e

commit 1cd10276caee0d386ebb6c1cd16cd4b49f65bd5e
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-11-11 12:01:10 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-11-11 12:03:27 +0000

    dev-python/twill: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/285169
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/twill/Manifest            |  1 -
 dev-python/twill/metadata.xml        | 11 --------
 dev-python/twill/twill-0.9-r1.ebuild | 51 ------------------------------------
 profiles/package.mask                |  5 ----
 4 files changed, 68 deletions(-)

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dabeaaae0d1b2fd91c90f05a70ff79cb19ca7825

commit dabeaaae0d1b2fd91c90f05a70ff79cb19ca7825
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2018-11-11 12:00:39 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2018-11-11 12:03:26 +0000

    dev-python/flask-testing: Remove last-rited pkg
    
    Closes: https://bugs.gentoo.org/285169
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/flask-testing/Manifest                  |  2 --
 .../flask-testing/files/0.4.2-test-fix.patch       | 17 ---------
 .../flask-testing/flask-testing-0.4.2.ebuild       | 35 -------------------
 .../flask-testing/flask-testing-0.6.2.ebuild       | 40 ----------------------
 dev-python/flask-testing/metadata.xml              | 13 -------
 profiles/package.mask                              |  1 -
 6 files changed, 108 deletions(-)