|
Bugzilla – Full Text Bug Listing |
| Summary: | bake requesting python-2.7 or newer | ||
|---|---|---|---|
| Product: | bake | Reporter: | Tom Henderson <tomh> |
| Component: | bake | Assignee: | Daniel Camara <daniel.camara> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | ns-bugs |
| Priority: | P5 | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
I have tests and I am more or less sure it works for older versions, I tested on 2.6.6, but I don't have tests for it. I am sure that for older than 2.5, for example, it does not work correctly so we need to set a target. I removed the version on the message, but that can be dangerous also. Fixed on changeset 214. Updated the code that was triggering deprecation warnings. changed the threshold for Python to 2.6.0 instead of 2.7.0. Tested on 2.6.5 (Hajime reported testing on 2.6.5 in the past) changeset 43a329a134b7 |
running bake on an Ubuntu 10.04 system (python-2.6.5) will yield this error message: ./bake.py download -v /home/buildslave/scratch/ns-allinone-3.17.rc1/bake/bake/ModuleSource.py:16: DeprecationWarning: the sets module is deprecated from sets import Set >>> Old Python version detected, please install a newer one (above 2.7.0) However, bake still seems to work despite this warning/error. It seems like recommending to install a newer Python is risky. I'd recommend trying to get bake to work on python-2.6 before reporting that bake does not work and asking user to install a newer python.