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

Karabo supports all lifecycle Python versions #519

Open
Lukas113 opened this issue Oct 6, 2023 · 5 comments
Open

Karabo supports all lifecycle Python versions #519

Lukas113 opened this issue Oct 6, 2023 · 5 comments
Assignees
Labels
enhancement New feature or request prio-med Medium priority

Comments

@Lukas113
Copy link
Collaborator

Lukas113 commented Oct 6, 2023

Karabo should support all Python versions which are in the current lifecycle.
TODO:

  • Karabo Feedstock need builds for each version
  • Feedstock: Python version 3.9 is currently hardcoded in build_base.yml for the test environment of a package, we will need a better solution there
  • Karabo code should be compatible with all versions (if incompatible code exists, if-else with python-verisons, just use oldest python-typing features)
  • Test setup for each python version
  • Loose dependencies accordingly (tests should tell us the versions)

Due to resource constraints, this will likely be delayed by several months.

@Lukas113 Lukas113 added enhancement New feature or request prio-med Medium priority labels Oct 6, 2023
@Lukas113 Lukas113 self-assigned this Oct 6, 2023
@Lukas113 Lukas113 changed the title Karabo supports all supported Python versions Karabo supports all lifecycle Python versions Oct 6, 2023
@sfiruch
Copy link
Member

sfiruch commented Mar 18, 2024

According to #225 the feedstock should be 3.10 compatible.

@kenfus
Copy link
Member

kenfus commented Mar 18, 2024

This would then also allow us to easily add an example notebook on google colab, which uses python 3.10 in the background.

@Lukas113
Copy link
Collaborator Author

This would then also allow us to easily add an example notebook on google colab, which uses python 3.10 in the background.

I don't think that this has an influence whether Karabo runs on colab or not, because Karabo needs conda anyway. And with conda, you can install any python-version.

@kenfus
Copy link
Member

kenfus commented Mar 18, 2024

This would then also allow us to easily add an example notebook on google colab, which uses python 3.10 in the background.

I don't think that this has an influence whether Karabo runs on colab or not, because Karabo needs conda anyway. And with conda, you can install any python-version.

Sadly, no. It somehow links to the runtime python, it's not independent. The condacolab package is quite hacky, but it works.

@Lukas113
Copy link
Collaborator Author

Ok, that's very surprising, because the advantage of conda lies in installing non-python deps like Python. And loosing such an advantage and still allowing conda doesn't make any sense to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request prio-med Medium priority
Projects
None yet
Development

No branches or pull requests

3 participants