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

Port away from imp module, use importlib instead #1632

Closed
wants to merge 2 commits into from
Closed

Port away from imp module, use importlib instead #1632

wants to merge 2 commits into from

Conversation

Hains
Copy link
Contributor

@Hains Hains commented Nov 10, 2023

Based on:
oe-alliance/OpenWebif@b10e510 oe-alliance/OpenWebif@4612bbf

Remove redundant code.

Thank @jbleyel.

Tested with Python 3.9.9 (.pyc files) and Python 3.12 (.py files).

Based on:
oe-alliance/OpenWebif@b10e510
oe-alliance/OpenWebif@4612bbf

Remove redundant code.

Thank @jbleyel.

Tested with Python 3.9.9 (.pyc files) and Python 3.12 (.py files).
@jbleyel
Copy link
Contributor

jbleyel commented Nov 10, 2023

Have you tested this on python 2?
This repro is also for python 2 images.

AND.

All python 3 images should use the new repro.

Copy link

sonarcloud bot commented Nov 10, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

@Hains
Copy link
Contributor Author

Hains commented Nov 10, 2023

118b2c0

OpenPLi has no plans to move to new Openwebif AFAIK.

@jbleyel
Copy link
Contributor

jbleyel commented Nov 10, 2023

Your changes won't work on python 2 images.
This is probably a problem.

@Hains
Copy link
Contributor Author

Hains commented Nov 10, 2023

I've tested it with python 2 image.
But you know what...never mind.

@Hains Hains closed this Nov 10, 2023
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