| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| __init__.py | ||
| test_main.py | ||
| test_version.py | ||
| test_version_range.py |
* Fix PEP440 compatible release (`~=`) handling PEP440 compatible release version range (`~=`) should have itself as a minimum value. Examples from [official doc](https://python.org/dev/peps/pep-0440/#compatible-release) (each pair is equivalent): ``` ~=2.2 >=2.2, ==2.* ~=1.4.5 >=1.4.5, ==1.4.* ~=2.2.post3 >=2.2.post3, ==2.* ~=1.4.5a4 >=1.4.5a4, ==1.4.* ``` In every case, lower bound is exactly same as the input version. Current incorrect behavior was originally introduced 2 years ago by commit c55d55a8, where it tried to reset patch version to 0 for tilde expression. Closes #1150. * Fix Black lint
| Name |
Last commit
|
Last Update |
|---|---|---|
| .. | ||
| __init__.py | Loading commit data... | |
| test_main.py | Loading commit data... | |
| test_version.py | Loading commit data... | |
| test_version_range.py | Loading commit data... |