missing python*-dev and gcc dependencies

Bug #1626201 reported by Martin Pitt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-virtualenv (Ubuntu)
Fix Released
Undecided
Barry Warsaw
Xenial
Fix Released
Low
Felipe Reyes

Bug Description

[Impact]

autopkgtest execution for Xenial is broken, blocking automated inclusion into xenial-updates of SRUs for packages that python-virtualenv depends on. So human intervention is needed.

[Test Case]

$ pull-lp-source python-virtualenv xenial
$ autopkgtest -U --apt-pocket=proposed python-virtualenv-15.0.1+ds/ -- lxd autopkgtest/ubuntu/xenial/amd64

Expected Result: all tests pass

Actual Result:
smoketest-2 fails because world 4.0 doesn't support python2.7
smoketest-3 fails because gcc is not available

[Regression Potential]

None expected, because this change is already available Debian and Yakkety/Zesty

[Other Info]

http://autopkgtest.ubuntu.com/packages/python-virtualenv/yakkety/amd64 and http://ci.debian.net/packages/p/python-virtualenv/unstable/amd64/ recently started failing. Apparently until recently it downloaded the "chroot":

  Downloading world-3.1.1-py2.py3-none-any.whl
Requirement already satisfied (use --upgrade to upgrade): setuptools in /tmp/autopkgtest.zlm6cw/autopkgtest_tmp/p2a/lib/python2.7/site-packages (from world)
Installing collected packages: world
Successfully installed world-3.1.1
it originates from ITALY

but now:

  Downloading world-4.0.tar.gz
    Complete output from command python setup.py egg_info:
    Python 3.4.0 or better is required

and then it apparently tries to build it, but is missing gcc and python?-dev.

So some external resource changed and broke the test, which uncovers that python?-virtualenv ought to Recommends: gcc, python?-dev.

Then the test should add "Restrictions: needs-recommends"

Revision history for this message
Martin Pitt (pitti) wrote :

This also affecs xenial, the test now fails in the same way (locally, not on the infra as it didn't run there yet since the server change).

Changed in python-virtualenv (Ubuntu):
assignee: nobody → Barry Warsaw (barry)
tags: added: autopkgtest
Revision history for this message
Barry Warsaw (barry) wrote :

This is just a packaging bug. The new world version depends on atpublic which has an optional C component. world is only used in the dep-8 tests so this doesn't affect the virtualenv package itself at all.

I'll do a new release to Debian and sync it to Ubuntu. I'm not sure it's worth SRUing for Xenial.

Revision history for this message
Barry Warsaw (barry) wrote :

I just uploaded 15.0.3+ds-2 to unstable. This pins the version of world to < 4 which I think is a better fix. As soon as that's imported I'll syncpackage it over.

Changed in python-virtualenv (Ubuntu):
status: New → In Progress
Revision history for this message
Barry Warsaw (barry) wrote :

Still have to decide about SRU for Xenial.

Revision history for this message
Martin Pitt (pitti) wrote :

SRUing it by itself is too much effort/noise indeed, but if we ever SRU virtualenv for anything "real" it would make sense to slip this in so that it doesn't regress its tests.

Thanks for the fix!

Changed in python-virtualenv (Ubuntu Xenial):
importance: Undecided → Low
status: New → Triaged
Changed in python-virtualenv (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Barry Warsaw (barry) wrote : Re: [Bug 1626201] Re: missing python*-dev and gcc dependencies

On Sep 21, 2016, at 09:50 PM, Martin Pitt wrote:

>SRUing it by itself is too much effort/noise indeed, but if we ever SRU
>virtualenv for anything "real" it would make sense to slip this in so
>that it doesn't regress its tests.

Yep, totally agreed!

Revision history for this message
Barry Warsaw (barry) wrote :

This bug was fixed in the package python-virtualenv - 15.0.3+ds-2

---------------
python-virtualenv (15.0.3+ds-2) unstable; urgency=medium

  * d/tests/smoketest-{2,3}: Pin the version of world that pip installs to
    less than 4 so that no C is required. (LP: #1626201)

 -- Barry Warsaw <email address hidden> Wed, 21 Sep 2016 14:01:01 -0400

Changed in python-virtualenv (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Only synced to y-proposed, will auto-close again when it lands.

Changed in python-virtualenv (Ubuntu):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-virtualenv - 15.0.3+ds-2

---------------
python-virtualenv (15.0.3+ds-2) unstable; urgency=medium

  * d/tests/smoketest-{2,3}: Pin the version of world that pip installs to
    less than 4 so that no C is required. (LP: #1626201)

 -- Barry Warsaw <email address hidden> Wed, 21 Sep 2016 14:01:01 -0400

Changed in python-virtualenv (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Felipe Reyes (freyes) wrote :

While SRUing a fix for bug 1626258, it was brought my attention to this bug as the blocker to automatically get my fix into xenial-updates, so here I'm attaching the same fix that landed in Yakkety

Changed in python-virtualenv (Ubuntu Xenial):
assignee: nobody → Felipe Reyes (freyes)
Felipe Reyes (freyes)
description: updated
tags: added: sru
Revision history for this message
Brian Murray (brian-murray) wrote :

I've uploaded this to the Xenial queue, thanks!

Revision history for this message
Chris J Arges (arges) wrote : Please test proposed package

Hello Martin, or anyone else affected,

Accepted python-virtualenv into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/python-virtualenv/15.0.1+ds-3ubuntu1 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-needed to verification-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in python-virtualenv (Ubuntu Xenial):
status: Triaged → Fix Committed
tags: added: verification-needed
Revision history for this message
Felipe Reyes (freyes) wrote :

The version of python-virtualenv available in xenial-proposed runs autopkgtest without issues.

$ autopkgtest -U --apt-pocket=proposed python-virtualenv -- lxd autopkgtest/ubuntu/xenial/amd64
autopkgtest [17:50:05]: version 4.1
...
Setting up python3-virtualenv (15.0.1+ds-3ubuntu1) ...
...
autopkgtest [17:52:59]: @@@@@@@@@@@@@@@@@@@@ summary
smoketest-2 PASS
smoketest-3 PASS
setup-2 PASS
setup-3 PASS

Full log: http://pastebin.ubuntu.com/23559776/

tags: added: verification-done
removed: verification-needed
Revision history for this message
Martin Pitt (pitti) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for python-virtualenv has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package python-virtualenv - 15.0.1+ds-3ubuntu1

---------------
python-virtualenv (15.0.1+ds-3ubuntu1) xenial; urgency=medium

  * d/tests/smoketest-{2,3}: Pin the version of world that pip installs to
    less than 4 so that no C is required. (LP: #1626201)

 -- Felipe Reyes <email address hidden> Wed, 23 Nov 2016 13:45:40 -0800

Changed in python-virtualenv (Ubuntu Xenial):
status: Fix Committed → Fix Released
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.