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

Initial release of pytest-jupyterhub #45

Closed
5 tasks done
Sheila-nk opened this issue Mar 23, 2023 · 10 comments · Fixed by #52
Closed
5 tasks done

Initial release of pytest-jupyterhub #45

Sheila-nk opened this issue Mar 23, 2023 · 10 comments · Fixed by #52

Comments

@Sheila-nk
Copy link
Collaborator

Sheila-nk commented Mar 23, 2023

In preparation for the alpha release of pytest-jupyterhub, this issue will help us keep track of things we need to do to prepare for the release. Feel free to let me know if I have missed any steps.

@Sheila-nk Sheila-nk added the enhancement New feature or request label Mar 23, 2023
@Sheila-nk
Copy link
Collaborator Author

The RELEASE.md file in the jupyterhub-python-repo-template provides a great guide for making a release.

@Sheila-nk
Copy link
Collaborator Author

Quick question @GeorgianaElena and @minrk
I am currently working on updating the changelog using github-activity.
I have PRs open for updating the README file and contributing guidelines and also plan on making more PRs before the release. Should I wait until all PRs related to the release are merged before creating a PR for the changelog? Should it be the last thing I work on?

@minrk
Copy link
Member

minrk commented Apr 3, 2023

You can wait, or you can make further PRs to the changelog if an initial changelog has been merged already.

Often, we open a work-in-progress PR to the changelog, and update it in-place a few times as preparation for a release. For example, this one.

This was referenced Apr 11, 2023
@consideRatio consideRatio added maintenance and removed enhancement New feature or request labels Apr 14, 2023
@consideRatio
Copy link
Member

Great work on this project @Sheila-nk!

I figure we can go directly to an initial release versioned 0.1.0 rather than an alpha release like 0.1.0a1. Then we can do pip install pytest-jupyterhub and it will work without pip install --pre pytest-jupyterhub which also would install pre-releases like an alpha / beta / release candidate.

Overall, we have used preview releases like beta for new major versions in jupyterhub/jupyterhub, jupyterhub/zero-to-jupyterhub-k8s, but not in other projects so far.

@Sheila-nk
Copy link
Collaborator Author

Thanks @consideRatio
I am pretty pumped since I just noticed we are now one task away from the release!!! 💯 💯
Allow me to ask, the main purpose of the alpha release is so people can try out and test the project for bugs before the official initial release, yes? What's the beta release for?

@consideRatio
Copy link
Member

[...] the main purpose of the alpha release is so people can try out and test the project for bugs before the official initial release, yes? What's the beta release for?

There is Alpha releases, Beta releases, and release candidates. To my knowledge, the difference is not described in definite terms, but I have an expectation on an alpha release to be less mature than a beta release, and a beta release to be less mature than a release candidate.

Check out the pre-releases of jupyterlab 4, they have worked a long time on jupyterlab 4 and provided alpha releases for a long time, but are now transitioning to beta releases: https://pypi.org/project/jupyterlab/#history. Maybe they will also provide a release candidate - I'm not sure.

I figure before a project has become a bit mature and become adopted by a group of users, its less relevant to provide alpha/beta/rc pre-releases. But when there is a group of users adopting something, a subset of the group may want to trial the latest bugfixes and features earlier than others - and by doing so accept a possible regression or similar. In the case for a new project like this, i figure its either something you trial at all or not anyhow.

@consideRatio
Copy link
Member

consideRatio commented Apr 14, 2023

Speaking of versions, I think the text in https://semver.org/ is great and provides guidance on when to change the version number and to what (The introduction and the FAQ section especially). The FAQ part for example describes when it may make sense to publish 1.0.0.

@consideRatio
Copy link
Member

A jupyterlab goes for alpha -> beta -> release candidates even between minor versions it seems! (3.6.0, 3 is major, 6 is minor, 0 is patch)

image

@manics
Copy link
Member

manics commented Apr 14, 2023

I also think it's fine to go straight to 0.1.0. Anything less than 1.0.0 is generally assumed to be in development, unless there's evidence to the contrary, e.g. packages which are used in production but no-ones ever gotten round to bumping it to 1.0.0.

@Sheila-nk Sheila-nk changed the title Alpha release of pytest-jupyterhub Release of pytest-jupyterhub Apr 25, 2023
@Sheila-nk Sheila-nk changed the title Release of pytest-jupyterhub Initial release of pytest-jupyterhub Apr 25, 2023
@Sheila-nk
Copy link
Collaborator Author

Thanks, @consideRatio for the in-depth explanation and resources to help me understand versioning.
It does make sense to go straight to 0.1.0 and then move from there as the project grows and gets more users.

I am currently working to update the changelog. Once merged, I will go ahead with the release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants