Repository navigation
Zenith: Use class instead of top-level functions in template - #6729
Conversation
Signed-off-by: Helder Correia <[email protected]>
a0c4c52 to
c0b7cdf
Compare
| return &PythonSdk{ | ||
| SDKSourceDir: sdkSourceDir, | ||
| RequiredPaths: []string{ | ||
| "**/pyproject.toml", |
There was a problem hiding this comment.
How does the integ test TestModulePythonInit/respects existing pyproject.toml pass with this removed? I remember talking about this whole topic somewhere but forget where, apologies if you are repeating something 😅
There was a problem hiding this comment.
The one that matters is included in the mount of the module source, within the codegen function. This just includes all other pyproject.toml in the repo, which includes core testdata.
There was a problem hiding this comment.
To be clear, it's not necessary to get the one in sdk/python/pyproject.toml since the sdk is available in /sdk, from the engine container.
sipsma
left a comment
There was a problem hiding this comment.
LGTM, theres a docs build error but seems to be a GH issue, not relevant: https://readthedocs.org/projects/dagger-io/builds/23546455/
Fixes #6728