openmeter icon indicating copy to clipboard operation
openmeter copied to clipboard

Python package pre-release is painful

Open pbarker opened this issue 7 months ago • 2 comments

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

pbarker avatar Apr 30 '25 22:04 pbarker

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

EtcetFelix avatar May 12 '25 17:05 EtcetFelix

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

pbarker avatar May 12 '25 23:05 pbarker