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 PyPI releases #47

Open
kinow opened this issue Oct 22, 2024 · 1 comment
Open

Automate PyPI releases #47

kinow opened this issue Oct 22, 2024 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@kinow
Copy link
Member

kinow commented Oct 22, 2024

We can automate the whole process of reviewing the version, that it's a tag, and that it's uploaded to PyPI with existing GitHub Actions used in multiple other projects. Here are some examples that I am aware of or worked with in the past:

@kinow kinow added enhancement New feature or request good first issue Good for newcomers labels Oct 22, 2024
@kinow
Copy link
Member Author

kinow commented Oct 22, 2024

Note: we must not test this with our official package in PyPI. I believe RO-Crate-py uses the test-pypi instance. It's an old service offered by PyPI so that devs can test that everything works before publishing a release. We can fork it or create a new repo, play with actions, and then once we are confident of how things work, then we schedule half-day to cut the first release (and solve any issues).

Then future releases should take between 30 and 180 seconds, I think (tests are taking 30 seconds at the moment). After this time, the package would then be available on PyPI, with the GitHub tag created, etc.

https://test.pypi.org/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant