Bug 221116 - rpmlint.0.78 requires python>=2.4
Summary: rpmlint.0.78 requires python>=2.4
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: rpmlint
Version: rawhide
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Ville Skyttä
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-01-02 01:30 UTC by manuel wolfshant
Modified: 2007-11-30 22:11 UTC (History)
0 users

Fixed In Version: 0.79-1
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-02-02 16:07:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description manuel wolfshant 2007-01-02 01:30:45 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:
Always

Steps to Reproduce:
1. Install rpmlint=0.78 on a system with python 2.3
2. Run it

  
Actual results:

Traceback (most recent call last):
  File "/usr/share/rpmlint/rpmlint.py", line 270, in ?
    main()
  File "/usr/share/rpmlint/rpmlint.py", line 52, in main
    loadCheck(c)
  File "/usr/share/rpmlint/rpmlint.py", line 38, in loadCheck
    imp.load_module(name, f, pathname, description)
  File "/usr/share/rpmlint/MenuXDGCheck.py", line 13, in ?
    import subprocess
ImportError: No module named subprocess


Expected results:
I would expect rpmlint-0.78*.noarch.rpm to refuse to be installed on systems
which do not have python-2.4. For now rpm -q --requires rpmlint|grep python gives:
/usr/bin/python
python >= 2.0
rpm-python


Additional info:
Seen on centos 4.4 (which uses python-2.3.4)

Comment 1 Ville Skyttä 2007-01-02 02:04:11 UTC
The intention is to keep rpmlint working on reasonably recent versions of
Python, such as that of CentOS 4.  Fixed upstream, will be in the next release:
http://rpmlint.zarb.org/cgi-bin/trac.cgi/changeset/1303

Comment 2 manuel wolfshant 2007-01-03 01:35:46 UTC
Thanks, seems to work OK.
Closing.

Comment 3 Ville Skyttä 2007-01-03 16:25:06 UTC
Thanks for verifying the fix, but I'll reopen this until a fixed version is
shipped in Fedora - it may help others wrestling with the same issue.

Comment 4 Ville Skyttä 2007-02-02 16:07:43 UTC
Done in upcoming 0.79-1.


Note You need to log in before you can comment on or make changes to this bug.