Skip to content

Problem using TUTOR_VERSION #10

@magajh

Description

@magajh

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions