[Bug 1017043] [NEW] dh_auto_clean tries to use python instead of python3 when --with python3 specified
Umang Varma
umang.me at gmail.com
Sun Jun 24 04:05:02 UTC 2012
Public bug reported:
I'm running debhelper 9.20120115ubuntu3
Here's an snippet from debuild output:
fakeroot debian/rules clean
dh clean --with python3
dh_testdir
dh_auto_clean
File "setup.py", line 3
SyntaxError: Non-ASCII character '\xc2' in file setup.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Now, in Python3, UTF-8 is the default encoding. So it looks to me that
it uses python2 instead of python3.
** Affects: debhelper (Ubuntu)
Importance: Undecided
Status: New
** Description changed:
- I'm running debhelper (VERSION)
+ I'm running debhelper 9.20120115ubuntu3
Here's an snippet from debuild output:
- fakeroot debian/rules clean
- dh clean --with python3
- dh_testdir
- dh_auto_clean
- File "setup.py", line 3
+ fakeroot debian/rules clean
+ dh clean --with python3
+ dh_testdir
+ dh_auto_clean
+ File "setup.py", line 3
SyntaxError: Non-ASCII character '\xc2' in file setup.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Now, in Python3, UTF-8 is the default encoding. So it looks to me that
it uses python2 instead of python3.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to debhelper in Ubuntu.
https://bugs.launchpad.net/bugs/1017043
Title:
dh_auto_clean tries to use python instead of python3 when --with
python3 specified
Status in “debhelper” package in Ubuntu:
New
Bug description:
I'm running debhelper 9.20120115ubuntu3
Here's an snippet from debuild output:
fakeroot debian/rules clean
dh clean --with python3
dh_testdir
dh_auto_clean
File "setup.py", line 3
SyntaxError: Non-ASCII character '\xc2' in file setup.py on line 3, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
Now, in Python3, UTF-8 is the default encoding. So it looks to me that
it uses python2 instead of python3.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/debhelper/+bug/1017043/+subscriptions
More information about the foundations-bugs
mailing list