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

depending on newer dapla-toolbelt for dependabot #64

Merged
merged 15 commits into from
Apr 3, 2024

Conversation

aecorn
Copy link
Collaborator

@aecorn aecorn commented Feb 26, 2024

Github actions regularly fail, because artifacts are being overwritten to the same location with v4 of actions/upload-artifact@v4
This is a workaround, where the OS and pythonversion is appended to the artifact names to avoid collision.
The worst part is how "ubuntu-latest-3.10" is hard-coded... Would be nice to be able to do something like {{ matrix.os[0] }}but I dont think thats possible...

Also @sebrothe reported that his mypy was having a hard time understanding my "dynamic imports" in __init__.py so I rewrote it to a more common python syntax, actually listing things twice... (Which was what I was trying to avoid.)

@aecorn aecorn requested a review from arneso-ssb February 26, 2024 13:00
@@ -141,7 +141,7 @@ jobs:
- name: Download coverage data
uses: actions/download-artifact@v4
with:
name: coverage-data
name: coverage-data-ubuntu-latest-3.10
Copy link
Member

Choose a reason for hiding this comment

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

No need to hardcode. Use cruft update to update template with fixes for this, Or look at https://github.com/statisticsnorway/ssb-pypitemplate-instance/blob/main/.github/workflows/tests.yml#L143-L147

Copy link

sonarqubecloud bot commented Apr 3, 2024

@aecorn aecorn requested a review from arneso-ssb April 3, 2024 10:13
@aecorn aecorn merged commit 7ae0120 into main Apr 3, 2024
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