Bug 537266

Summary: RFC: python3-babel
Product: [Fedora] Fedora Reporter: Dave Malcolm <dmalcolm>
Component: babelAssignee: Jeffrey C. Ollie <jeff>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: jeff, tomspur
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2010-12-02 21:53:40 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: 530636, 537268    
Attachments:
Description Flags
python3 build of babel, based on babel.spec none

Description Dave Malcolm 2009-11-12 23:54:30 UTC
I'm working on adding a python 3 stack to Fedora 13, parallel-installable with
the main python 2 stack:
https://fedoraproject.org/wiki/Features/Python3F13

There are two approaches I'm experimenting with to packaging modules for python
3:
  (a) create an separate specfile/srpm for the python 3 version
  (b) extend an existing specfile so that it emits a python3- subpackage as
part of the build.

See: https://fedoraproject.org/wiki/PackagingDrafts/Python3

I experimented and was able to use babel.spec to create a python3-babel.spec that builds, using 2to3 at the end of the %prep phase, with some other fixups; it should be parallel-installable with the python 2 babel.  

I haven't properly tested it yet, though.

Do you know what upstream's plans are for python 3 support?

Comment 1 Dave Malcolm 2009-11-12 23:55:54 UTC
Created attachment 369356 [details]
python3 build of babel, based on babel.spec

Comment 2 Bug Zapper 2009-11-16 15:29:53 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle.
Changing version to '12'.

More information and reason for this action is here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 3 Thomas Spura 2010-04-16 23:10:06 UTC
You can't just use 2to3 to do a python3 package for this 'because of a few reasons'.

See http://babel.edgewall.org/ticket/209


Don't know, if this bug should stay open till a decision.