Skip to content

Commit 0be428a

Browse files
committed
Use python 3.12 base image
1 parent a6dd331 commit 0be428a

File tree

6 files changed

+8
-8
lines changed

6 files changed

+8
-8
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77
branches: [ main ]
88

99
env:
10-
PYTHON_VERSION: "3.11"
10+
PYTHON_VERSION: "3.12"
1111
PIPELINE_FAMILY: "general"
1212

1313
jobs:

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ env:
1111
PACKAGE: "unstructured-api"
1212
PIPELINE_FAMILY: "general"
1313
PIP_VERSION: "25.1.1"
14-
PYTHON_VERSION: "3.11"
14+
PYTHON_VERSION: "3.12"
1515

1616
jobs:
1717
setup:

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
# syntax=docker/dockerfile:experimental
2-
FROM quay.io/unstructured-io/base-images:wolfi-base-latest as base
2+
FROM quay.io/unstructured-io/base-images:wolfi-py3.12-slim-latest as base
33

44
# NOTE(crag): NB_USER ARG for mybinder.org compat:
55
# https://mybinder.readthedocs.io/en/latest/tutorials/dockerfile.html
66
ARG NB_USER=notebook-user
77
ARG NB_UID=1000
88
ARG PIP_VERSION
99
ARG PIPELINE_PACKAGE
10-
ARG PYTHON_VERSION="3.11"
10+
ARG PYTHON_VERSION="3.12"
1111

1212
# Set up environment
1313
ENV PYTHON python${PYTHON_VERSION}

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -289,12 +289,12 @@ curl -X 'POST'
289289
* Using `pyenv` to manage virtualenv's is recommended
290290
* Mac install instructions. See [here](https://github.com/Unstructured-IO/community#mac--homebrew) for more detailed instructions.
291291
* `brew install pyenv-virtualenv`
292-
* `pyenv install 3.11`
292+
* `pyenv install 3.12`
293293
* Linux instructions are available [here](https://github.com/Unstructured-IO/community#linux).
294294

295295
* Create a virtualenv to work in and activate it, e.g. for one named `document-processing`:
296296

297-
`pyenv virtualenv 3.11 unstructured-api` <br />
297+
`pyenv virtualenv 3.12 unstructured-api` <br />
298298
`pyenv activate unstructured-api`
299299

300300
See the [Unstructured Quick Start](https://github.com/Unstructured-IO/unstructured#eight_pointed_black_star-quick-start) for the many OS dependencies that are required, if the ability to process all file types is desired.

docker/rockylinux-9.4/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ FROM base as python-deps
2424
COPY requirements/base.txt requirements-base.txt
2525
RUN python3.10 -m pip install pip==${PIP_VERSION} \
2626
&& dnf -y groupinstall "Development Tools" \
27-
&& su -l ${NB_USER} -c 'pip3.11 install --no-cache -r requirements-base.txt' \
27+
&& su -l ${NB_USER} -c 'pip3.12 install --no-cache -r requirements-base.txt' \
2828
&& dnf -y groupremove "Development Tools" \
2929
&& dnf clean all \
3030
&& ln -s /home/notebook-user/.local/bin/pip3.10 /usr/local/bin/pip3.10 || true

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ line-length = 100
33

44
[tool.pyright]
55
pythonPlatform = "Linux"
6-
pythonVersion = "3.11"
6+
pythonVersion = "3.12"
77
reportUnnecessaryCast = true
88
typeCheckingMode = "strict"
99

0 commit comments

Comments
 (0)