-
Bug
-
Resolution: Fixed
-
Major
-
None
Creation of the virtualenv fail using python3.4
This is related to this virtualenv bug:
https://github.com/pypa/virtualenv/issues/463
Which is corrected in virtualenv 1.11.1.
Actual shiningpanda pluging seems to use a custom version of virtualenv.py with version 1.9.1 (for python 2.6+).
Here is below the failing build log:
(...)
[workspace] $ hg --config auth.jenkins.prefix=* --config ******** --config ******** --config "auth.jenkins.schemes=http https" log --template "<changeset node='
' author='
{author|xmlescape}' rev='
{rev}' date='
{date}'><msg>
{desc|xmlescape}</msg><added>
{file_adds|stringify|xmlescape}</added><deleted>
{file_dels|stringify|xmlescape}</deleted><files>
{files|stringify|xmlescape}</files><parents>
{parents}</parents></changeset>\n" --rev default:0 --follow --prune d271655d52ae434caa1bc15c4fb121f0237a8f7e --encoding UTF-8 --encodingmode replace
[workspace] $ /usr/bin/python3.4 /var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenv.py --distribute /var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenvs/d41d8cd9
Failed to import the site module
Traceback (most recent call last):
File "/var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenvs/d41d8cd9/lib/python3.4/site.py", line 67, in <module>
import os
File "/var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenvs/d41d8cd9/lib/python3.4/os.py", line 634, in <module>
from _collections_abc import MutableMapping
ImportError: No module named '_collections_abc'
Using base prefix '/usr'
New python executable in /var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenvs/d41d8cd9/bin/python3.4
Also creating executable in /var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenvs/d41d8cd9/bin/python
ERROR: The executable /var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenvs/d41d8cd9/bin/python3.4 is not functioning
ERROR: It thinks sys.prefix is '/var/lib/jenkins/jobs/nafasi/workspace' (should be '/var/lib/jenkins/shiningpanda/jobs/c19c8e60/virtualenvs/d41d8cd9')
ERROR: virtualenv is not compatible with this system or executable
Build step 'Virtualenv Builder' marked build as failure
Enregistrement des résultats des tests
Finished: FAILURE