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

Imp hotfix #105

Merged
merged 2 commits into from
Jul 13, 2024
Merged

Imp hotfix #105

merged 2 commits into from
Jul 13, 2024

Conversation

dihm
Copy link
Contributor

@dihm dihm commented Apr 4, 2024

This helps with the new issue introduced by #101 where python versions <3.12 don't work in resolving the device registry.

It partially addressed #100 more fully by removing the use of imp entirely in the device registry code. New method now directly runs the register_classes.py modules, but does not fully import them (ie doesn't add to sys.modules). This is the intended behavior of the device registry and should help simplify the code a bit. Some testing will be needed to ensure tab reloads and runmanager reloads still function as intended.

@dihm dihm added bug Something isn't working critical labels Apr 4, 2024
@dihm dihm self-assigned this Apr 4, 2024
@dihm
Copy link
Contributor Author

dihm commented Apr 4, 2024

@ispielma If you could test this PR out, it would be greatly appreciated!

@dihm dihm mentioned this pull request Apr 4, 2024
@dihm dihm merged commit b0882cd into labscript-suite:master Jul 13, 2024
1 check passed
@dihm dihm deleted the imp_hotfix branch July 13, 2024 23:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working critical
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant