Package dependencies are not declared

Bug #1166006 reported by Alexander Herrmann
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
python-crontab
Fix Released
High
Martin Owens

Bug Description

If I install the package in its current version (1.4) there are errors because of undeclared package dependencies (python-dateutil I assume) within setup.py:

Downloading/unpacking python-crontab>=0.9.6
  Downloading python-crontab-1.4.tar.gz
  Running setup.py egg_info for package python-crontab
    Traceback (most recent call last):
      File "<string>", line 14, in <module>
      File "/var/lib/jenkins/workspace/anna/PYTHON/Python2.7/env/build/python-crontab/setup.py", line 21, in <module>
        from crontab import __version__, __pkgname__
      File "crontab.py", line 74, in <module>
        from cronlog import CronLog
      File "cronlog.py", line 23, in <module>
        from dateutil import parser as dateparse
    ImportError: No module named dateutil
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):

  File "<string>", line 14, in <module>

  File "/var/lib/jenkins/workspace/anna/PYTHON/Python2.7/env/build/python-crontab/setup.py", line 21, in <module>

    from crontab import __version__, __pkgname__

  File "crontab.py", line 74, in <module>

    from cronlog import CronLog

  File "cronlog.py", line 23, in <module>

    from dateutil import parser as dateparse

ImportError: No module named dateutil

Revision history for this message
Tommaso Barbugli (tbarbugli) wrote :

+1
python-crontab now depends on python-datutil

Changed in python-crontab:
assignee: nobody → Martin Owens (doctormo)
Revision history for this message
Lars Kreisz (kraiz) wrote :

+1
please update dependency

Revision history for this message
Martin Owens (doctormo) wrote :

Thanks for the report, should be fixed with this update to the setup script: https://pypi.python.org/pypi/python-crontab/1.4.1

Changed in python-crontab:
importance: Undecided → High
status: New → Fix Committed
status: Fix Committed → Fix Released
Revision history for this message
Alexander Herrmann (darignac) wrote :

Well, sorry, but it does not work.
The requirement is not "dateutil" but "python-dateutil" (https://pypi.python.org/pypi/python-dateutil/2.1)

Changed in python-crontab:
status: Fix Released → New
Revision history for this message
Martin Owens (doctormo) wrote :

You don't sound sorry at all. But I've fixed the error and re-issued the release file.

Changed in python-crontab:
status: New → Fix Released
Martin Owens (doctormo)
Changed in python-crontab:
milestone: none → 1.4
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.