Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1454962 - update virtualenv to v15.1.0 for python 3.6 support
Summary: update virtualenv to v15.1.0 for python 3.6 support
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: python-virtualenv
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Steve Milner
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-05-23 22:42 UTC by sedrubal
Modified: 2017-06-15 03:02 UTC (History)
6 users (show)

Fixed In Version: python-virtualenv-15.1.0-1.fc26
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-15 03:02:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description sedrubal 2017-05-23 22:42:55 UTC
Description of problem:

Fedora 26 uses python3.6 as default python3 interpreter but pypa virtualenv added python 3.6 support with version v15.1.0 [1]. Currently fedora 26 contains the package python3-virtualenv with version 15.0.3 which does not support python 3.6.

[1] https://github.com/pypa/virtualenv/releases/tag/15.1.0

Steps to Reproduce:

virtualenv<15.1.0 does not include enum by default. There is a crash doing following:

1. virtualenv-3.6 .venv
Using base prefix '/usr'
New python executable in /home/se/documents/.venv/bin/python3
Also creating executable in /home/se/documents/.venv/bin/python
Installing setuptools, pip, wheel...done.
2. source .venv/bin/activate
3. python -Wall
'import warnings' failed; traceback:
Traceback (most recent call last):
  File "/home/se/documents/.venv/lib64/python3.6/warnings.py", line 505, in <module>
    _processoptions(sys.warnoptions)
  File "/home/se/documents/.venv/lib64/python3.6/warnings.py", line 186, in _processoptions
    _setoption(arg)
  File "/home/se/documents/.venv/lib64/python3.6/warnings.py", line 192, in _setoption
    import re
  File "/home/se/documents/.venv/lib64/python3.6/re.py", line 122, in <module>
    import enum
ModuleNotFoundError: No module named 'enum'
Python 3.6.1 (default, May  9 2017, 15:52:14)
[GCC 7.1.1 20170503 (Red Hat 7.1.1-1)] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>>

Actual results:
There is a traceback.

Expected results:
There shouldn't be a traceback

Additional info:
- https://github.com/pypa/virtualenv/issues/962
- http://bugs.python.org/issue28082

Comment 1 sedrubal 2017-06-11 07:05:57 UTC
Ping ;) IMHO this is almost a blocker for Fedora 26 Release...

Comment 2 Fedora Update System 2017-06-12 15:14:56 UTC
python-virtualenv-15.1.0-1.fc26 has been submitted as an update to Fedora 26. https://bodhi.fedoraproject.org/updates/FEDORA-2017-210c881d0f

Comment 3 Fedora Update System 2017-06-14 01:35:29 UTC
python-virtualenv-15.1.0-1.fc26 has been pushed to the Fedora 26 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2017-210c881d0f

Comment 4 Fedora Update System 2017-06-15 03:02:17 UTC
python-virtualenv-15.1.0-1.fc26 has been pushed to the Fedora 26 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.