Skip to content

Python package pre-release is painful #2756

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

Open
pbarker opened this issue Apr 30, 2025 · 2 comments
Open

Python package pre-release is painful #2756

pbarker opened this issue Apr 30, 2025 · 2 comments

Comments

@pbarker
Copy link

pbarker commented Apr 30, 2025

All of your pypi packages are pre-releases. This means that anyone who imports your package using most of the major package managers needs to add the flag like --prerelease=allow

This is even the case if you are a sub-dependency of another project. It is confusing, verbose, and completely unnecessary. You can simply use 0.x.x to signify its not stable, pre-releases are explicitly for doing beta testing on a single new version, not a state the package should be kept in for 60 releases

@EtcetFelix
Copy link

Was having trouble installing. This issue helped me.

Had to add openmeter>=1.0.0b188 to my pyproject.toml and do
pip install --pre openmeter

@pbarker
Copy link
Author

pbarker commented May 12, 2025

yeah we just shouldn't be doing --pre openmeter every time it needs to be installed when its not a prerelease its just 0.x.x. release

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