Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 276969 - dev-python/mysql-python version bump: causes deprecation messages
Summary: dev-python/mysql-python version bump: causes deprecation messages
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL: https://admin.fedoraproject.org/updat...
Whiteboard:
Keywords:
Depends on:
Blocks: python-2.6
  Show dependency tree
 
Reported: 2009-07-07 18:12 UTC by Nick Hadaway
Modified: 2009-08-10 14:23 UTC (History)
3 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 Nick Hadaway 2009-07-07 18:12:58 UTC
upgrade to 1.2.3c1

Cosmetic ebuild changes to deal with the _p->c

Reproducible: Always

Steps to Reproduce:
Notice that Fedora 11 has this addressed and gentoo doesn't...
Actual Results:  
Notice my logs being spammed with these messages

Expected Results:  
Have the latest version available (1.2.3c1) in portage for Python 2.6 compatibility

After installation of mysql-python 1.2.3c1 , I rebuild mod_python, and restarted apache... now when browsing my trac installation I no longer get the messages.  Application continues to work as expected.
Comment 1 Dirkjan Ochtman (RETIRED) gentoo-dev 2009-08-10 11:16:04 UTC
Simple fix, seems to work for me:

--- mysql-python-1.2.2.ebuild   2009-08-10 13:12:47.000000000 +0200
+++ mysql-python-1.2.3_rc1.ebuild       2009-08-10 13:14:23.000000000 +0200
@@ -6,7 +6,7 @@

 inherit distutils

-MY_P="MySQL-python-${PV}"
+MY_P="MySQL-python-${PV/_rc/c}"
 DESCRIPTION="MySQL Module for python"
 HOMEPAGE="http://sourceforge.net/projects/mysql-python/"
 SRC_URI="mirror://sourceforge/mysql-python/${MY_P}.tar.gz"
Comment 2 Hanno Böck gentoo-dev 2009-08-10 11:26:55 UTC
added to the tree, keeping this open as we should stabilize it soon, python 2.6 already went to stable tree.
Comment 3 Arfrever Frehtes Taifersar Arahesis (RETIRED) gentoo-dev 2009-08-10 14:22:18 UTC
Any stabilizations shouldn't block bug #230205, so this bug can be closed. Stabilization of packages, which don't work with Python 2.6, should block bug #277645. Stabilizations of packages, which only print deprecation messages, shouldn't block bug #277645.