You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Summary
**Python environment and version management:**
- The `ensure_required_python` function in `recreate_python_venv.sh` now
installs a specific, pinned Python version (`3.13.7` by default) for
consistency across runs, instead of installing the latest version in a
major/minor series. It also removes redundant logic and streamlines the
installation process.
- The script now checks for and installs the `python3-venv` package on
Debian/Ubuntu systems before attempting to set up Python with pyenv,
improving compatibility on those platforms.
**Virtual environment activation and AWS CLI setup:**
- The AWS CLI installation script (`setup_aws.sh`) has been updated to
require and activate the Python venv before installing AWS CLI with pip,
ensuring all installations are isolated and reproducible. It also
verifies AWS CLI functionality within the venv and reinstalls if
necessary.
- The container authentication configuration script
(`configure_container_auth.sh`) now automatically activates the venv if
it exists, which is necessary for AWS CLI usage on IBM architectures.
## Proof of Work
- green ci
- [smoke test
run](https://spruce.mongodb.com/version/68b57f84a001500007f90609/tasks?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC)
(the test failure is because staging doesn't work - so the images are
not build on multi-arch but aws setup is working as shown there. It has
been re-run to show it works on the same machine multiple times)
## 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?
- use `skip-changelog` label if not needed
- refer to [Changelog files and Release
Notes](https://github.com/mongodb/mongodb-kubernetes/blob/master/CONTRIBUTING.md#changelog-files-and-release-notes)
section in CONTRIBUTING.md for more details
0 commit comments