-
Notifications
You must be signed in to change notification settings - Fork 143
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
enable build for Debian/Bullseye+Bookworm #529
base: master
Are you sure you want to change the base?
Conversation
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
No linked issues found. Please add the corresponding issues in the pull request description. |
b3e6bb2
to
e98c353
Compare
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Hi, any progress/update here? |
Pinging @adejanovski . How are the chances to get that merged and packages for Debian released? Soon, I'd also bring that forward to Bookworm. |
Hi @rtib! Yes, let's move forward with this. Could you please fix the conflict (it seems fairly straightforward)? If the builds pass, I think we can go ahead and merge. |
e98c353
to
df17456
Compare
Have rebased it. |
debian/rules
Outdated
@@ -30,7 +30,7 @@ export DH_VIRTUALENV_INSTALL_ROOT = /usr/share | |||
override_dh_virtualenv: | |||
dh_virtualenv \ | |||
--extra-pip-arg "--no-cache-dir" \ | |||
--python /usr/bin/python3 --preinstall=setuptools==40.3.0 --preinstall=pip==21.3.1 --preinstall=wheel --builtin-venv | |||
--python /usr/bin/python3 --preinstall=setuptools==52.0.0 --preinstall=pip==20.3.4 --preinstall=wheel==0.34.2 --builtin-venv |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You shouldn't downgrade pip
here. Only setuptools
needs to be upgraded for this to work on debian 11.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You're right. It could also run even without pinned version at least for focal and bullseye. I'm affraid I did this to get it work for buster, but that's over the edge now.
Kudos, SonarCloud Quality Gate passed! 0 Bugs No Coverage information |
Build is failing at the install package step due to the fact, that the package is built for Debian and installed on Ubuntu. Unfortunately, there is no public actions runner with Debian supported by GH. Either we need a custom GHA runner with Debian-11 or we need to move this test into a container. |
Please note that since medusa 0.16, debian 10 (with python 3.7.3) won't work with s3_compatible storage because of this botocore3/python/openssl issue : boto/botocore#2702 |
6989e28
to
ab94740
Compare
Meanwhile, I needed to build medusa packages for bookworm. So I've
|
Buster went "oldstable" so it's build could be retired. |
Yes, we should remove buster support from the build. I confirm that I can build a working debian 11 package with this branch |
I've removed Debian buster from build. I assume the installation tests could be moved into according containers to get the test failing on Debian fixed. I'll try to find some time for that the next few days. |
BTW, do we still need Ubuntu bionic builds? Packages weren't published since 0.14.0 anymore. |
I'm reading Bionic went out of life on 31 May 2023. I suppose we can cut it - it's the same treatement we do to python - as soon as a version EoLs, we cut it. |
👇 all Ubuntu and Debian built green. 🎉 Those k8ssandra jobs cannot log in to docker hub, assume that's not connected to this. The PR might need some consolidation: the tester Dockerfiles ended up all the same. |
Quality Gate passedIssues Measures |
This change is needed to enable packaging for Debian/Bullseye.
┆Issue is synchronized with this Jira Task by Unito
┆friendlyId: K8SSAND-1810
┆priority: Medium