Questions tagged [python-manylinux]

A framework to build Python binary wheels that can run on most Linux distributions

Backed by the Python Packaging Authority, the framework is standardized by PEP 513 and consists of stock Docker images and processing utilities that ensure that the resulting wheel only uses a limited, predefined set of Linux system calls and system libraries.

18 questions
11
votes
0 answers

Packaging with manylinux + auditwheel pip wheels vs. Conda

Description So I am looking to package a fairly complex python application that requires scientific libraries. This question is somewhat similar to the stackoverflow pip vs conda discussion but it does not go into detail about the differences now…
costrouc
  • 3,045
  • 2
  • 19
  • 23
6
votes
2 answers

Can I exclude libraries from auditwheel repair?

I'm using manylinux2014_x86_64 build some precompiled linux wheels for a python library that acts as an API to a C++ library involving CUDA. I create the wheels with pip wheel, then run auditwheel repair to include external libraries in the wheels…
catflaps
  • 135
  • 1
  • 3
6
votes
1 answer

Difference between manylinux1 vs manylinux2020 wheel files in PIP Installer

I am facing a weird issue in Python, The Issue is cryptography-2.9.2-cp35-abi3-manylinux2010_x86_64.whl is not working on the SLES OS. I have a CI/CD added to my repo and when I am downloading the packages from requirements.txt into local folder…
Sasi
  • 140
  • 1
  • 8
5
votes
2 answers

Wheel depends on build-time numpy version

I'm trying to build a python extension which uses the numpy C-API to manipulate numpy arrays. While setting up a deployment chain, I encountered a problem. In my requirements.txt and setup.py I have added the dependency numpy>=1.7, because I'm using…
sauerburger
  • 4,569
  • 4
  • 31
  • 42
2
votes
1 answer

Manylinux wheel creation causes "cannot repair because of the presence of too-recent versioned symbols"

I'm trying to build a manylinux wheel using the quay.io/pypa/manylinux_2_24_aarch64 docker image. Running /opt/python/cp37-cp37m/bin/pip3 wheel ./MYPACKAGE/ -w output produces the following wheels in the output…
Christian Vorhemus
  • 2,396
  • 1
  • 17
  • 29
2
votes
0 answers

What is the difference between CPython 27m and 27mu?

I'm trying to build a python wheel of a project and for that purpose I have to use manylinux (the project contain C & Fortran code). When I use manylinux to generate wheels, I get 6 files…
2
votes
1 answer

How to have two different versions of boost on CentOS 5.5?

The accepted way of building manylinux C++ extensions for python is to build them on a docker using Centos 5.5 as the underlying OS. My extensions have a boost library dependency. With care I can use yum to install Boost 1.44 libraries into the…
tjl
  • 131
  • 1
  • 5
1
vote
0 answers

How many wheel files should I make while using manylinux?

manylinux is a set of special docker containers you can use to build your c extension wheels so that they are compatible with a wide range of (many) linux distributions. I've gotten it to work for my project but i think I could improve it. manylinux…
gnarlyninja
  • 177
  • 1
  • 10
1
vote
0 answers

Github Action creates bad Python Manylinux Wheel

I have an incredibly strange problem. I have a Python package that depends on a lot of C++ code. I have set up a Dockerfile that uses the manylinux_2_24_x86_64 image to create the wheels. Running docker build builds the wheels, and I've set up an…
zmbq
  • 38,013
  • 14
  • 101
  • 171
1
vote
2 answers

Tensorflow quantum requires Manylinux2010. Is there a workaround to get Tensorflow quantum working on a Windows OS?

I have been having issue with installing tensorflow quantum on a windows operating system and am currently having it run on a Linux subsystem. Are there any workarounds to get it running on Windows? Protobuf version cannot simultaneously be version…
1
vote
0 answers

How to tell CMake which Python version to use in manylinux?

I want to build my code in a manylinux docker container (quay.io/pypa/manylinux1_i686). Inside manylinux I would like to use Python 3.7. This is why in my CMakeLists.txt I got the following line: find_package(Python REQUIRED COMPONENTS Interpreter…
elyptikus
  • 936
  • 8
  • 24
1
vote
1 answer

manylinux auditwheel installation errors

I wanted to build auditwheel and run a command auditwheel repair dist/*.whl I get this two kind of errors on multiple versions of auditwheel ImportError: cannot import name 'open_for_csv' from 'wheel.util'…
user2426998
  • 483
  • 5
  • 20
1
vote
1 answer

How should I build manylinux project docker image?

Hi I need a manylinux1 whl distribute for some python package to work in an old server. I found the manylinux project and installed docker. My platform is Windows 10 and processor is Intel, so I cannot run nest virtualization in VirtualBox. So how…
Shore
  • 827
  • 9
  • 24
1
vote
1 answer

lapacke.h in CentOS 5

I'm trying to create a Python wheel that makes use of the BLAS and LAPACK C extensions. Compiling such package under Ubuntu requires of the following system packages: libopenblas-dev: (Open)BLAS development libraries liblapack-dev: LAPACK…
albarji
  • 850
  • 14
  • 20
1
vote
1 answer

Where does Docker image initial filesystem come from?

I'm looking at manylinux1 stock image build scripts at https://github.com/pypa/manylinux, specifically the call chain: .travis.yml <...> script: - docker build --rm -t quay.io/pypa/manylinux1_$PLATFORM:$TRAVIS_COMMIT -f…
ivan_pozdeev
  • 33,874
  • 19
  • 107
  • 152
1
2