Accepting request 680531 from devel:languages:python
- Version bump to 16.1.0: * Fixed documentation to use pypi.org and correct curl options; :issue:`1042` * bug fix: ensure prefix is absolute when creating a new virtual environment :issue:`1208` * upgrade setuptools from ``39.1.0`` to ``40.5.0`` * upgrade wheel from ``0.31.1`` to ``0.32.2`` * upgrade pip from ``10.0.1`` to ``18.1`` * ``activate.csh`` does not use basename and handles newlines :issue:`1200` * fix failure to copy on platforms that use lib64 :issue:`1189` * enable tab-completion in the interactive interpreter by default, thanks to a new ``sys.__interactivehook__`` on Python 3 :issue:`967` * suppress warning of usage of the deprecated ``imp`` module :issue:`1238` * Drop support for Python 2.6. * Upgrade pip to 10.0.1. * Upgrade setuptools to 39.1.0. * Upgrade wheel to 0.31.1. - Removed patch - pypa-virtualenv-1189.patch - Add requires: python-setuptools (bsc#1127328) OBS-URL: https://build.opensuse.org/request/show/680531 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-virtualenv?expand=0&rev=34
This commit is contained in:
commit
b64c3cb6e0
@ -1,26 +0,0 @@
|
|||||||
From 786675a83f494202cb9522d57a98e5ddc0d7405e Mon Sep 17 00:00:00 2001
|
|
||||||
From: Ashley Whetter <asw@dneg.com>
|
|
||||||
Date: Tue, 3 Jul 2018 10:48:19 -0700
|
|
||||||
Subject: [PATCH] Fixed failure to copy on platforms that use lib64
|
|
||||||
|
|
||||||
The current behaviour attempts to copy a "lib" folder from the current directory,
|
|
||||||
instead of copying the "lib" folder inside the virtualenv. Therefore the copying would fail.
|
|
||||||
This fixes that by always copying the "lib" folder from the virtualenv.
|
|
||||||
|
|
||||||
---
|
|
||||||
virtualenv.py | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/virtualenv.py b/virtualenv.py
|
|
||||||
index c008a395..34c2f6a1 100755
|
|
||||||
--- a/virtualenv.py
|
|
||||||
+++ b/virtualenv.py
|
|
||||||
@@ -1559,7 +1559,7 @@ def fix_lib64(lib_dir, symlink=True):
|
|
||||||
if symlink:
|
|
||||||
os.symlink('lib', lib64_link)
|
|
||||||
else:
|
|
||||||
- copyfile('lib', lib64_link)
|
|
||||||
+ copyfile(lib_dir, lib64_link)
|
|
||||||
|
|
||||||
def resolve_interpreter(exe):
|
|
||||||
"""
|
|
@ -1,7 +1,29 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Feb 5 20:45:40 UTC 2019 - Nicolas Bock <nicolas.bock@suse.com>
|
||||||
|
|
||||||
|
- Version bump to 16.1.0:
|
||||||
|
* Fixed documentation to use pypi.org and correct curl options; :issue:`1042`
|
||||||
|
* bug fix: ensure prefix is absolute when creating a new virtual
|
||||||
|
environment :issue:`1208`
|
||||||
|
* upgrade setuptools from ``39.1.0`` to ``40.5.0``
|
||||||
|
* upgrade wheel from ``0.31.1`` to ``0.32.2``
|
||||||
|
* upgrade pip from ``10.0.1`` to ``18.1``
|
||||||
|
* ``activate.csh`` does not use basename and handles newlines :issue:`1200`
|
||||||
|
* fix failure to copy on platforms that use lib64 :issue:`1189`
|
||||||
|
* enable tab-completion in the interactive interpreter by default,
|
||||||
|
thanks to a new ``sys.__interactivehook__`` on Python 3 :issue:`967`
|
||||||
|
* suppress warning of usage of the deprecated ``imp`` module :issue:`1238`
|
||||||
|
* Drop support for Python 2.6.
|
||||||
|
* Upgrade pip to 10.0.1.
|
||||||
|
* Upgrade setuptools to 39.1.0.
|
||||||
|
* Upgrade wheel to 0.31.1.
|
||||||
|
- Removed patch
|
||||||
|
- pypa-virtualenv-1189.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Sat Aug 4 14:42:16 UTC 2018 - matwey.kornilov@gmail.com
|
Sat Aug 4 14:42:16 UTC 2018 - matwey.kornilov@gmail.com
|
||||||
|
|
||||||
- Add requires: python-setuptools
|
- Add requires: python-setuptools (bsc#1127328)
|
||||||
|
|
||||||
> virtualenv-3.6 --help
|
> virtualenv-3.6 --help
|
||||||
Traceback (most recent call last):
|
Traceback (most recent call last):
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package python-virtualenv
|
# spec file for package python-virtualenv
|
||||||
#
|
#
|
||||||
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
|
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -12,20 +12,19 @@
|
|||||||
# license that conforms to the Open Source Definition (Version 1.9)
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
# published by the Open Source Initiative.
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
|
||||||
Name: python-virtualenv
|
Name: python-virtualenv
|
||||||
Version: 15.1.0
|
Version: 16.1.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Virtual Python Environment builder
|
Summary: Virtual Python Environment builder
|
||||||
License: MIT
|
License: MIT
|
||||||
Group: Development/Languages/Python
|
Group: Development/Languages/Python
|
||||||
URL: http://www.virtualenv.org/
|
URL: http://www.virtualenv.org/
|
||||||
Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz
|
||||||
Patch01: pypa-virtualenv-1189.patch
|
|
||||||
BuildRequires: %{python_module mock}
|
BuildRequires: %{python_module mock}
|
||||||
BuildRequires: %{python_module pytest}
|
BuildRequires: %{python_module pytest}
|
||||||
BuildRequires: %{python_module setuptools}
|
BuildRequires: %{python_module setuptools}
|
||||||
@ -61,7 +60,6 @@ libraries either).
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n virtualenv-%{version}
|
%setup -q -n virtualenv-%{version}
|
||||||
%patch01 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%python_build
|
%python_build
|
||||||
@ -71,6 +69,7 @@ libraries either).
|
|||||||
%python_clone -a %{buildroot}%{_bindir}/virtualenv
|
%python_clone -a %{buildroot}%{_bindir}/virtualenv
|
||||||
|
|
||||||
%check
|
%check
|
||||||
|
export PYTHONPATH=src
|
||||||
# test broken upstream https://github.com/pypa/virtualenv/issues/530
|
# test broken upstream https://github.com/pypa/virtualenv/issues/530
|
||||||
%python_expand py.test-%{$python_bin_suffix} -k 'not test_always_copy_option' -vv
|
%python_expand py.test-%{$python_bin_suffix} -k 'not test_always_copy_option' -vv
|
||||||
|
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:02f8102c2436bb03b3ee6dede1919d1dac8a427541652e5ec95171ec8adbc93a
|
|
||||||
size 1863951
|
|
3
virtualenv-16.1.0.tar.gz
Normal file
3
virtualenv-16.1.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:f899fafcd92e1150f40c8215328be38ff24b519cd95357fa6e78e006c7638208
|
||||||
|
size 1977229
|
Loading…
Reference in New Issue
Block a user