Repository navigation
ci: Python SDK Publish - #3730
Conversation
9a4134b to
6c718fa
Compare
a23be27 to
606c78c
Compare
There was a problem hiding this comment.
With #3724 you'll have to wrap this in a util.WithDevEngine
There was a problem hiding this comment.
Publish doesn't need the engine, is it still needed?
There was a problem hiding this comment.
Oh, I see... for running the Go SDK stuff.
There was a problem hiding this comment.
@aluzzardi When is util.WithDevEngine needed, really? Isn't it when the python code needs to connect to the API?
There was a problem hiding this comment.
Based on a sync conversation, I also don't think that we need WithDevEngine (a.k.a. "dagger in dagger") since the command running inside the container is poetry which doesn't need access to Dagger.
606c78c to
3c96991
Compare
Signed-off-by: Helder Correia <[email protected]>
3c96991 to
b5fdc98
Compare
|
Bit the bullet and just switched to Poetry. |
5b7ec2e to
b9dbf2b
Compare
Poetry has a better handle on having a different package name from project name. There were some other issues that influenced the switch, including better dependabot support and reproducible dev enviornments. Signed-off-by: Helder Correia <[email protected]>
b9dbf2b to
4a5052b
Compare
There was a problem hiding this comment.
👍 🚀
The next step is to check that everything works as expected by publishing an 0.1.0-alpha.1 package.
When we confirm that it behaves as expected, we should update ghcr.io/dagger/engine:test ENGINE_IMAGE_REF in sdk/python/src/dagger/connectors/base.py before we publish the final 0.1.0 release. Having reviewed pyproject.toml, there are a few changes in the classifiers that we may want to make before the final release.
By the way:
- this is a test release that @helderco ran it from local: https://test.pypi.org/project/dagger-io/0.2.0a1/
- this is a pre-release that ran via publish-python-sdk.yml GHA: https://pypi.org/project/dagger-io/0.1.0a1/
|
Got API docs working! @helderco @vikram-dagger 😄 final conf.py |

Fixes #3678
Fixes #3682
Fixes #3702
\cc @aluzzardi