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

Automated backport of #1226: Pin markdownlint-cli version #1228: Pin gitlint version #1499: Fix linting image build failure due to PEP 668 #1513

Conversation

skitt
Copy link
Member

@skitt skitt commented Dec 18, 2023

Backport of #1226 #1228 #1499 on release-0.13.

#1226: Pin markdownlint-cli version
#1228: Pin gitlint version
#1499: Fix linting image build failure due to PEP 668

For details on the backport process, see the backport requests page.

dfarrell07 and others added 3 commits December 18, 2023 09:20
Avoid unplanned changes in linting requirements that can make it harder
to get unrelated patches merged.

Relates-to: submariner-io#884
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
Avoid unplanned changes in linting requirements that can make it harder
to get unrelated patches merged.

I looked at removing the need for pip by installing gitlint from the OS,
but it's not available in Alpine (it is in Fedora).

Relates-to: submariner-io#884
Signed-off-by: Daniel Farrell <dfarrell@redhat.com>
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_pr1513/skitt/automated-backport-of-#1226-#1228-#1499-origin-release-0.13

@tpantelis tpantelis merged commit a5384c6 into submariner-io:release-0.13 Dec 18, 2023
30 of 37 checks passed
@submariner-bot
Copy link

🤖 Closed branches: [z_pr1513/skitt/automated-backport-of-#1226-#1228-#1499-origin-release-0.13]

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.

5 participants