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

-extras installer: conda, python, pip, OpenSUSE package installer #23

Open
ParaplegicRacehorse opened this issue Dec 12, 2023 · 2 comments
Assignees
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 🧑‍💻 In Progress [ISSUE] Assigned to an issue that is curretly being worked on ❕ Medium Priority [ISSUE] Needs to be dealt with at some point

Comments

@ParaplegicRacehorse
Copy link

The installer does not check for version conflicts when attempting to install miniconda.

At time of writing, the current release of miniconda requires Python v3.11.5. The miniconda website has installers for python3 versions older than v3.11.5. On Ubuntu LTS 22.04, for example, the latest python3 package is v3.10.12. A python3.11 package (binary called with python3.11) is v3.11.0rc1. Lots of other distros in the wild also don't have near-bleeding-edge Python in their repositories.

Unless you're planning to automate the process of version checking and installing the matching miniconda, the script should fail gracefully with a nice friendly notice that it doesn't know how to install miniconda on user's system and would user please go read the -extras README for instructions on how to manually install, with particular attention to visiting the miniconda website to learn about system requirements and download a miniconda installer that will work with user's system.


Also, pip should probably be called as pip3 to avoid calling the python2 pip where python2 may still exist alongside python3. Dunno about other distros, but pip3 exists on Debian/Ubuntu, Fedora, OpenSUSE, Arch.


Also, OpenSUSE packager zypper is not supported at all. zypper install [packagename] or zypper in [packagename]

@ParaplegicRacehorse
Copy link
Author

Hmm. Actually, it might be interesting to check if Docker or Podman are installed and do a --build (or pull a prebuilt registry image) instead of screwing around with python and miniconda.

@deffcolony
Copy link
Collaborator

@ParaplegicRacehorse i changed pip to pip3 and added support for OpenSUSE packager zypper. so you can already update now but i still need to look at the version conflicts part

@deffcolony deffcolony added ❕ Medium Priority [ISSUE] Needs to be dealt with at some point 🐛Bug [ISSUE] Ticket describing something that isn't working 🧑‍💻 In Progress [ISSUE] Assigned to an issue that is curretly being worked on labels Jan 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛Bug [ISSUE] Ticket describing something that isn't working 🧑‍💻 In Progress [ISSUE] Assigned to an issue that is curretly being worked on ❕ Medium Priority [ISSUE] Needs to be dealt with at some point
Projects
None yet
Development

No branches or pull requests

2 participants