Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 276969

Summary: dev-python/mysql-python version bump: causes deprecation messages
Product: Gentoo Linux Reporter: Nick Hadaway <nick.hadaway>
Component: [OLD] DevelopmentAssignee: Python Gentoo Team <python>
Status: RESOLVED FIXED    
Severity: enhancement CC: djc, glua, hanno
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://admin.fedoraproject.org/updates/F11/FEDORA-2009-7166
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 230205    

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.