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

Fix tox tests and enable actions #35

Merged
merged 8 commits into from
Jul 31, 2024
Merged

Fix tox tests and enable actions #35

merged 8 commits into from
Jul 31, 2024

Conversation

kshtsk
Copy link
Collaborator

@kshtsk kshtsk commented Jul 31, 2024

No description provided.

Kyr Shatskyy added 5 commits July 31, 2024 17:44
Because extract was removed in previous commits, just remove the code
testing it.

Fixes: 330d689

Signed-off-by: Kyr Shatskyy <[email protected]>
Signed-off-by: Kyr Shatskyy <[email protected]>
@kshtsk kshtsk changed the title fix tox Fix too and enable actions Jul 31, 2024
@kshtsk kshtsk changed the title Fix too and enable actions Fix tox tests and enable actions Jul 31, 2024
Kyr Shatskyy added 3 commits July 31, 2024 18:10
Addresses error message:

  /home/runner/work/downburst/downburst/downburst/discover.py:155: SyntaxWarning: invalid escape sequence '\d'
    imageprefix = distro + '-' + distroversion + '-(\d+)'

Signed-off-by: Kyr Shatskyy <[email protected]>
Use 'importlib.resources' in favor of 'pkg_resources' as recommended in
documentation.

Instead of already deprecated importlib.resources.open_text('downburst', 'template.xml')
we use files('downburst').join('template.xml').open('r')

Signed-off-by: Kyr Shatskyy <[email protected]>
@kshtsk kshtsk merged commit ab20066 into main Jul 31, 2024
3 checks passed
@kshtsk kshtsk deleted the wip-fix-tox branch August 1, 2024 14:48
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.

1 participant