-
-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix version-check. #489
Fix version-check. #489
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The code looks functional, a few comments on layout/syntax. This would benefit from an additional test or two leveraging the new version string allowed, though.
Made requested changes; added tests; waiting for them to pass. |
@rnelson0 -- Woo-hoo! Tests passed. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As mentioned in Slack, so many ::s :) But it works just fine! Looks like tests are passing so it should be good to go. Can you just add a note about whether you’ve tried using this locally, in a more complex environment, before merging?
Removed Yes, I'm using this locally to install requisites for pre-commit. |
This is actually breaking. If I specify version |
@jozsi thanks for pointing this out. Are you able to provide a PR with a test that matches this? |
@bastelfreak - I am away for a couple of days. I just used the latest
"puppet-agent-ubuntu" docker image (now based on Ubuntu 18.04 Bionic) and
provision with a puppet manifest that only contains puppet-python (v3.0.1) set to
version "python3.7" or "3.7". Both gets interpreted as "python3" under the
hood*, that is already satisfied by "python3.6" installed on the system, so
no action is taken by ensure.
* https://github.com/voxpupuli/puppet-python/blob/master/manifests/install.pp#L12
|
This worked before voxpupuli#489. Fixes voxpupuli#508.
This worked before voxpupuli#489. Fixes voxpupuli#508.
This worked before voxpupuli#489. Fixes voxpupuli#508.
This worked before voxpupuli#489. Fixes voxpupuli#508.
Fixes #303
Fixes #354
Fixes #420
Fixes #429
Fixes #444
Fixes #476
Allows Python3 installation on Centos-7 thusly: