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

24.04 migration #1084

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

24.04 migration #1084

wants to merge 4 commits into from

Conversation

Crola1702
Copy link
Contributor

With these changes I can run the buildfarm in jenkins LTS and 24.04:

  • Use importlib instead of imp. This is suggested by python docs
  • Use UnifiedDiffUtils

imp library is deprecated in favor of importlib. See https://docs.python.org/3.10/library/imp.html#module-imp
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
Signed-off-by: Crola1702 <[email protected]>
@Crola1702 Crola1702 self-assigned this Mar 4, 2025
import imp
from importlib.machinery import SourceFileLoader
Copy link
Member

Choose a reason for hiding this comment

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

This was added in Python 3.3, so all supported versions should work 👍

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