Skip to content

uv fixes#884

Merged
fealebenpae merged 3 commits intomasterfrom
fealebenpae/evergreen-uv-installation
Mar 11, 2026
Merged

uv fixes#884
fealebenpae merged 3 commits intomasterfrom
fealebenpae/evergreen-uv-installation

Conversation

@fealebenpae
Copy link
Contributor

@fealebenpae fealebenpae commented Mar 10, 2026

Summary

With the adoption of uv we started using uv to also manage our Python versions. This brought about two problems - our aarch64 build hosts had an old (0.6) version of uv deployed which lacks aarch64 prebuilds for Python 3.13.7, and the Python prebuilds themselves statically link OpenSSL. The latter is a problem because the system OpenSSL install on our build hosts can contain configuration which confuses the statically-linked copy and cause it to fail initializing a SSL context.

The fix for both of these is to change how we build the Python environment - on Evergreen we ignore any existing uv and always install our own copy with its own caches. Additionally, we patch the venv activation script to set the OPENSSL_CONF environment variable to a value that causes OpenSSL to ignore the system configuration.

Proof of Work

  • Successful patch for the arm64 smoke tests.
  • Successful patch for preflight_official_database_image, which was failing because of pipeline.py's failure to access the Quay REST API through HTTPS.

Checklist

  • Have you linked a jira ticket and/or is the ticket in the title?
  • Have you checked whether your jira ticket required DOCSP changes?
  • Have you added changelog file?

@fealebenpae fealebenpae self-assigned this Mar 10, 2026
@github-actions
Copy link

⚠️ (this preview might not be accurate if the PR is not rebased on current master branch)

MCK 1.7.1 Release Notes

Other Changes

  • Container images: Merged the init-database and init-appdb init container images into a single init-database image. The init-appdb image will no longer be published and does not affect existing deployments.
  • Helm Chart: Removed operator.baseName Helm value. This value was never intended to be consumed by operator users and was never documented. The value controls the prefix for workload RBAC resource names (mongodb-kubernetes default), but changing it could break the operator and workloads because the operator is not aware of custom prefixes. With this change, the Helm chart will no longer allow customisation and the relevant resources will be deployed with predefined names (ServiceAccount with names mongodb-kubernetes-appdb, mongodb-kubernetes-database-pods, mongodb-kubernetes-ops-manager, Role with name mongodb-kubernetes-appdb and RoleBinding with name mongodb-kubernetes-appdb).

@fealebenpae fealebenpae added the skip-changelog Use this label in Pull Request to not require new changelog entry file label Mar 10, 2026
@fealebenpae fealebenpae force-pushed the fealebenpae/evergreen-uv-installation branch from 0dd6749 to ea559dc Compare March 10, 2026 14:56
@fealebenpae fealebenpae changed the title Always install uv on Evergreen uv fixes Mar 10, 2026
@fealebenpae fealebenpae marked this pull request as ready for review March 10, 2026 15:17
@fealebenpae fealebenpae requested review from a team as code owners March 10, 2026 15:17
Copy link
Member

@mircea-cosbuc mircea-cosbuc left a comment

Choose a reason for hiding this comment

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

LGTM, Thank you!

@fealebenpae fealebenpae merged commit 2e92557 into master Mar 11, 2026
31 checks passed
@fealebenpae fealebenpae deleted the fealebenpae/evergreen-uv-installation branch March 11, 2026 12:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip-changelog Use this label in Pull Request to not require new changelog entry file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants