Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 268771 - pymssql version bump
Summary: pymssql version bump
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-05 23:32 UTC by VinnieNZ
Modified: 2009-05-14 23:07 UTC (History)
1 user (show)

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


Attachments
pymssql-1.0.2.ebuild (pymssql-1.0.2.ebuild,674 bytes, text/plain)
2009-05-05 23:33 UTC, VinnieNZ
Details

Note You need to log in before you can comment on or make changes to this bug.
Description VinnieNZ 2009-05-05 23:32:13 UTC
pymmsql needs to go to latest released v1.0.2
http://pymssql.sourceforge.net/

Version 1.0.0 (currently in portage) has some issues where SQL statements, that used to work in v0.8, don't execute and throw back errors:
Traceback (most recent call last):
  File "./xyz.py", line 42, in <module>
    c.execute(sql)
  File "//usr/lib/python2.5/site-packages/pymssql.py", line 182, in execute
    self._source.execute_query(operation, params)
TypeError: not all arguments converted during string formatting


Upgrading to v1.0.2 fixes these errors.

Reproducible: Always

Steps to Reproduce:
Comment 1 VinnieNZ 2009-05-05 23:33:52 UTC
Created attachment 190450 [details]
pymssql-1.0.2.ebuild

I just changed the version number to the latest one and confirm that this compiles, installs and works on my machine (x86).
Comment 2 Thomas Raschbacher gentoo-dev 2009-05-11 06:28:06 UTC
1.0.2 is in tree .. (just commited now) please test as i do not currently have a mssql server to test it with (nor am I familiar with the bug)

also if the new ebuild is just a renamed old one you don't need to submit it just mention that u made a copy with the new filename :)
Comment 3 VinnieNZ 2009-05-14 23:07:29 UTC
(In reply to comment #2)
> 1.0.2 is in tree .. (just commited now) please test as i do not currently have
> a mssql server to test it with (nor am I familiar with the bug)

Have just compiled the version found in the tree and run the script and can confirm that it works and returns the expected results.


> also if the new ebuild is just a renamed old one you don't need to submit it
> just mention that u made a copy with the new filename :)

Good to know, will have to remember that for the future.