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

Fix linting image build failure due to PEP 668 #1499

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

mkolesnik
Copy link
Collaborator

Pip had a check enabled that fails the install due to packages being managed by the OS.
The added flag ignores this check.

Otherwise, the build fails with:

11.85 × This environment is externally managed
11.85 ╰─>
11.85     The system-wide python installation should be maintained using the
11.85     system package manager (apk) only.
...
11.85 note: If you believe this is a mistake, please contact your Python
  installation or OS distribution provider. You can override this, at the risk
  of breaking your Python installation or OS, by passing
  --break-system-packages.
11.85 hint: See PEP 668 for the detailed specification.

Pip had a check enabled that fails the install due to packages being
managed by the OS.
The added flag ignores this check.

Otherwise, the build fails with:
```
11.85 × This environment is externally managed
11.85 ╰─>
11.85     The system-wide python installation should be maintained using the
11.85     system package manager (apk) only.
...
11.85 note: If you believe this is a mistake, please contact your Python
  installation or OS distribution provider. You can override this, at the risk
  of breaking your Python installation or OS, by passing
  --break-system-packages.
11.85 hint: See PEP 668 for the detailed specification.
```

Signed-off-by: Mike Kolesnik <mkolesni@redhat.com>
@submariner-bot
Copy link

🤖 Created branch: z_pr1499/mkolesnik/fix-linting-image

@mkolesnik
Copy link
Collaborator Author

@tpantelis tpantelis merged commit eef3978 into submariner-io:devel Dec 11, 2023
44 checks passed
@submariner-bot
Copy link

🤖 Closed branches: [z_pr1499/mkolesnik/fix-linting-image]

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

Successfully merging this pull request may close these issues.

4 participants