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

Repository for Debian bullseye #124

Open
gedia opened this issue Apr 14, 2021 · 10 comments
Open

Repository for Debian bullseye #124

gedia opened this issue Apr 14, 2021 · 10 comments

Comments

@gedia
Copy link

gedia commented Apr 14, 2021

It's that time of the year I guess :-).

It's a little early for release, but it would be handy if there were a bullseye repo for testing etc. Thank you for all your work!

@eLvErDe
Copy link
Owner

eLvErDe commented Apr 14, 2021

Agreed :(
But I need to fix everything for Python3, that's a bit of work sadly

@xtaran
Copy link

xtaran commented May 26, 2021

But I need to fix everything for Python3, that's a bit of work sadly

Yes and no.

For me it currently suffices to use the HWRaid buster repo packages on bullseye and installing the python-is-python2 package. This would also be a temporary solution for a HWRaid bullseye repo until the Python 3 conversion is ready.

Actually still having to use the buster repo for bullseye causes more headaches for me in Ansible than I have issues with installing python-is-python2 for now because of some of the packages not being python3-ready. So please provide a bullseye repo even if the Python 3 migration isn't through.

Thanks in advance!

@kralge
Copy link

kralge commented Jun 19, 2021

I have been using buster packages (megactl and megaraid-status) for years on bullseye with python-is-python2 package installed for Python2.

Now it looks I will have to get rid of Python2 because of other compatibility issues. For me only megaraid-status package needs Python2, so I checked and found that only replacing print '' to print('') makes megaraid-status to run by python3 seemingly without an issue.

So I would be very happy if only megaraid-status could be replaced with a new version supporting Python3.

@eengstrom
Copy link

FWIW, Not just bullseye but also support for Ubuntu Focal and Hirsute.

From @kralge's comments, getting rid of the python2 requirement seems simple on the surface. There is also a PR for this (#106).

Looking for more feedback from @eLvErDe, and even offering to help if assistance is needed.

@eLvErDe
Copy link
Owner

eLvErDe commented Aug 12, 2021

Hello,

It's on my list it will done before bullseye release or shortly after because I'll need it anyway.
For the moment you can of course use buster repository and install python-is-python2.
I'll try to work on it this weekend, but it's not like "just merging a few PR", first I need to evaluate all PR and merge them, then I'll merge python3 repository, then I need to hack debian package to handle python2/python3 in a clean way (I think detecting primary version at built time by looking at python virtual package and then passing the real package name as runtime dependency using substvar should work) and finally I need to rebuild all packages for all supported distributions (and I don't really remember if I made proper tooling for that so I may need to rewrite this).
So yes it'll be done, but no it's not a matter of minutes ;-)

Regards, Adam.

@eengstrom
Copy link

Adam (@eLvErDe) - thanks - I know that it's not trivial, and yet I made it sound like it was. Sorry.

Sadly, using python-is-python2 is not an option for us, especially on our newer Ubuntu (>= 20) systems that finally have switched everything "standard" to python3

If you need help, esp. on the Ubuntu side, please let me know.

@gedia
Copy link
Author

gedia commented Aug 12, 2021

I've also quickly hacked megaclisas-status to work with python3. I've created a gist of my version in case it is be useful to anyone:

https://gist.github.com/gedia/80cf0881d9c96c0efdacd37f4f83408c

@stephen-smith
Copy link

Thanks for the efforts! Bullseye is now stable, any ETA on the bullseye repo?

@eLvErDe
Copy link
Owner

eLvErDe commented Aug 17, 2021

Hello,

I published bullseye and focal repositories, but there's only megali/megaclisas-status package for the moment.

Regards, Adam.

@xtaran
Copy link

xtaran commented May 19, 2023

This can be closed now, but the Bookworm repo is still missing, see #139. ;-)

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

6 participants