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

Build deb package in CI #465

Open
elisalle opened this issue Aug 16, 2023 · 2 comments
Open

Build deb package in CI #465

elisalle opened this issue Aug 16, 2023 · 2 comments

Comments

@elisalle
Copy link

elisalle commented Aug 16, 2023

For our product, we are using mdal-python on Ubuntu, and it takes a while to compile and install MDAL every time before installing mdal-python. Would you be open to building a deb package for MDAL via CI, possibly including it in the Debian (or only Ubuntu) repos?
I see that there is already an open issue about platform packaging of MDAL at #114 but I saw no mention of Ubuntu or Debian there.

@runette
Copy link
Contributor

runette commented Aug 20, 2023

If your concern is mainly about access through mdal-python then it would be good to join this conversation ViRGIS-Team/mdal-python#9

MDAL packaging always gets complicated by the dependency on GDAL and the relatively large spread of versions of that in the wild. You are probably going to have to build MDAL locally on the system version of GDAL - which I am guessing is not impossible, but I am not a debian person, but does get complicated.

@elisalle
Copy link
Author

elisalle commented Aug 21, 2023

If I remember correctly, packages in the non-third-party Debian and Ubuntu repositories have a certain version which is released on a certain distribution release, and no breaking version upgrades are made within that distribution release, just bugfixes.

Ubuntu focal (20.04), for instance, is released with GDAL 3.0.4, and Ubuntu jammy (22.04) is released with GDAL 3.4.1.

What I'm suggesting is to build an Ubuntu package for the current LTS Ubuntu, for the GDAL version included on that Ubuntu release, and making it depend on the libgdal-dev included on that Ubuntu release.

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

No branches or pull requests

3 participants