2011-03-31 16:51:18 |
Michael Terry |
bug |
|
|
added bug |
2011-03-31 16:52:19 |
Launchpad Janitor |
branch linked |
|
lp:~mterry/python-distutils-extra/746565 |
|
2011-03-31 20:03:23 |
Martin Pitt |
python-distutils-extra: status |
New |
Fix Released |
|
2011-03-31 20:03:36 |
Launchpad Janitor |
branch linked |
|
lp:python-distutils-extra |
|
2011-05-18 20:22:47 |
Michael Terry |
bug task added |
|
python-distutils-extra (Ubuntu) |
|
2011-05-20 18:47:12 |
Michael Terry |
description |
Submodules of a program may use relative imports. These should not be treated as dependency-generating imports that cause either printed errors if they're not defined or bogus dependencies.
So when scanning, we should ignore explicitly defined relative 'from' imports (they look like "from . sibling import foo" or "from .. uncle import bar").
Branch coming. |
===== SRU Justification =====
This causes a bad bug in Quickly (bug 775217). Basically, "quickly package" shows errors and suggests to the user that continuing is not safe. It is a bad user experience and a regression from past releases.
I wrote this patch here during natty's development to fix it, but it didn't make it in.
The attached debdiff will backport the upstream commit to natty's version of python-distutils-extra. I've uploaded it to natty-proposed as well.
To reproduce:
1) cd /tmp
2) quickly create ubuntu-application test-project
3) cd test-project
4) quickly package
What you see:
"""
----------------------------------
Command returned some ERRORS:
----------------------------------
ERROR: Python module test_projectconfig not found
ERROR: Python module Builder not found
ERROR: Python module helpers not found
ERROR: Python module preferences not found
ERROR: Python module Window not found
----------------------------------
Do you want to continue (this is not safe!)? y/[n]:
"""
What you should see:
"""Ubuntu package has been successfully created in ../test-project_0.1_all.deb"""
=============================
Submodules of a program may use relative imports. These should not be treated as dependency-generating imports that cause either printed errors if they're not defined or bogus dependencies.
So when scanning, we should ignore explicitly defined relative 'from' imports (they look like "from . sibling import foo" or "from .. uncle import bar").
Branch coming. |
|
2011-05-20 18:48:20 |
Michael Terry |
nominated for series |
|
Ubuntu Natty |
|
2011-05-20 18:48:20 |
Michael Terry |
bug task added |
|
python-distutils-extra (Ubuntu Natty) |
|
2011-05-20 18:52:42 |
Michael Terry |
bug |
|
|
added subscriber Ubuntu Stable Release Updates Team |
2011-05-20 18:52:58 |
Michael Terry |
attachment added |
|
p-d-e.debdiff https://bugs.launchpad.net/ubuntu/+source/python-distutils-extra/+bug/746565/+attachment/2136659/+files/p-d-e.debdiff |
|
2011-05-21 10:22:16 |
Martin Pitt |
python-distutils-extra (Ubuntu Natty): status |
New |
Fix Committed |
|
2011-05-21 10:22:19 |
Martin Pitt |
bug |
|
|
added subscriber SRU Verification |
2011-05-21 10:22:20 |
Martin Pitt |
tags |
|
verification-needed |
|
2011-05-21 11:14:13 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/natty-proposed/python-distutils-extra |
|
2011-05-21 11:20:14 |
Martin Pitt |
python-distutils-extra (Ubuntu): status |
New |
Fix Committed |
|
2011-05-21 21:30:43 |
Launchpad Janitor |
branch linked |
|
lp:debian/python-distutils-extra |
|
2011-05-22 14:02:43 |
Launchpad Janitor |
python-distutils-extra (Ubuntu): status |
Fix Committed |
Fix Released |
|
2011-06-08 15:44:25 |
Michael Terry |
bug |
|
|
added subscriber Tony Byrne |
2011-06-11 09:30:42 |
marmuta |
bug |
|
|
added subscriber marmuta |
2011-06-11 19:48:08 |
Francesco Fumanti |
bug |
|
|
added subscriber Francesco Fumanti |
2011-06-14 19:11:08 |
Martin Pitt |
tags |
verification-needed |
verification-failed |
|
2011-06-16 11:38:57 |
Martin Pitt |
python-distutils-extra (Ubuntu Natty): status |
Fix Committed |
Triaged |
|
2011-08-18 18:41:10 |
David Planella |
bug |
|
|
added subscriber David Planella |
2011-08-29 04:13:13 |
Chris Halse Rogers |
python-distutils-extra (Ubuntu Natty): status |
Triaged |
Fix Committed |
|
2011-08-29 04:13:18 |
Chris Halse Rogers |
tags |
verification-failed |
|
|
2011-08-29 04:13:19 |
Chris Halse Rogers |
tags |
|
verification-needed |
|
2011-09-01 09:57:13 |
Jean-Baptiste Lallement |
tags |
verification-needed |
verification-done |
|
2011-09-06 16:51:08 |
Launchpad Janitor |
python-distutils-extra (Ubuntu Natty): status |
Fix Committed |
Fix Released |
|