Modify ↓
Opened 12 years ago
Closed 9 years ago
#10708 closed defect (fixed)
DistributionNotFound: Python>=2.4
Reported by: | anonymous | Owned by: | Mark Ryan |
---|---|---|---|
Priority: | normal | Component: | ChildTicketsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description (last modified by )
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 (8)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
Status: | new → assigned |
---|
comment:3 Changed 12 years ago by
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 12 years ago by
Description: | modified (diff) |
---|
comment:5 Changed 11 years ago by
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
comment:7 Changed 11 years ago by
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.
Note: See
TracTickets for help on using
tickets.
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
)