Closed jsf9k closed 1 year ago
What does @cisagov/team-ois think about creating an issue to get rid of the srvlookup
dependency, so that we are no longer installing pip
packages under the system python? I think it is a good idea.
What does @cisagov/team-ois think about creating an issue to get rid of the
srvlookup
dependency, so that we are no longer installingpip
packages under the system python? I think it is a good idea.
I'm all for it. If we think of reasons why this is a bad idea, they can be discussed in that issue.
What does @cisagov/team-ois think about creating an issue to get rid of the
srvlookup
dependency, so that we are no longer installingpip
packages under the system python? I think it is a good idea.I'm all for it. If we think of reasons why this is a bad idea, they can be discussed in that issue.
See #71 and commit d43d19c.
What does @cisagov/team-ois think about creating an issue to get rid of the
srvlookup
dependency, so that we are no longer installingpip
packages under the system python? I think it is a good idea.I'm all for it. If we think of reasons why this is a bad idea, they can be discussed in that issue.
See #71 and commit d43d19c.
Commenting here to tie it together (commented on the issue already) but I think we should explore using pipx as this problem will be a recurrent thing when Debian Bookworm officially releases later this year (2023). Playing whack-a-mole with specific dependencies is not a long term solution in my opinion. I think using Python virtual environments directly or installing with pipx are better solutions to pursue.
What does @cisagov/team-ois think about creating an issue to get rid of the
srvlookup
dependency, so that we are no longer installingpip
packages under the system python? I think it is a good idea.I'm all for it. If we think of reasons why this is a bad idea, they can be discussed in that issue.
See #71 and commit d43d19c.
Commenting here to tie it together (commented on the issue already) but I think we should explore using pipx as this problem will be a recurrent thing when Debian Bookworm officially releases later this year (2023). Playing whack-a-mole with specific dependencies is not a long term solution in my opinion. I think using Python virtual environments directly or installing with pipx are better solutions to pursue.
Noted. At the same time, this Ansible role is broken today and this PR remedies that. In addition, getting rid of pip install
s on the system Python is a good thing to do even if you end up using pipx
, Rid-X, etc. down the line.
What does @cisagov/team-ois think about creating an issue to get rid of the
srvlookup
dependency, so that we are no longer installingpip
packages under the system python? I think it is a good idea.I'm all for it. If we think of reasons why this is a bad idea, they can be discussed in that issue.
See #71 and commit d43d19c.
Commenting here to tie it together (commented on the issue already) but I think we should explore using pipx as this problem will be a recurrent thing when Debian Bookworm officially releases later this year (2023). Playing whack-a-mole with specific dependencies is not a long term solution in my opinion. I think using Python virtual environments directly or installing with pipx are better solutions to pursue.
Noted. At the same time, this Ansible role is broken today and this PR remedies that. In addition, getting rid of
pip install
s on the system Python is a good thing to do no matter what you end up doing down the line (pipx
, Rid-X, etc.).
Oh yeah I'm totally fine with this PR to get things going now. I'm simply talking about ways to long-term resolve this problem.
π£ Description
This pull request:
vars
file specific to Ubuntu Xenialpip
packages where possiblepip
to fix broken builds on Debian Bookwormπ Motivation and context
pip
balk at installingpip
packages under the system Python, aspip
now (correctly) regards the system Python as "externally managed". In general, it is better to install system packages against the system Python wherever possible.pip
package, since there is no system package available. In order to do this on Debian Bookworm we must insist via a CLI argument thatpip
install the package against the system Python, contrary topip
's better judgement.π§ͺ Testing
All automated tests pass.
β Pre-approval checklist