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

Address deprication warning #874

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

matthiasschaub
Copy link
Collaborator

@matthiasschaub matthiasschaub commented Feb 4, 2025

Description

refactor: address deprecation warning

pkgutil.get_loader(module_or_name) is deprecated since version 3.12,
will be removed in version 3.14: Use importlib.util.find_spec() instead.

importlib.util.find_spec() has been added in Python version 3.4.

test: rewrite unittests to by pytests and remove unused function

Corresponding issue

Closes None

New or changed dependencies

  • None

Checklist

  • I have ensured my branch is mergeable with main (e.g. through git rebase main if necessary)
  • My code follows the style guide and was checked with pre-commit before committing
  • I have commented my code
  • I have added sufficient unit and integration tests
  • I have added new Hurl regression tests and checked all existing tests
  • I have updated the CHANGELOG.md

Please check all finished tasks. If some tasks do not apply to your PR, please cross their text out (by using ~...~) and remove their checkboxes.

pkgutil.get_loader(module_or_name) is deprecated since version 3.12,
will be removed in version 3.14: Use importlib.util.find_spec() instead.

importlib.util.find_spec() has been added in Python version 3.4.
and remove unused function
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