error running setup.py

Bug #1357013 reported by Corey Goldberg
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
uci-tests
New
Undecided
Unassigned

Bug Description

I am installing ucitests 0.1.4 from PyPI inside a python3 virtualenv.

inside my virtualenv, I try pip installing from PyPI:

(VENV) $ pip3 install ucitests

output is:

--------------------------------
Running setup.py install for ucitests
    changing mode of build/scripts-3.4/uci-run-tests from 664 to 775
      File "/home/cgoldberg/code/subunit-results/subunit-results/VENV/lib/python3.4/site-packages/ucitests/tests/test_features.py", line 86
        def make_file(path, content, chmod_bits=0644):
                                                   ^
    SyntaxError: invalid token
--------------------------------

Revision history for this message
Corey Goldberg (coreygoldberg) wrote :

the issue seems to be with running under Python3, which represents octals differently.

python2:
chmod_bits=0644

python3:
chmod_bits=0o644

Revision history for this message
Corey Goldberg (coreygoldberg) wrote :

I just realized ucitests is not Python3 compatible, and needs to be ported.

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.