Comments (6)
I don't believe anything needs to be done about this. I can see ways that this task could be improved, but since it is allowing either a dict/hash/map or just a string, it is probably best written like this instead of complicated filter logic.
The warning is basically stating that squashing the loop into a single invocation of the pip
module will no longer happen in 2.11. This task will continue working, it may just be slower in the future, as it will invoke pip
for each item in the loop.
The comment above clarifies some additional things that I was going to add here as well.
from ansible-role-pip.
@sivel thanks for clarifying. I think I'll leave this issue open until 2.11 anyways, just so people bumping into it have a reference point.
from ansible-role-pip.
Still don't know what to do for this.
from ansible-role-pip.
According to some internal chatter, it sounds like the task will still work in 2.11, it just won't 'squash' all the loop items into one execution of the task. So instead of installing like:
pip install package1===1.2.3 package2===2.3.4
It would install like:
pip install package1===1.2.3
pip install package2===2.3.4
If that's the case, this doesn't seem like a big deal to me; the convenience of easy control over all the pip package install parameters (per package) is more important than task execution time (considering most of my playbooks maybe install 2-3 packages total, not hundreds).
from ansible-role-pip.
This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!
Please read this blog post to see the reasons why I mark issues as stale.
from ansible-role-pip.
This issue has been closed due to inactivity. If you feel this is in error, please reopen the issue or file a new issue with the relevant details.
from ansible-role-pip.
Related Issues (20)
- Support installing packages from requirements.txt HOT 2
- find_packages() got an unexpected keyword argument 'include' HOT 3
- CentOS 8 / EL 8, python-pip is not an available package HOT 8
- Barfs out with "ImportError: No module named pkg_resources" HOT 4
- PIP install should not set ansible PPA HOT 3
- Would it be possible to allow us to pass extra_args?
- Getting a 404 error when download the .deb HOT 1
- [DEPRECATION WARNING]: Invoking "pip" only once while using a loop via squash_actions is deprecated HOT 10
- Fails on Ubuntu HOT 4
- Setting `virtualenv` leads to "parameters are mutually exclusive: executable|virtualenv" HOT 2
- Wrong Repo URL HOT 2
- How to install the latest 21.3.1 version of pip, and not 9.0.1 - cant install docker-compose on Ubuntu 18.04 HOT 4
- No package matching 'python3-pip' is available HOT 3
- Failed install on debian10 HOT 3
- Parameters are mutually exclusive: executable|virtualenv HOT 6
- pip breaks after running geerlingguy.pip HOT 3
- Can't install docker using pip on Debian 12 HOT 9
- docker-compose pip package installation fails on Debian 12. HOT 3
- Can't install role from Ansible Galaxy: error: unable to compare role versions HOT 7
- v3 tag isn't available on anible-galaxy HOT 3
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 ansible-role-pip.