Bug 1106785

Summary: python-paste: FTBFS in rawhide
Product: [Fedora] Fedora Reporter: Dennis Gilmore <dennis>
Component: python-pasteAssignee: Luke Macken <lmacken>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: a.badger, kylev, lmacken, pfrields
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-17 17:28:52 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1105908    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Dennis Gilmore 2014-06-09 17:28:15 UTC
Your package python-paste failed to build from source in current rawhide.

http://koji.fedoraproject.org/koji/taskinfo?taskID=6986647

For details on mass rebuild see https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild

Comment 1 Dennis Gilmore 2014-06-09 17:28:18 UTC
Created attachment 905302 [details]
build.log

Comment 2 Dennis Gilmore 2014-06-09 17:28:20 UTC
Created attachment 905303 [details]
root.log

Comment 3 Dennis Gilmore 2014-06-09 17:28:21 UTC
Created attachment 905304 [details]
state.log

Comment 4 Luke Macken 2014-06-17 00:39:09 UTC
From what I can tell the test failure is because during the tests on python-2.7.7-1.fc21, string.letters == 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz', but from a console it's 'pyabcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'. I have yet to figure out why this is the case.

Comment 5 Luke Macken 2014-06-17 15:20:27 UTC
The issue is due to this behavior:

>>> import string
>>> string.letters
'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ'
>>> import locale
>>> locale.getpreferredencoding()
'UTF-8'
>>> string.letters
'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'

Comment 6 Luke Macken 2014-06-17 17:28:52 UTC
I wrote a patch to fix this issue, applied it in rawhide, and submitted it upstream.

https://bitbucket.org/ianb/paste/pull-request/19