Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 807133 - dev-python/netifaces won't build for python3.7
Summary: dev-python/netifaces won't build for python3.7
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Python Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-08 09:49 UTC by Johannes Willem (Hans) Fernhout
Modified: 2021-08-11 09:51 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge --info (emerge--info.txt,6.72 KB, text/plain)
2021-08-08 09:49 UTC, Johannes Willem (Hans) Fernhout
Details

Note You need to log in before you can comment on or make changes to this bug.
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.