Skip to content
This repository has been archived by the owner on Oct 2, 2023. It is now read-only.

Fix tests resulting from pip dropping support for legacy Python #1723

Merged
merged 1 commit into from Feb 2, 2021

Conversation

faximan
Copy link
Contributor

@faximan faximan commented Feb 2, 2021

The tests are using a base image that only has python3.5.
Currently the //testing/examples/run_instruction_arbitrary:all tests are failing with

stderr: Traceback (most recent call last):
  File "/usr/local/bin/pip", line 7, in <module>
    from pip._internal.cli.main import main
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 60
    sys.stderr.write(f"ERROR: {exc}")
                                   ^
SyntaxError: invalid syntax

This was fixed upstream in pyenv/pyenv#1793 but it is not clear to me how/when we can expect to see that as part of launcher.gcr.io/google/bazel:latest.

…n versions.

The tests are using a base image that only has python3.5 and currently the run_arbitrary tests are failing with

```
stderr: Traceback (most recent call last):
  File "/usr/local/bin/pip", line 7, in <module>
    from pip._internal.cli.main import main
  File "/usr/local/lib/python3.5/dist-packages/pip/_internal/cli/main.py", line 60
    sys.stderr.write(f"ERROR: {exc}")
                                   ^
SyntaxError: invalid syntax
```

This was fixed upstream in pyenv/pyenv#1793 but it is not clear to me how/when we can expect to see that as part of launcher.gcr.io/google/bazel:latest.
@smukherj1
Copy link
Collaborator

/gcbrun

@k8s-ci-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: faximan, smukherj1

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@smukherj1 smukherj1 merged commit 6e063f4 into bazelbuild:master Feb 2, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants