Package: python-releases / 1.6.3-2
Metadata
| Package | Version | Patches format |
|---|---|---|
| python-releases | 1.6.3-2 | 3.0 (quilt) |
Patch series
view the series file| Patch | File delta | Description |
|---|---|---|
| 0001 Remove travis ci image and link to avoid privacy bre.patch | (download) |
README.rst |
3 0 + 3 - 0 ! |
remove travis-ci image and link to avoid privacy breach |
| 0002 Remove calculated date from docs conf.py to support .patch | (download) |
docs/conf.py |
3 1 + 2 - 0 ! |
remove calculated date from docs/conf.py to support reproducible builds |
| 0003 Fix usage of semanticversion to intended API.patch | (download) |
releases/__init__.py |
2 1 + 1 - 0 ! |
fix usage of semanticversion to intended api.
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 8bit
The recent versions of python-semanticversion made changes to private
APIs, removing the interaction between `Version(x, partial=True)` and
`Spec()` (`partial=True` was designed for implementing the `Spec` class
only)
The code used these classes to exclude ranges of version whose major
component didn't match a bugfix/issue range; the code went akin to:
Version('1', partial=True) in Spec('>=1.0')
This no longer works; this patch changes that behaviour to exclude
families where no actual release matches the bugfix/issue range - this
should be more accurate.
The patch also uses `Version.coerce`, the intended API to manage
non semver-compliant version strings.
The patch has been tested with both python-semanticversion==2.6.0 and
python-semanticversion==2.8.1; it can be included to an upgraded version
of `releases` even if users haven't yet upgraded python-semanticversion.
|
1
