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

Packaged libs are still under 3.8 folder #367

Open
rzvoncek opened this issue Dec 18, 2024 · 1 comment
Open

Packaged libs are still under 3.8 folder #367

rzvoncek opened this issue Dec 18, 2024 · 1 comment

Comments

@rzvoncek
Copy link

Hello. We're using dh-virtualenv to package cassandra-medusa, a Cassandra backup tool.

I've found out recently Github is phasing out GHA runners of Ubuntu 20.04, so I have to modernise our CI. Part of this caused Python 3.8 not being present anymore. As I'm just finding out, it EoLed. Instead, we have 3.10 now.

Anyhow, the package builds, but the libs get placed in a wrong place, under a 3.8 path. For example:

/usr/share/cassandra-medusa/lib/python3.8/site-packages/pssh/clients/common.py

I've tried several things already, but none of this helped.

Could you please help me figure out how to make the libraries go to the correct place?

@rzvoncek
Copy link
Author

I've gained some insight now. I found out that passing Ubuntu distro code name into the our build process dictates where will the libraries end up. After replacing focal with jammy, things started to look like I need them to.

I'm still stuck with the packages under python3.10 folders, with not much control over it, but at least I'm not blocked now.

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

1 participant