Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task list broken on python3.3 #9

Closed
mriehl opened this issue Jul 21, 2013 · 0 comments
Closed

Task list broken on python3.3 #9

mriehl opened this issue Jul 21, 2013 · 0 comments

Comments

@mriehl
Copy link
Member

mriehl commented Jul 21, 2013

Due to python3's more consistent ordering checks, tasks are not sortable anymore (and the task listing command tries to sort them).

mriehl@ixion:~$ virtualenv v3 -p `which python3.3`
Running virtualenv with interpreter /usr/bin/python3.3
Using base prefix '/usr'
New python executable in v3/bin/python3.3
Also creating executable in v3/bin/python
Installing distribute.................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................done.
Installing pip................done.
mriehl@ixion:~$ . v3/bin/activate
(v3)mriehl@ixion:~$ pip install pybuilder
Downloading/unpacking pybuilder
  Downloading pybuilder-0.9.8.tar.gz
  Running setup.py egg_info for package pybuilder

Installing collected packages: pybuilder
  Running setup.py install for pybuilder
    changing mode of build/scripts-3.3/pyb from 664 to 775

    changing mode of /home/mriehl/v3/bin/pyb to 775
Successfully installed pybuilder
Cleaning up...
(v3)mriehl@ixion:~$ pyb -t
Tasks found for project "mriehl":
Traceback (most recent call last):
  File "/home/mriehl/v3/bin/pyb", line 23, in <module>
    sys.exit(pybuilder.cli.main(*sys.argv[1:]))
  File "/home/mriehl/v3/lib/python3.3/site-packages/pybuilder/cli.py", line 275, in main
    print_list_of_tasks(reactor)
  File "/home/mriehl/v3/lib/python3.3/site-packages/pybuilder/cli.py", line 247, in print_list_of_tasks
    for task in sorted(tasks):
TypeError: unorderable types: Task() < Task()
@mriehl mriehl closed this as completed in 6bab64e Jul 21, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant