Skip to content
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

Disable use of PEP517 in setup_agent #3859

Closed
wants to merge 1 commit into from
Closed

Disable use of PEP517 in setup_agent #3859

wants to merge 1 commit into from

Conversation

belidzs
Copy link

@belidzs belidzs commented Oct 22, 2019

What does this PR do?

It will disable the use of PEP517 during installing python packages with pip.

Motivation

Execution failed on Raspberry Pi 4B with BackendUnavailable during installation of the dependency lazy-object-proxy

Testing Guidelines

None

@darthnater007
Copy link

Hi Team, I've discovered the root issue of this pep517 Backend Unavailable stacktrace is a bug within pip 19.x

pypa/pip#6164

Source install is broken by default on some machines

The above issue indicated that the pip v19.x is the issue, and version 18.1 of pip will resolve this:

Steps
I pulled down a local repo of the agent, and set $PIP_VERSION=“18.1” in dd-agent/packaging/datadog-agent/source/setup_agent.sh
(https://github.com/DataDog/dd-agent/blob/master/packaging/datadog-agent/source/setup_agent.sh#L17)

This has allowed the requirements portion fo the install to complete without issue.

@belidzs belidzs closed this Feb 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants