ci: Add nightly canary release for python sdk#74
ci: Add nightly canary release for python sdk#74Abhijeet Prasad (AbhiPrasad) merged 6 commits intomainfrom
Conversation
f6588f3 to
f9cedc0
Compare
| #!/usr/bin/env python3 | ||
| """Template the package version module during build.""" | ||
|
|
||
| from __future__ import annotations |
There was a problem hiding this comment.
The only annotations are str and int, so what is from __future__ import annotations used for?
|
Meanwhile, So one might expect I think
|
|
|
|
Maybe remove the |
|
Made the change to handle
I agree! But we can address this in a follow up. |
b3c85e8 to
a0c02f2
Compare
|
|
||
| jobs: | ||
| dispatch-canary-publish: | ||
| runs-on: ubuntu-latest |
There was a problem hiding this comment.
nit: pin to specific version?
There was a problem hiding this comment.
I'll do this as a follow up! We gotta fix that in all of our CI workflows.
Similar to the strategy used here: braintrustdata/braintrust-sdk-javascript#1547, this PR adds a github workflow that publishes a nightly canary release for the braintrust package to Test PyPi. Read through
docs/publishing.md, it has all the info you need.We also don't publish github releases or git tags for canaries for now, but we can change that decision at a later date.
We have to do all the publishing from a single workflow because pypi trusted publishing relies on that.