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

feat: add support for struct type #1

Closed
wants to merge 5 commits into from
Closed

feat: add support for struct type #1

wants to merge 5 commits into from

Conversation

romain-h
Copy link

@romain-h romain-h commented Feb 9, 2024

This is adding support for Starlark struct type: https://github.com/google/starlark-go/tree/master/starlarkstruct

It binds in both directions to Python SimpleNamespace. This is also using the latest release of starlark-go.

While attempting to setup this resository, the devcontainer image
couldn't be buit because of missing debian archive. This is simply
changing the source list URLs to fix the build.
Upgrade the Go starlark package to latest one. This involves a rewrite
of the test_configure.py since the starlark resolver configuration is
evaluated part of the exec. This is because using global config vars is
deprecated now. This is not replacing the usage of it yet as it would
involve breaking change of the API.
callum-oakley
callum-oakley previously approved these changes Feb 9, 2024
@romain-h romain-h changed the base branch from monzo-main to main February 9, 2024 14:28
@romain-h romain-h dismissed callum-oakley’s stale review February 9, 2024 14:28

The base branch was changed.

@romain-h romain-h closed this Mar 12, 2024
@romain-h romain-h deleted the support-struct branch March 12, 2024 10:50
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