Skip to content

Commit

Permalink
[u] Update Python to 3.11.6 (#5723)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsotirho-ucsc committed Nov 29, 2023
1 parent 53968f1 commit a8a358f
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 6 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -1034,7 +1034,7 @@ found in [`AzulTestCase`](test/azul_test_case.py) and commit the modifications.
## Setting up the Azul build prerequisites on macOS 12 (Monterey)
The steps below are examplary for Python 3.11.5. Replace `3.5.11` with the
The steps below are examplary for Python 3.11.6. Replace `3.11.6` with the
version listed in [environment.boot](environment.boot).
Make `bash` the default shell. Google it.
Expand All @@ -1050,10 +1050,10 @@ brew install zlib pyenv
Install python
```
pyenv install 3.11.5
pyenv install 3.11.6
```
Set `PYENV_VERSION` to `3.11.5` in `environment.local.py` at the project root.
Set `PYENV_VERSION` to `3.11.6` in `environment.local.py` at the project root.
Do not set `SYSTEM_VERSION_COMPAT`. For a more maintainable configuration use
`os.environ['azul_python_version']` as the value and `import os` at the top.
Expand Down Expand Up @@ -2321,7 +2321,7 @@ If you add a dependency on a package with native code, you need to build the
wheel manually:

```
(.venv) ~/workspace/hca/azul$ docker run -it -v ${project_root}/:/root/azul python:3.11.5-bullseye bash
(.venv) ~/workspace/hca/azul$ docker run -it -v ${project_root}/:/root/azul python:3.11.6-bullseye bash
root@97804cb60d95:/# pip --version
pip 22.0.4 from /usr/local/lib/python3.11/site-packages/pip (python 3.11)
Expand Down
22 changes: 22 additions & 0 deletions UPGRADING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,28 @@ reverted. This is all fairly informal and loosely defined. Hopefully we won't
have too many entries in this file.


#5723 Upgrade dependencies 2023-11-27
=====================================

Everyone
~~~~~~~~

Update Python on your developer machines to version 3.11.6. In your working
copy, run ``make virtualenv`` and ``make requirements envhook``.

Operator
~~~~~~~~

Before pushing the PR branch to the ``sandbox``, ``anvilbox``, or ``hammerbox``
deployments, manually deploy the ``shared`` component of the corresponding main
deployment. If the PR fails during testing and is not merged, roll back the
changes made to the main deployments by deploying the ``shared`` component from
the ``develop`` branch.

When deploying to ``prod``, manually deploy ``prod.gitlab`` just before
pushing the merge commit to the GitLab instance.


#5703 Consolidate dependency updates into single bi-weekly issue
================================================================

Expand Down
4 changes: 2 additions & 2 deletions environment.boot
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
azul_python_version=3.11.5
azul_python_image=docker.io/library/python:3.11.5-bullseye
azul_python_version=3.11.6
azul_python_image=docker.io/library/python:3.11.6-bullseye
azul_docker_version=24.0.6
azul_terraform_version=1.3.4

0 comments on commit a8a358f

Please sign in to comment.