Bug 451228
Summary: | Missing versions in RPM requirements | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora EPEL | Reporter: | Dave Malcolm <dmalcolm> | ||||||
Component: | TurboGears | Assignee: | Mark Chappell <tremble> | ||||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | low | Docs Contact: | |||||||
Priority: | low | ||||||||
Version: | el5 | CC: | a.badger, mastahnke, tremble | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | All | ||||||||
OS: | Linux | ||||||||
Whiteboard: | ActualBug | ||||||||
Fixed In Version: | TurboGears-1.0.9-3.el5 | Doc Type: | Bug Fix | ||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2010-10-04 16:56:02 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: | |||||||||
Attachments: |
|
Description
Dave Malcolm
2008-06-13 14:38:01 UTC
Ideally ought to autogenerate the rpm requirements from the egginfo requirements I suppose Created attachment 309225 [details]
Script that autogenerates rpm requirements from egginfo requires.txt
Attached is beginnings of a script that can autogenerate rpm requirements from
an egginfo requires.txt
Output from script gives me: python-cherrypy >= 2.3.0 python-cherrypy < 3.0.0alpha python-ruledispatch >= 0.5a0.dev-r2303 python-sqlalchemy >= 0.3.10 Created attachment 309532 [details]
Script to autogenerate virtual provides from an egg directory
Output from script when run on egg dir with extra "SQLAlchemy" arg specified
thus:
python requires.py
/usr/lib/python2.4/site-packages/TurboGears-1.0.4.4-py2.4.egg-info SQLAlchemy
is:
# Autogenerated metadata from "requires.py
/usr/lib/python2.4/site-packages/TurboGears-1.0.4.4-py2.4.egg-info SQLAlchemy"
Provides: pythonegg(TurboGears) = 1.0.4.4
Requires: pythonegg(CherryPy) >= 2.3.0
Requires: pythonegg(CherryPy) < 3.0.0alpha
Requires: pythonegg(DecoratorTools) >= 1.4
Requires: pythonegg(FormEncode) >= 0.7.1
Requires: pythonegg(PasteScript) >= 1.6.2
Requires: pythonegg(RuleDispatch) >= 0.5a0.dev-r2303
Requires: pythonegg(setuptools) >= 0.6c2
Requires: pythonegg(simplejson) >= 1.3
Requires: pythonegg(TurboCheetah) >= 1.0
Requires: pythonegg(TurboJson) >= 1.1.2
Requires: pythonegg(TurboKid) >= 1.0.4
Requires: pythonegg(SQLAlchemy) >= 0.3.10
Is the dash in the RuleDispatch version likely to cause problems?
Toshio, We're trying to have a bit of a clean up of the EPEL bug list. Versioning the Requires for cherrypy ruledispatch and sqlalchemy looks like a fairly sane modification to make to the spec (for EL-5 at least). Since you seem to be doing most of the work on TurboGears these days I've switched the owner to you. However, I'm willing to do the work on this one and lend a hand in future so have applied for the appropriate ACLs on the EL branches. Go for it. Note three things: 1) CherryPy has a maximal version as well. 2) We don't need manual versioned requirements if the requirements have been met all along in the repository. Fedora general guidance says not to put the versions in if the version has always been met in the repository. This is harder to figure out with EPEL, though, since we don't keep the first version of the rpms that we built there... so it's okay to be a bit overzealous. 3) If the changes won't harm the Fedora package, please put them in the devel branch for Fedora as well. Thanks! TurboGears-1.0.9-3.el5 has been submitted as an update for Fedora EPEL 5. https://admin.fedoraproject.org/updates/TurboGears-1.0.9-3.el5 TurboGears-1.0.9-3.el5 has been pushed to the Fedora EPEL 5 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update TurboGears'. You can provide feedback for this update here: https://admin.fedoraproject.org/updates/TurboGears-1.0.9-3.el5 TurboGears-1.0.9-3.el5 has been pushed to the Fedora EPEL 5 stable repository. If problems still persist, please make note of it in this bug report. |