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

Automate publication of Python SDK for BoaviztAPI #362

Open
demeringo opened this issue Dec 20, 2024 · 4 comments
Open

Automate publication of Python SDK for BoaviztAPI #362

demeringo opened this issue Dec 20, 2024 · 4 comments

Comments

@demeringo
Copy link
Collaborator

demeringo commented Dec 20, 2024

Problem

The historical workflow that allowed to publish a Python SDK for Boavizta API was deleted because under the asumption that the SDK was not used anymore (and because the github action did not work well)..... but it turns out it was a false asumption.

See #356

Solution

Re-enable and fix the github action (worklfow) and document how to publish the sdk.

Alternatives

Additional context or elements

Latest version of the workflow (before deletion : https://github.com/Boavizta/boaviztapi/blob/v1.3.7/.github/workflows/build_client_sdk_with_poetry.yml)

@demeringo
Copy link
Collaborator Author

demeringo commented Dec 20, 2024

To give more context, I think the workflow was mostly working fine (at least to build the package).

The issue seemed to be linked to uploading it to pypi. So it should not be a big issue to fix it.

See this failed workflow log : https://github.com/Boavizta/boaviztapi/actions/runs/12261464371/job/34208525580

I see that the package is published using @bpetit account, I do not know if it would be possible to use a non-personnal account .
This is a genuine question ;-) , I really do not know how to make it under Boavizta.
And I do the same kind of thing for the Rust SDK that is published to crate.io under my name despite being a Boavizta project.

@demeringo
Copy link
Collaborator Author

Issue seems related to PyPI requiring a verified email address when uploading.

https://pypi.org/help/#verified-email

@demeringo
Copy link
Collaborator Author

@bdromard
Copy link
Contributor

I will look into it after the holiday period, probably when I am going to update dependencies for Boagent.
Also, for Boagent, I am using <[email protected]> as a contact email. We set up this address recently to avoid using a personal email address.
Maybe I can use it with PyPi to solve this problem.

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

No branches or pull requests

2 participants