Comments (5)
Hey @siebrand - yeah this is what I was aiming to accomplish. I'm currently using a fork in which it works well.
I think the barrier was the issue @smortex was referring to - in which two pyvenvs cannot share the same requirements.txt. I think it's worth noting though that I encounter this with upstream and with my branch. I'm not sure how to resolve that issue. But setting the local subscribe to undef doesn't appear to matter, at least from my testing.
from puppet-python.
Hi @siebrand
It's unknown to me how to try and get more attention for this ticket...
The most efficient way to move on is probably to open a PR with a first commit that add a failing test that reproduce the problem you encounter. Then add a second commit to implement a fix.
This make it easier for contributors to reproduce the issue and tinker with the issue to fix it the best possible way.
Thanks!
from puppet-python.
Experiencing the exact same issue, though it's worth noting that it only seems to occur on puppet 6.x hosts. When I run my bolt plan that leverages this module against a host with puppet 4.8 I do not encounter this issue.
Puppet: 6.18.0 (client) / 6.19.1 (bolt host)
Ruby: ruby 2.4.10p364 (2020-03-31 revision 67879) [x86_64-linux] (client) / ruby 2.6.3p62 (2019-04-16 revision 67580) [universal.x86_64-darwin19] (bolt host)
Distribution: CentOS 7.7
Module version: 6.0.0 / 6.1.0
Requirements file is not enforced, verbose puppet logs indicate python::requirements
class never ran.
The fix @siebrand indicated worked for me as well. What's the purpose of setting subscribe
to undef in this instance?
If there isn't one, I'm happy to open a PR for this fix. Tested against hosts running Centos 7.7, 7.9 and against Puppet Agent versions 4.8.2, 6.18.0
from puppet-python.
I'm going to resolve to forking because I can't really wait for this to get attention. Could a committer please comment what the issue is with this ticket and the proposed solution? It's unknown to me how to try and get more attention for this ticket...
from puppet-python.
This make it easier for contributors to reproduce the issue and tinker with the issue to fix it the best possible way.
Thanks for your reply, @smortex. I understand that. I am however completely unfamiliar with testing for puppet classes. So I tried to analyze, and explain in my report as best as I could.
It's unknown to me how to try and get more attention for this ticket...
The most efficient way to move on is probably to open a PR with a first commit that add a failing test that reproduce the problem you encounter. Then add a second commit to implement a fix.
Isn't this what @acullenhms did in #619? It's been waiting for attention since 2021-08-27.
from puppet-python.
Related Issues (20)
- do not use resource defaults in modules
- do not fail on unsupported OSes
- `python::pip`'s 'latest' not compatible with latest 'pip' (version 20.3) due to changed output HOT 7
- Set SELinux options on the File (Folder) generated by pyvenv HOT 1
- Pip uninstall does not support pkgname variable
- Release v6.0.2
- keep backwards compatible support for python-virtualenv
- Could not evaluate: Working directory <virualenv> does not exist!
- ensure not detecting a pip version HOT 4
- Package with provider pip3 tries installing every run. HOT 2
- `python::pip` doesn't reinstall if `extras` is updated (with no change in `ensure`)
- pyvenv cannot install until $facts['python3_version'] exists (or is overidden) on RedHat style OSes HOT 2
- puppet tries to install latest version of a pip package on every run
- Only supports CentOS, no other derivatives
- Add support for Amazon Linux 2023
- Rework package management to allow composition of dependencies
- Support puppet-epel 5.0.0 dependency
- python::umask has no effect on exec ressources
- Not possible to use multiple python versions for virtualenvs
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-python.