Modify

Opened 19 months ago

Last modified 7 months ago

#10708 assigned defect

DistributionNotFound: Python>=2.4

Reported by: anonymous Owned by: walnut
Priority: normal Component: ChildTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release:

Description (last modified by rjollos)

Hi,

i cannot run the TracChildTickets 2.5.2 plugin. In the Trac logs i can see:

Skipping "Tracchildtickets 2.5.2": ("DistributionNotFound: Python>=2.4" not found)

what could this be?

Attachments (0)

Change History (7)

comment:1 in reply to: ↑ description Changed 19 months ago by anonymous

Replying to anonymous:

i am using Trac 0.12.4, Python 2.5.4 and build the plugin from the 0.12 branch (Tracchildtickets-2.5.2-py2.5)

comment:2 Changed 19 months ago by walnut

  • Status changed from new to assigned

Hi

What version of setuptools do you have installed?

Take a look at #7017 and #9589.

Regards
Mark

comment:3 Changed 19 months ago by rjollos

Putting an install_requires for Python causes problems, as noted in other tickets. Just delete the line from setup.py and it should install fine.

comment:4 Changed 16 months ago by rjollos

  • Description modified (diff)

comment:5 Changed 7 months ago by anonymous

Installed c:\python25\lib\site-packages\tracchildtickets-2.5.2-py2.5.egg
Processing dependencies for tracchildtickets==2.5.2
Searching for Python>=2.4
Reading http://pypi.python.org/simple/Python/
Reading http://www.python.org
Reading http://www.python.org/2.3
Reading http://www.python.org/2.4
Reading http://www.python.org/2.4.1
Reading http://www.python.org/2.5
Reading http://www.python.org/download/
Best match: Python 3.3.3
Downloading http://www.python.org/ftp/python/3.3.3/Python-3.3.3.tgz
Processing Python-3.3.3.tgz
Last edited 7 months ago by rjollos (previous) (diff)

comment:6 Changed 7 months ago by anonymous

Best match is not Python 3.3, but Python 2.5

comment:7 Changed 7 months ago by rjollos

That demonstrates the problem with including Python as a dependency in install_requires. Would you really want the installation of a plugin to result in the download and installation of Python?

A different approach is to check whether the Python interpreter that you are executing from meets a requirement, and if not then issue an error. [13472] is an example of that approach.

Add Comment

Modify Ticket

Action
as assigned .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.