Summary: | dev-python/virtualenvwrapper - add python_targets_python3_5 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | OzTiram <oz.tiram> |
Component: | Current packages | Assignee: | Python Gentoo Team <python> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kensington |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
OzTiram
2016-01-25 07:51:31 UTC
What's the output of emerge -pv dev-python/pip? Hi, Thanks for looking at that, here is the output and some more... ~ # emerge -pv dev-python/pip These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-python/pip-7.1.2::gentoo PYTHON_TARGETS="python2_7 python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)" 0 KiB Total: 1 package (1 reinstall), Size of downloads: 0 KiB ~ # cat /etc/portage/make.conf # These settings were set by the catalyst build script that automatically # built this stage. # Please consult /usr/share/portage/config/make.conf.example for a more # detailed example. CFLAGS="-O2 -pipe -march=native" CXXFLAGS="${CFLAGS}" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="x86_64-pc-linux-gnu" # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE="mmx sse sse2 bluetooth pulseaudio amd64 qt4 icu -systemd" #abi_x86_32" # this fixed upgrading gcc #USE="bindist mmx sse sse2 bluetooth pulseaudio amd64 -gcj -fortran" PORTDIR="/usr/portage" DISTDIR="${PORTDIR}/distfiles" PKGDIR="${PORTDIR}/packages" MAKEOPTS="-j4" GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/" #INPUT_DEVICES="evdev synaptics" INPUT_DEVICES="mouse keyboard evdev synaptics" PYTHON_TARGETS="python2_7 python3_4 python3_5" PORTDIR_OVERLAY=/usr/local/portage source /var/lib/layman/make.conf RUBY_TARGETS="ruby22" ~ # equery u dev-python/pip [ Legend : U - final flag setting for installation] [ : I - package is installed with flag ] [ Colors : set, unset ] * Found these USE flags for dev-python/pip-7.1.2: U I + + python_targets_python2_7 : Build with Python 2.7 - - python_targets_python3_3 : Build with Python 3.3 + + python_targets_python3_4 : Build with Python 3.4 (In reply to OzTiram from comment #2) > [ebuild R ] dev-python/pip-7.1.2::gentoo PYTHON_TARGETS="python2_7 > python3_4 (-pypy) (-pypy3) -python3_3 (-python3_5)" 0 KiB Try unmasking python_targets_python3_5 and rebuilding dev-python/pip. It worked! * Found these USE flags for dev-python/pip-7.1.2: U I + + python_targets_python2_7 : Build with Python 2.7 - - python_targets_python3_3 : Build with Python 3.3 + + python_targets_python3_4 : Build with Python 3.4 + + python_targets_python3_5 : Build with Python 3.5 Thank you so much for attending to this problem. (In reply to OzTiram from comment #4) > It worked! No, unfortunately, I was to quick to respond. It almost works. pip3 is installing python3.5, if I set python3.5 as python3: yeni2 bin # eselect python set --python3 2 yeni2 bin # eselect python list --python3 Available Python 3 interpreters: [1] python3.4 [2] python3.5 * yeni2 bin # pip3 install -U virtualenvwrapper Collecting virtualenvwrapper Using cached virtualenvwrapper-4.7.1-py2.py3-none-any.whl Collecting virtualenv (from virtualenvwrapper) Using cached virtualenv-14.0.3-py2.py3-none-any.whl Collecting stevedore (from virtualenvwrapper) Using cached stevedore-1.10.0-py2.py3-none-any.whl Collecting virtualenv-clone (from virtualenvwrapper) Using cached virtualenv-clone-0.2.6.tar.gz Requirement already up-to-date: six>=1.9.0 in /usr/lib64/python3.5/site-packages (from stevedore->virtualenvwrapper) Requirement already up-to-date: pbr>=1.6 in /usr/lib64/python3.5/site-packages (from stevedore->virtualenvwrapper) Collecting argparse (from stevedore->virtualenvwrapper) Using cached argparse-1.4.0-py2.py3-none-any.whl Installing collected packages: virtualenv, argparse, stevedore, virtualenv-clone, virtualenvwrapper Running setup.py install for virtualenv-clone Successfully installed argparse-1.4.0 stevedore-1.10.0 virtualenv-14.0.3 virtualenv-clone-0.2.6 virtualenvwrapper-4.7.1 Which is fine, but installing via portage is still not working as expected: yeni2 bin # emerge -a dev-python/virtualenvwrapper These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild N ] dev-python/virtualenv-13.1.2 USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 python3_5 (-pypy) (-pypy3) -python3_3" [ebuild N ] dev-python/stevedore-1.6.0-r1 USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_3" [ebuild N ] dev-python/virtualenv-clone-0.2.4-r2 PYTHON_TARGETS="python2_7 python3_4 -python3_3" [ebuild N ~] dev-python/virtualenvwrapper-4.6.0 USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 -python3_3" Would you like to merge these packages? [Yes/No] no Quitting. yeni2 bin # PYTHON_TARGETS="python3_5" emerge -a dev-python/virtualenvwrapper These are the packages that would be merged, in order: Calculating dependencies - !!! Problem resolving dependencies for dev-python/virtualenvwrapper ... done! !!! The ebuild selected to satisfy "dev-python/virtualenvwrapper" has unmet requirements. - dev-python/virtualenvwrapper-4.6.0::gentoo USE="-test" ABI_X86="64" PYTHON_TARGETS="-python2_7 -python3_3 -python3_4" The following REQUIRED_USE flag constraints are unsatisfied: any-of ( python_targets_python2_7 python_targets_python3_3 python_targets_python3_4 ) It seems though that the problem is with the individual ebuild, not with pip3. (In reply to OzTiram from comment #5) > yeni2 bin # PYTHON_TARGETS="python3_5" emerge -a dev-python/virtualenvwrapper > > These are the packages that would be merged, in order: > > Calculating dependencies - > > !!! Problem resolving dependencies for dev-python/virtualenvwrapper > ... done! > > !!! The ebuild selected to satisfy "dev-python/virtualenvwrapper" has unmet > requirements. > - dev-python/virtualenvwrapper-4.6.0::gentoo USE="-test" ABI_X86="64" > PYTHON_TARGETS="-python2_7 -python3_3 -python3_4" > > The following REQUIRED_USE flag constraints are unsatisfied: > any-of ( python_targets_python2_7 python_targets_python3_3 > python_targets_python3_4 ) > > > > It seems though that the problem is with the individual ebuild, not with > pip3. In this case dev-python/virtualenvwrapper simply doesn't have python_targets_python3_5 specified as an option in the ebuild - python3_5 support across the tree is still a work in progress. Shall we convert this bug to be about adding python3_5 support to virtualenvwrapper? > Shall we convert this bug to be about adding python3_5 support to virtualenvwrapper?
Yes, that would be the correct thing to do.
commit 28fd70122bab3d108a1349b6fa9db9f4dda91f11 Author: Ilya Tumaykin <itumaykin@gmail.com> Date: Fri Jan 6 22:27:15 2017 +0300 dev-python/virtualenvwrapper: add python3_5 support Build succeeds, no testsuite, basic virtualenv operations work. Gentoo-Bug: 572834 |