graphite-project / graphite-project/graphite-web

[BUG] --install-options are suppressed by pip 20.2.3

Open
#2,640 3 comments 1 reaction 1 assignee View on GitHub

@deniszh is already working on this.

Since Nov 28, 2022.

bug pinned
Dominant language
JavaScript
Stars
6.1k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

May not be a bug but I would like to just to inform that documentation may not be up to date. And maybe you may want to do some changes (in code or docs) so that latest version of pip 20.2.3 can aligned.

Describe the bug
When using latest version of pip 20.2.3. --install-options containing paths are no longer supported.
See also https://github.com/pypa/pip/issues/7309

To Reproduce
When running as decribed in DOCS one will see an error:

pip install --upgrade pip==20.2.3 
pip install graphite-web==1.1.7 --install-option="--prefix=/srv/graphite" --install-option="--install-lib=/srv/graphite/webapp"
ERROR: Location-changing options found in --install-option: ['--install-lib', '--prefix'] from command line. This is unsupported, use pip-level options like --user, --prefix, --root, and --target instead.

Environment (please complete the following information):

  • OS flavor: Ubuntu 18.04 using Docker
  • Graphite-web version: 1.1.7
  • Django/Python version: 3.7
  • Setup type: pip 20.2.3

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.