Skip to content

Commit

Permalink
Downgrade to Python 3.10
Browse files Browse the repository at this point in the history
A few packages like PyCaret are not ready for Python 3.11 yet.
  • Loading branch information
amotl committed Nov 1, 2023
1 parent 72b8068 commit ac061aa
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
fail-fast: false
matrix:
os: ["ubuntu-latest"]
python-version: ["3.11"]
python-version: ["3.10"]

env:
OS: ${{ matrix.os }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oci-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Setup Python
uses: actions/setup-python@v4
with:
python-version: "3.11"
python-version: "3.10"
architecture: "x64"
cache: "pip"
cache-dependency-path: "pyproject.toml"
Expand Down
2 changes: 2 additions & 0 deletions CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@

## in progress
- Fix uniqueness constraint with `SqlRegisteredModel.name`. Thanks, @andnig.
- Downgrade to Python 3.10. A few packages like PyCaret are not ready for
Python 3.11 yet. Thanks, @andnig.

## 2023-10-11 0.2.0
- Update to [MLflow 2.7](https://github.com/mlflow/mlflow/releases/tag/v2.7.0)
Expand Down
2 changes: 1 addition & 1 deletion release/oci-runtime/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# - https://vsupalov.com/buildkit-cache-mount-dockerfile/
# - https://github.com/FernandoMiguel/Buildkit#mounttypecache

FROM python:3.11-slim-bullseye
FROM python:3.10-slim-bullseye

ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux
Expand Down
2 changes: 1 addition & 1 deletion release/oci-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# - https://vsupalov.com/buildkit-cache-mount-dockerfile/
# - https://github.com/FernandoMiguel/Buildkit#mounttypecache

FROM python:3.11-slim-bullseye
FROM python:3.10-slim-bullseye

ENV DEBIAN_FRONTEND noninteractive
ENV TERM linux
Expand Down

0 comments on commit ac061aa

Please sign in to comment.