Giter VIP home page Giter VIP logo

Comments (4)

aferdyp avatar aferdyp commented on July 20, 2024

The manylinux version currently being used by cibuildwheel is based on CentOS 7. The github action to build the wheel uses the "apt" version of Linux. The easiest fix here is to replace CIBW_BEFORE_ALL_LINUX: ${{ format('bash src/tools/install_pg.sh {0}', github.ref) }} with CIBW_BEFORE_ALL_LINUX: ${{ format('bash src/tools/install_pg_rpm.sh {0}', github.ref) }} in
wheels.yml

The downside here is that install_pg_rpm.sh does not include the build steps for postgis. The postgis build does not work quite well with CentOS 7. The dependencies are really old to get postgis 3.2 setup out of the box.

from postgresql-wheel.

louis-van-der-stam avatar louis-van-der-stam commented on July 20, 2024

Thanks for looking into this.

It reads like it is a problem when creating the package? If it is a problem when installing, then I'm lost with the explanation/instruction.

Can you help me out?

from postgresql-wheel.

aferdyp avatar aferdyp commented on July 20, 2024

It basically does come down to a problem with creating the package. I have raised a PR with the required change.

The process of building the wheel using cibuildwheel is dependent on using github actions. If you want to get a build for your own requirements (till the PR is approved), here's what you could possibly do -

  • Fork this repo
  • Make the change that's there in the PR
  • Create a new release with tag 14.4.x and publish
  • Check that the github action is running. When the build is done you should see an artifact zip. That should have the wheels you need.
  • (Unfortunately, till the time the PR is approved and a new release is triggered the wheels won't be in pypi)

from postgresql-wheel.

louis-van-der-stam avatar louis-van-der-stam commented on July 20, 2024

Thanks for explaining, I'm okay with using the somewhat older version. Just wanted to flag the problem and then understand the cause.
Again thanks for looking into this and making the package available!

from postgresql-wheel.

Related Issues (4)

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.