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

Align versions of upload/download artifact in Python workflow #1205

Merged
merged 2 commits into from
Sep 18, 2024

Conversation

diegoferigo
Copy link
Member

I noticed this morning that the CI pipeline of a downstream project was failing because it tried to compile from scratch the idyntree wheel starting from its sdist. I realized that yesterday iDynTree 13 was released, and I investigated what happened. It turnes out that PyPI only had the sdist, the wheels were not there, and this is the reason of the failure in the downstream.

The CI/CD pipeline of the tagged release is this one and, as you can notice, there are two different artifacts with the same name. I inspected the Python workflow and I realized that the wheels were uploaded with the v3 action, while the upload of the sdist and the download of the artifact were done with the v4 versions. This was changed recently by a bot PR in #1202.

Probably the different majors are not compatible with each other. In this PR, I aligned all of them. While I'm not sure this solves the problem (I don't exclude a change of behavior in which the artifacts are not merged when multiple jobs try to upload them using the same name), let's keep an eye on it.

@diegoferigo diegoferigo self-assigned this Sep 18, 2024
@diegoferigo
Copy link
Member Author

For the records, I downloaded manually the artifact containing the wheels and uploaded them manually using twine. I had to use a personal token and I was allowed to do this since I'm among the PyPI maintainer of the iDynTree package.

Then, download and extract all of them in the same folder.
@diegoferigo
Copy link
Member Author

I don't exclude a change of behavior in which the artifacts are not merged when multiple jobs try to upload them using the same name

Apparently this is no longer supported:

https://github.com/robotology/idyntree/actions/runs/10917334169/job/30300447779

Addressing the problem in 35d845d.

@traversaro
Copy link
Member

Ok, do you need a 13.0.1 ?

@traversaro traversaro merged commit 356ab80 into master Sep 18, 2024
37 checks passed
@traversaro traversaro deleted the diegoferigo-patch-1 branch September 18, 2024 07:50
@diegoferigo
Copy link
Member Author

Nope I don't. However I noticed that there still is a problem that I'm going to fix in another PR.

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

Successfully merging this pull request may close these issues.

2 participants