Skip to content

Add self hosted runner, pin version of importlib-metadata that works #416

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

Merged
merged 5 commits into from
Jun 26, 2024

Conversation

yrkim98
Copy link
Collaborator

@yrkim98 yrkim98 commented Jun 25, 2024

(sorry for the pr spam, theres really no other way to test this)
Two changes:

First change is due to this error on release https://github.com/AllenCell/allencell-ml-segmenter/actions/runs/9669994434/job/26677772688

Looks like its due to importlib-metadata, a new version was released 3 hours ago and people are reporting the exact same issue on twine's gh issues page pypa/twine#977.

It looks like its getting worked on, but for now, pinning previous version of importlib-metadata which has been found to resolve: pypa/twine#977 (comment)

Second change: also found out that we need to host this on a self-hosted runner for publishing to artifactory. Otherwise we'd hit a DNS error on the artifactory url:
image

@yrkim98 yrkim98 requested review from hughes036 and saeliddp June 25, 2024 22:07
@yrkim98 yrkim98 merged commit 9497cc6 into main Jun 26, 2024
@yrkim98 yrkim98 deleted the use-older-importlib branch June 26, 2024 16:32
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.

DeprecationWarning: Implicit None on return values is deprecated and will raise KeyErrors.
3 participants