Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 807133

Summary: dev-python/netifaces won't build for python3.7
Product: Gentoo Linux Reporter: Johannes Willem (Hans) Fernhout <hfern>
Component: Current packagesAssignee: Python Gentoo Team <python>
Status: RESOLVED CANTFIX    
Severity: normal CC: kfm, sam
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: emerge --info

Description Johannes Willem (Hans) Fernhout 2021-08-08 09:49:50 UTC
Created attachment 731287 [details]
emerge --info

For the development of an iwd client, I woud like to test it against older versions of Python. 

And even though netifaces-0.11.0.ebuild states PYTHON_COMPAT=( pypy3 python3_{7..10} ) it refused to build for python3.7:
# PYTHON_TARGETS="python3_7" emerge netifaces
Calculating dependencies -

!!! Problem resolving dependencies for dev-python/netifaces
... done!

!!! The ebuild selected to satisfy "netifaces" has unmet requirements.
- dev-python/netifaces-0.11.0::gentoo USE="" ABI_X86="(64)" PYTHON_TARGETS="(-pypy3) (-python3_10) -python3_8 -python3_9"

  The following REQUIRED_USE flag constraints are unsatisfied:
    any-of ( python_targets_pypy3 python_targets_python3_8 python_targets_python3_9 python_targets_python3_10 )

Python3.7 is installed on this system:
# which python3.7
/usr/bin/python3.7

For testing purposes I like having mutiple Python versions, and therefore have this in /etc/portage/package.use/python:
# cat /etc/portage/package.use/python3.8
*/* PYTHON_TARGETS: python2_7 python3_7 python3_8 python3_9 python3_10
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-08-11 02:22:20 UTC
Support from the eclasses is gone, I think you'll need to use a virtualenv.