Skip to content

ci: Fix failing mypy via sudo apt-get update -- small - #62

Merged
aiudirog merged 1 commit into
pythongssapi:mainfrom
cclauss:ci-fix-failing-mypy
Sep 18, 2026
Merged

aiudirog merged 1 commit into
pythongssapi:mainfrom
cclauss:ci-fix-failing-mypy

Conversation

@cclauss

@cclauss cclauss commented Sep 17, 2026 •

Copy link
Copy Markdown
Contributor

Fix the failing mypy tests in GitHub Actions CI, which unblocks:

-        run: sudo apt-get install -y libkrb5-dev krb5-user krb5-kdc krb5-admin-server krb5-multidev
+        run: |
+          sudo apt-get update -qq
+          sudo apt-get install --yes libkrb5-dev krb5-user krb5-kdc krb5-admin-server krb5-multidev

Test results: https://github.com/cclauss/httpx-gssapi/actions/runs/35278668903

Note

Always run sudo apt-get update before installing a package. In case the apt index is stale, this command fetches and re-indexes any available packages, which helps prevent package installation failures.

https://docs.github.com/en/actions/how-tos/manage-runners/github-hosted-runners/customize-runners?versionId=free-pro-team%40latest&productId=actions&restPage=get-started%2Cunderstand-github-actions#installing-software-on-ubuntu-runners

@cclauss cclauss changed the title ci: Fix failing mypy via sudo apt-get update ci: Fix failing mypy via sudo apt-get update -- small Sep 17, 2026

@aiudirog aiudirog left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me, thanks for squaring away the CI fixups

@aiudirog
aiudirog merged commit 2b24608 into pythongssapi:main Sep 18, 2026
@cclauss
cclauss deleted the ci-fix-failing-mypy branch September 18, 2026 05:32
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

Successfully merging this pull request may close these issues.

2 participants