mirror of
https://github.com/astral-sh/uv.git
synced 2025-07-07 13:25:00 +00:00

This PR copies over the `pep440-rs` crate at commit `a8303b01ffef6fccfdce562a887f6b110d482ef3` with no modifications. It won't pass CI, but modifications will intentionally be confined to later PRs.
1.1 KiB
1.1 KiB
0.3.12
- Implement
FromPyObject
forVersion
0.3.11
- CI fix
0.3.10
- Update pyo3 to 0.19 and maturin to 1.0
0.3.7
-
Add
major()
,minor()
andmicro()
toVersion
by ischaojie (#9) -
0.3.6
-
Fix Readme display
0.3.5
- Make string serialization look more like poetry's
- Implement
__hash__
forVersionSpecifier
0.3.4
- Python bindings for
VersionSpecifiers
0.3.3
- Implement
Display
forVersionSpecifiers
0.3.2
- Expose
VersionSpecifier().operator
andVersionSpecifier().version
to Python
0.3.1
- Expose
Version
fromPyVersion
0.3.0
- Introduced a
PyVersion
wrapper specifically for the Python bindings to work around https://github.com/PyO3/pyo3/pull/2786 - Added
VersionSpecifiers::contains
- Added
Version::from_release
, a constructor for a version that is just a release such as3.8
.
0.2.0
- Added
VersionSpecifiers
, a thin wrapper aroundVec<VersionSpecifier>
with a serde implementation.VersionSpecifiers::from_str
is now preferred overparse_version_specifiers
. - Reexport rust function for python module