Skip to content

pip.conf not used / default system pip used / not upgraded #246

@gst

Description

@gst

Hi, having :

06:09 $ pip list
Package    Version
---------- -------
build      0.3.0
packaging  20.9
pep517     0.9.1
pip        21.0.1
pyparsing  2.4.7
setuptools 51.3.3
toml       0.10.2
wheel      0.36.2

06:09 $ python -V
Python 3.8.5

06:09 $ cat pyproject.toml 
[build-system]
requires = ["setuptools>=40.1.0", "wheel", "toml", "axsetuptools"]
build-backend = "setuptools.build_meta"

I see that my /etc/pip.conf is not honored / taken into account to download build dependencies (which are in pyproject.toml).

I expected it to be used ..

EDIT:

it's because the "stock" pip version of ubuntu is used.. and that version appears to be 20.0.2 :

pip 20.0.2 from /usr/lib/python3/dist-packages/pip (python 3.8)

So the issue is that build does not upgrade pip prior to installing the dependencies..

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions