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

I took test-ibm-ubuntu1804-x64-1 offline as it was failing pip --no-user and so lints were never passing #3273

Closed
Trott opened this issue Mar 31, 2023 · 2 comments

Comments

@Trott
Copy link
Member

Trott commented Mar 31, 2023

I was pinged in Slack by @Qard about the lint job failing repeatedly. I took it to #nodejs-build and you can see the conversation at https://openjs-foundation.slack.com/archives/C03BJP63CH0/p1680236357000469.

test-ibm-ubuntu-1804-x64-1 was getting a lot of this:

python3 -m pip install --no-user --upgrade -t tools/pip/site-packages flake8 || \
21:24:11 	python3 -m pip install --no-user --upgrade --system -t tools/pip/site-packages flake8
21:24:12 
21:24:12 Usage:   
21:24:12   /usr/bin/python3 -m pip install [options] <requirement specifier> [package-index-options] ...
21:24:12   /usr/bin/python3 -m pip install [options] -r <requirements file> [package-index-options] ...
21:24:12   /usr/bin/python3 -m pip install [options] [-e] <vcs project url> ...
21:24:12   /usr/bin/python3 -m pip install [options] [-e] <local project path> ...
21:24:12   /usr/bin/python3 -m pip install [options] <archive url/path> ...
21:24:12 
21:24:12 no such option: --no-user

When I took it offline and the job ended up running on test-equinix-ubuntu2204-x64-1, it passed.

@nodejs/python (I'm guessing/hoping @cclauss will have an immediate recommended/preferred solution. I'm not sure if pip doesn't support no-user anymore or if the version of pip we're running on that machine must be an old one or something else.)

@MoLow
Copy link
Member

MoLow commented Mar 31, 2023

caused & fixed by #3272

@MoLow MoLow closed this as completed Mar 31, 2023
@cclauss
Copy link
Contributor

cclauss commented Mar 31, 2023

The error summary was no such option: --no-user

% pip install --help | grep user

  --user                      Install to the Python user install directory for
  --root-user-action <root_user_action>
                              Action if pip is run as a root user. By default,
                              environment variables and user configuration.
                              scheme://[user:passwd@]proxy.server:port.

Trott pushed a commit to nodejs/node that referenced this issue Mar 31, 2023
cclauss added a commit to nodejs/node that referenced this issue Apr 2, 2023
Trott pushed a commit to Trott/io.js that referenced this issue Apr 2, 2023
Trott pushed a commit to Trott/io.js that referenced this issue Apr 2, 2023
aduh95 pushed a commit to Trott/io.js that referenced this issue Apr 2, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: nodejs#47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
RafaelGSS pushed a commit to nodejs/node that referenced this issue Apr 5, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: #47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
RafaelGSS pushed a commit to nodejs/node that referenced this issue Apr 5, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: #47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
RafaelGSS pushed a commit to nodejs/node that referenced this issue Apr 6, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: #47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
RafaelGSS pushed a commit to nodejs/node that referenced this issue Apr 7, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: #47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
RafaelGSS pushed a commit to nodejs/node that referenced this issue Apr 8, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: #47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
danielleadams pushed a commit to nodejs/node that referenced this issue Jul 6, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: #47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
MoLow pushed a commit to MoLow/node that referenced this issue Jul 6, 2023
Python pip no longer has a `--no-user` option.

Refs: nodejs/build#3273
Refs: https://github.com/pypa/pip/pull/5116/files
PR-URL: nodejs#47372
Reviewed-By: Debadree Chatterjee <debadree333@gmail.com>
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Richard Lau <rlau@redhat.com>
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

No branches or pull requests

3 participants