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

Definition of tasks with typed properties in .kraken.py fails with KeyError reading from sys.modules #142

Open
NiklasRosenstein opened this issue Dec 13, 2023 · 0 comments
Assignees
Labels
type: bug Something isn't working

Comments

@NiklasRosenstein
Copy link
Contributor

NiklasRosenstein commented Dec 13, 2023

When creating a Task subclass in a Kraken build script with typed properties, it fails to look up the scope of the build script in sys.modules as it is not a registered Python module.

The workaround atm. is to define the task in a Python module in build-support/ in the project root directory (natively supported by Kraken to load additional modules from).

image
@NiklasRosenstein NiklasRosenstein added the type: bug Something isn't working label Dec 13, 2023
@NiklasRosenstein NiklasRosenstein self-assigned this Dec 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: bug Something isn't working
Projects
Status: No status
Development

No branches or pull requests

1 participant