Skip to content

should readthedocs.yml have a pip version setting? #4500

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

Closed
caganze opened this issue Aug 9, 2018 · 4 comments
Closed

should readthedocs.yml have a pip version setting? #4500

caganze opened this issue Aug 9, 2018 · 4 comments
Labels
Support Support question

Comments

@caganze
Copy link

caganze commented Aug 9, 2018

Hi,

This is the message that I get while trying to build
"You should consider upgrading via the 'pip install --upgrade pip' command", do I have control over this?

Thank you,

@RichardLitt
Copy link
Member

I believe you should have control over this. Could you try running this command locally, and then seeing if the message comes up when you build again?

@RichardLitt RichardLitt added the Support Support question label Aug 9, 2018
@stsewd
Copy link
Member

stsewd commented Aug 9, 2018

The pip version comes from the docker image used to build the docs. See #4127 (comment) (closing in favor of the other issue).

@stsewd stsewd closed this as completed Aug 9, 2018
@ltalirz
Copy link

ltalirz commented Sep 10, 2018

@stsewd I'm not sure (closed) issue #4127 really covers this issue.

For example, my problem is that I need pip >= 10 in order to build my package.
However, including pip>=10 in the requirements.txt does not solve this issue, since the newer pip version is required already at install time (see failed build here ).

In essence, being able to specify the pip version would allow to use a pyproject.toml with pip >= 10.

Is there currently a way to upgrade pip before it tries installing the requirements.txt?

P.S. I tried wiping the environment as suggested in #4127 but this does not upgrade pip to >= 10.

@stsewd
Copy link
Member

stsewd commented Sep 10, 2018

@ltalirz Currently there is no way to do that, we need to wait for the next release of the rtd docker image which should include a more recent version of pip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Support Support question
Projects
None yet
Development

No branches or pull requests

4 participants