Closed kennedyjosh closed 1 year ago
I'm making this issue here because I believe the issue has to do with the lack of semantic versioning currently in place by using 6.0.0-dev0
as the version. If it is a more of an issue with ansible-galaxy I can make the issue in the core ansible repo instead.
The best we can offer from the collection side of things is to use ansible-galaxy collection install -r requirements.yml --pre
, which should successfully install. Other than that, you would need to file an issue on the ansible/ansible repo as the dependency resolution is all handled there.
Just to add: 6.0.0-dev0
is a valid semver.
See https://semver.org/ for more information.
A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-].
It's reported as a prerelease (dev0
), because we've already split stable-5
(5.x) from main, so that we can land planned breaking changes for 6.0.0 as early as possible. What you're seeing is actually an Ansible bug https://github.com/ansible/ansible/pull/79112 and something we will only change on our side once main
is branched into stable-x
for release.
The best we can offer from the collection side of things is to use
ansible-galaxy collection install -r requirements.yml --pre
, which should successfully install
ansible-galaxy doesn't seem to recognize the --pre
tag when I try this @gravesm
Just to add: 6.0.0-dev0 is a valid semver.
See https://semver.org/ for more information.
Thank you – I learn something new every day!
The help for ansible-galaxy on ansible 2.13 shows the --pre option. If you are finding it's not working you will need to file an issue in the main ansible repo.
Summary
Due to a recent bug fix in a version > 5.0.2, my project requires a version >= a specific commit from this repo. Additionally, my project must use a
requirements.yml
file to install necessary collections, as it is infeasible for other users of my project to use the workaround mentioned here. Due to an issue with dependencies and/or the way this project has versioned itself, this currently does not work.Issue Type
Bug Report
Component Name
amazon.aws
Ansible Version
Collection Versions
AWS SDK versions
Configuration
OS / Environment
macOS 12.5
Steps to Reproduce
requirements.yml
Expected Results
I expect the collection to be installed with no issues
Actual Results
Code of Conduct