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

Problem using TUTOR_VERSION #10

Open
magajh opened this issue Dec 3, 2024 · 1 comment
Open

Problem using TUTOR_VERSION #10

magajh opened this issue Dec 3, 2024 · 1 comment

Comments

@magajh
Copy link
Contributor

magajh commented Dec 3, 2024

Copied from the original issue eduNEXT/picasso#20:

Description

The message it is at vv16.1.8 while the 'tutor' binary is at v16.1.8. You should upgrade the environment by running and similars from Picasso is due to a problem with overriding a Tutor variable.

This problem comes from Picasso since Jenkins, and it is because to create projects, we are using the variable TUTOR_VERSION, which is also used by Tutor here: https://github.com/overhangio/tutor/blob/0a6516681b1bce568e66de7b944ee4b85890790a/tutor/env.py#L66, but Tutor expect only the number: https://github.com/overhangio/tutor/blob/0a6516681b1bce568e66de7b944ee4b85890790a/tutor/__about__.py#L5. So for that reason we have that log that shows that we are using the version vv.

Note

This name could also affect tutor-contrib-picasso.

Screenshot

image

maria> ## Description

The message it is at vv16.1.8 while the 'tutor' binary is at v16.1.8. You should upgrade the environment by running and similars from Picasso is due to a problem with overriding a Tutor variable.

This problem comes from Picasso since Jenkins, and it is because to create projects, we are using the variable TUTOR_VERSION, which is also used by Tutor here: https://github.com/overhangio/tutor/blob/0a6516681b1bce568e66de7b944ee4b85890790a/tutor/env.py#L66, but Tutor expect only the number: https://github.com/overhangio/tutor/blob/0a6516681b1bce568e66de7b944ee4b85890790a/tutor/__about__.py#L5. So for that reason we have that log that shows that we are using the version vv.

Note

This name could also affect tutor-contrib-picasso.

Screenshot

image

mariajgrimaldi commented: Thanks for the report! However, this is also in Jenkins, so I don't think this implementation is related to the warning. Here's a comment I left on tutor-contrib-picasso a while ago that might be related to this: #5 (comment)

I confirmed what I mentioned before by removing the v-prefix from TUTOR_VERSION in this run: https://github.com/eduNEXT/ednx-strains/actions/runs/11123830980/job/30908097594#step:15:13 which removed the warning. The issue is using TUTOR_VERSION with the prefix. I'll look into how to fix this in our setup with tutor-contrib-picasso and our strains repos.jgrimaldi commented: Thanks for the report! However, this is also in Jenkins, so I don't think this implementation is related to the warning. Here's a comment I left on tutor-contrib-picasso a while ago that might be related to this: #5 (comment)

I confirmed what I mentioned before by removing the v-prefix from TUTOR_VERSION in this run: https://github.com/eduNEXT/ednx-strains/actions/runs/11123830980/job/30908097594#step:15:13 which removed the warning. The issue is using TUTOR_VERSION with the prefix. I'll look into how to fix this in our setup with tutor-contrib-picasso and our strains repos.

@magajh
Copy link
Contributor Author

magajh commented Dec 3, 2024

Something to keep in mind: eduNEXT/picasso#35

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