mirror of
https://github.com/google/brotli.git
synced 2026-07-08 17:56:58 +00:00
Please DO NOT upload built distribution wheels without updating the version #522
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @jnhyperion on GitHub (Oct 22, 2024).
For using who're using poetry or similar dependency lock tools, this will cause the lock file out of date without any library version update.
Please avoid doing this.
@anthrotype commented on GitHub (Oct 22, 2024):
Sorry about that. Last week I triggered the CI on https://github.com/google/brotli-wheels to build and upload wheels for newly released Python 3.13 but that might have also accidentally upload extra wheels for older pythons as you show above.
The version of the Brotli python module as defined in its setup.py is actually sourced from the https://github.com/google/brotli/blob/master/c/common/version.h header so it must be in sync with the embedded C library. If we want to update the version of the python module, the maintainers would also need to make a release to bump the version.
Alternatively, we could allow the python module's version to be decoupled from the lib's version, but then there's the risk they may go out of sync.
/cc @eustas
@eustas commented on GitHub (Nov 20, 2024):
Hopefully we will have next release this year.
@kurtmckee commented on GitHub (Dec 19, 2024):
@anthrotype
Python versioning is more expressive than this.
For example, public version identifiers are defined to simply be any number of dot-separated values, so you could release new versions as:
You could also codify that the first X numbers are your package version, followed by the brotli version, like:
In short, the package version doesn't have to be as constrained as it currently is.
@kurtmckee commented on GitHub (Dec 19, 2024):
After reviewing other issues involving Python 2.7 failures, I think my recommendation here would be to use the first X numbers for your package version, followed by the brotli version.
Documenting what the numbers mean then allows people to pin their dependencies in the ways that they meaningfully want, like
brotli>=1.2,<1.3.