ansible/test
Matt Martz d3ec31f8d5
Support pre-releases via new SemanticVersion (#68258)
* Support pre-releases via new SemanticVersion. Fixes #64905

* Don't treat buildmeta as prerelease

* Don't inherit from str and int

* Add helper method to try and construct a SemanticVersion from a LooseVersion

* Don't count major 0 as pre-release, it's different

* Guard against invalid or no version in LooseVersion

* return a bool

* Add integration tests for pre-release

* Fix up lingering issues with comparisons

* typo fix

* Always allow pre-releases in verify

* Move pre-release filtering into CollectionRequirement, add messaging when a collection only contains pre-releases

* Update changelog

* If explicit requirement allow pre releases

* Enable pre-releases for tar installs, and collections already installed when they are pre-releases

* Drop --pre-release alias, make arg name more clear

* Simplify code into a single line

* Remove build metadata precedence, add some comments, and is_stable helper

* Improve from_loose_version

* Increase test coverage

* linting fix

* Update changelog
2020-03-23 16:04:07 -05:00
..
ansible_test
integration Support pre-releases via new SemanticVersion (#68258) 2020-03-23 16:04:07 -05:00
lib/ansible_test Fix ansible-test PATH handling. 2020-03-23 13:06:03 -07:00
sanity remove azure extras and extras_require support (#67822) 2020-03-23 13:07:33 -07:00
support Internally redirect win modules to collection name (#68317) 2020-03-23 11:14:21 -05:00
units Support pre-releases via new SemanticVersion (#68258) 2020-03-23 16:04:07 -05:00
utils/shippable Update ansible-test network test provisioning. (#68220) 2020-03-23 11:14:21 -05:00