Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move out of bionic. #691

Open
mgautierfr opened this issue Apr 15, 2024 · 1 comment
Open

Move out of bionic. #691

mgautierfr opened this issue Apr 15, 2024 · 1 comment
Assignees

Comments

@mgautierfr
Copy link
Member

This is a tracking issue to move out of bionic build.

We still need to build libzim on bionic because we need to compile on glibc <= 2.28. This is enforced by the python "platform" definition and the last available platform is manylinux_2_28
(See original issue #595).

However:

  • Bionic's eol is April, 2023
  • Python 3.6 (which is the python version in Bionic) is eol December 2018.

There was the deadsnake ppa (https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa) to install a "recent" python 3.8 on Bionic but it seems the repository for Bionic is no more (probably with Bionic's eol)

This means that kiwix-build is stuck with python 3.6, a 6 years old dead version.

A recent issue on manylinux is tracking the manylinux_2_34 status : pypa/manylinux#1585. Hopefully we will able to move to a more recent version of ubuntu soon.

Another way is to build libzim directly using manylinux_2_28 as the image contains python up to 3.12

@rgaudin
Copy link
Member

rgaudin commented Apr 17, 2024

I understand the problem as:

Possible solutions:

  • ❌ publish pylibzim for manylinux_2_31. There is no image and manylinux is looking at creating one for 2_34. We don't know when and it wont support bullseye
  • install recent python from source inside our bionic image
  • build (kiwix-build) inside manylinux_2_28

@mgautierfr I think it's up to you. I can't think of any strong reasons in favor of one or the other. Added this topic to the hackathon (broader topic) should we have not decided by then

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants