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

Upgrade to actions/upload-artifact@v4; fix testing matrix #415

Merged
merged 5 commits into from
Feb 6, 2025

Conversation

mgax
Copy link
Member

@mgax mgax commented Feb 6, 2025

CI runs are failing with this error:

Error: This request has been automatically failed because it uses a deprecated version of `actions/upload-artifact: v3`. Learn more: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/

I've upgraded to v4 of the upload-artifact and download-artifact actions: https://github.com/actions/upload-artifact/blob/main/docs/MIGRATION.md.

One change that affects this repository is about "Multiple uploads to the same named Artifact"; the uploads need to have distinct names, and then get merged during download.

@@ -4,7 +4,7 @@ ruff==0.0.287

# Runtime requirements
Django>=4.2,<5.1
wagtail>=4.1
wagtail>=6.2,<6.3
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
wagtail>=6.2,<6.3
wagtail>=5.2,<6.3

allthough I would even go as far as <6.5

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I noticed that tox has its own list of Wagtail versions. I'm not sure why that was failing locally; I'll keep digging. But I think Wagtail 6.4 fails the tests because of the migration issue that I was addressing in #414.

@mgax mgax force-pushed the fix/ci-upload-artifact-v4 branch from c35f840 to fdfd1f3 Compare February 6, 2025 16:12
tox.ini Outdated Show resolved Hide resolved
tox.ini Show resolved Hide resolved
@mgax mgax marked this pull request as ready for review February 6, 2025 16:23
@mgax
Copy link
Member Author

mgax commented Feb 6, 2025

It turns out that our pipeline wasn't checking older Wagtail versions. It only works against Wagtail 6.2 at the moment. I suggest we merge this PR to fix the pipeline.

@mgax mgax requested a review from zerolab February 6, 2025 16:25
tox.ini Outdated Show resolved Hide resolved
@mgax mgax requested a review from zerolab February 6, 2025 16:48
@mgax mgax changed the title Upgrade to actions/upload-artifact@v4 Upgrade to actions/upload-artifact@v4; fix testing matrix Feb 6, 2025
Copy link
Member

@zerolab zerolab left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's get this in and add the other changes as discussed

@zerolab zerolab merged commit 043d543 into torchbox:main Feb 6, 2025
14 checks passed
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