Giter VIP home page Giter VIP logo

Comments (7)

jkloetzke avatar jkloetzke commented on June 2, 2024 1

Interestingly, at least here, the right wheel is installed. I guess somehow the pre-built Linux versions do not match in your case.

Anyway, the BobBuildTool-0.22.0-py3-none-any.whl was introduced by uploading the Windows build. Obviously it will miss the sandbox binary. I've deleted the file so it should fix the problem with the existing release. I'll have to adapt the GitHub pipeline accordingly...

from bob.

Ferruck avatar Ferruck commented on June 2, 2024

I stumbled across the issue while building a Docker image based on Alpine. 🤷‍♂️ What does manylinux1 stand for, anyways? What is it supposed to match?

from bob.

jkloetzke avatar jkloetzke commented on June 2, 2024

AFAICT it's specified in https://peps.python.org/pep-0513/. See also https://github.com/pypa/manylinux. But I have to admit I don't remember the exact details. But because Alpine is based on musl-libc it should not match the binary wheels because they are built for glibc. So the behaviour is kind of expected...

from bob.

Ferruck avatar Ferruck commented on June 2, 2024

Ah, so that is the culprit. But it seems there's musllinux, as well. I'll have a look into it.

from bob.

jkloetzke avatar jkloetzke commented on June 2, 2024

Well, pip should fall back of building the package from source if there is no pre-built binary wheel available. BTW, in the long run I was pondering about abandoning the self-built bob-namespace-sandbox by using bubblewrap as a drop in replacement...

from bob.

Ferruck avatar Ferruck commented on June 2, 2024

Thanks for the fix! Now installation works on Alpine again. On a side note, the current Fedora also failed to install a working package, just because it uses Python 3.11 and the GA is building up to 3.10 only. Have you considered using something like cibuildwheel for your GA to make that build matrix a little more "automatic"? I don't know if that's the up-to-date Pythonista solution to the problem, though.

BTW, in the long run I was pondering about abandoning the self-built bob-namespace-sandbox by using bubblewrap as a drop in replacement...

Just to get "pure" Python packages or do you see more advantages? bubblewrap's complexity seems way higher and bob-namespace-sandbox has proved itself one time or another...

from bob.

jkloetzke avatar jkloetzke commented on June 2, 2024

Thanks for the fix! Now installation works on Alpine again. On a side note, the current Fedora also failed to install a working package, just because it uses Python 3.11 and the GA is building up to 3.10 only. Have you considered using something like cibuildwheel for your GA to make that build matrix a little more "automatic"? I don't know if that's the up-to-date Pythonista solution to the problem, though.

Thanks for the pointer. I'll have a look.

BTW, in the long run I was pondering about abandoning the self-built bob-namespace-sandbox by using bubblewrap as a drop in replacement...

Just to get "pure" Python packages or do you see more advantages? bubblewrap's complexity seems way higher and bob-namespace-sandbox has proved itself one time or another...

Mainly to get a pure python package. That would make the publishing a lot easier. AFAICT bubblewrap is available on all distros and should provide enough functionality to replace the bob-namespace-sandbox. But there is no great benefit either. That's why I never looked into the details...

from bob.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.