-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Open
Labels
type: feature requestRequest for a new featureRequest for a new feature
Description
Description
I like to install mpi4py with a new build (without using a wheel already locally built). I try to use --no-binary mpi4py
but surprisingly a wheel is used.
(venv-mpi4py) [egi2153] augier@login2:~$ CC=mpicc pip install mpi4py --no-binary mpi4py
Looking in indexes: https://gorgone.cines.fr//root/pypi/+simple/
Collecting mpi4py
Using cached mpi4py-4.0.0-cp311-cp311-linux_x86_64.whl
Installing collected packages: mpi4py
Successfully installed mpi4py-4.0.0
Note that there is a pip config file:
$ cat /etc/pip.conf
[global]
index-url=https://gorgone.cines.fr//root/pypi/+simple/
trusted-host=gorgone.cines.fr
Expected behavior
mpi4py should be compiled from source when --no-binary mpi4py
is given.
See the help message:
--no-binary <format_control>
Do not use binary packages. [...]
pip version
pip 24.2
Python version
3.11
OS
Linux
How to Reproduce
python -m venv venv-mpi4py
. ~/venv-mpi4py/bin/activate
pip install --upgrade pip
pip install mpi4py --no-binary mpi4py
Output
$ pip install mpi4py --no-binary mpi4py
Looking in indexes: https://gorgone.cines.fr//root/pypi/+simple/
Collecting mpi4py
Using cached mpi4py-4.0.0-cp311-cp311-linux_x86_64.whl
Installing collected packages: mpi4py
Successfully installed mpi4py-4.0.0
Code of Conduct
- I agree to follow the PSF Code of Conduct.
Metadata
Metadata
Assignees
Labels
type: feature requestRequest for a new featureRequest for a new feature