python34 tests don't run without python3-dev

Bug #1563533 reported by Scott DAngelo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
Fix Released
Undecided
Scott DAngelo

Bug Description

python34 test won't run without python3-dev

When attempting to run:
tox -epy34
I get the following:
   ext/_yaml.c:8:22: fatal error: pyconfig.h: No such file or directory
     #include "pyconfig.h"
                          ^
    compilation terminated.
    error: command 'x86_64-linux-gnu-gcc' failed with exit status 1

    ----------------------------------------
Command "/opt/stack/cinder/.tox/py34/bin/python3.4 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-7u8rbxp9/PyYAML/setup.py';exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))" install --record /tmp/pip-pej40hrg-record/install-record.txt --single-version-externally-managed --compile --install-headers /opt/stack/cinder/.tox/py34/include/site/python3.4/PyYAML" failed with error code 1 in /tmp/pip-build-7u8rbxp9/PyYAML/

ERROR: could not install deps [-r/opt/stack/cinder/test-requirements.txt, oslo.versionedobjects[fixtures]]; v = InvocationError('/opt/stack/cinder/.tox/py34/bin/pip install -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt -r/opt/stack/cinder/test-requirements.txt oslo.versionedobjects[fixtures] (see /opt/stack/cinder/.tox/py34/log/py34-1.log)', 1)
________________________________________________________________________ summary _________________________________________________________________________
ERROR: py34: could not install deps [-r/opt/stack/cinder/test-requirements.txt, oslo.versionedobjects[fixtures]]; v = InvocationError('/opt/stack/cinder/.tox/py34/bin/pip install -chttps://git.openstack.org/cgit/openstack/requirements/plain/upper-constraints.txt -r/opt/stack/cinder/test-requirements.txt oslo.versionedobjects[fixtures] (see /opt/stack/cinder/.tox/py34/log/py34-1.log)', 1)

This is fixed by installing python34

Changed in cinder:
assignee: nobody → Scott DAngelo (scott-dangelo)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to cinder (master)

Fix proposed to branch: master
Review: https://review.openstack.org/298969

Changed in cinder:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to cinder (master)

Reviewed: https://review.openstack.org/298969
Committed: https://git.openstack.org/cgit/openstack/cinder/commit/?id=41506ab231f288ee511befd44c2a98123483c2af
Submitter: Jenkins
Branch: master

commit 41506ab231f288ee511befd44c2a98123483c2af
Author: scottda <email address hidden>
Date: Tue Mar 29 14:30:49 2016 -0600

    python34 tests don't run without python3-dev

    We cannot run py34 unit tests without python3-dev, but we
    also cannot add this to test-requirements.txt. The best we
    can do is add the issue to the devref/unit_tests.rst to help
    people find and fix the issue.

    Change-Id: I5ff3fef979ca35f2fc4c1c512382f338f586ce51
    Closes-Bug: #1563533

Changed in cinder:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/cinder 9.0.0.0b1

This issue was fixed in the openstack/cinder 9.0.0.0b1 development milestone.

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.