File tree Expand file tree Collapse file tree 8 files changed +202
-202
lines changed Expand file tree Collapse file tree 8 files changed +202
-202
lines changed Original file line number Diff line number Diff line change 77 branches : [ main ]
88
99env :
10- PYTHON_VERSION : " 3.10 "
10+ PYTHON_VERSION : " 3.12.11 "
1111 PIPELINE_FAMILY : " general"
1212
1313jobs :
2020 with :
2121 path : |
2222 .venv
23- key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/base.txt', 'requirements/test .txt') }}
23+ key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/* .txt') }}
2424 - name : Set up Python ${{ env.PYTHON_VERSION }}
2525 uses : actions/setup-python@v5
2626 with :
4242 with :
4343 path : |
4444 .venv
45- key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/base.txt', 'requirements/test .txt') }}
45+ key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/* .txt') }}
4646 - name : Lint
4747 run : |
4848 source .venv/bin/activate
6565 with :
6666 path : |
6767 .venv
68- key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/base.txt', 'requirements/ test.txt') }}
68+ key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/test.txt') }}
6969 - name : Run core tests
7070 run : |
7171 source .venv/bin/activate
@@ -105,7 +105,7 @@ jobs:
105105 with :
106106 path : |
107107 .venv
108- key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/base.txt', 'requirements/ test.txt') }}
108+ key : ci-venv-${{ env.PIPELINE_FAMILY }}-${{ hashFiles('requirements/test.txt') }}
109109 - name : Test Dockerfile
110110 run : |
111111 source .venv/bin/activate
Original file line number Diff line number Diff line change 1111 PACKAGE : " unstructured-api"
1212 PIPELINE_FAMILY : " general"
1313 PIP_VERSION : " 25.1.1"
14- PYTHON_VERSION : " 3.10 "
14+ PYTHON_VERSION : " 3.12 "
1515
1616jobs :
1717 setup :
Original file line number Diff line number Diff line change 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
66ARG NB_USER=notebook-user
77ARG NB_UID=1000
88ARG PIP_VERSION
99ARG PIPELINE_PACKAGE
10- ARG PYTHON_VERSION="3.11 "
10+ ARG PYTHON_VERSION="3.12 "
1111
1212# Set up environment
1313ENV PYTHON python${PYTHON_VERSION}
Original file line number Diff line number Diff line change @@ -289,12 +289,13 @@ 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.10.12 `
292+ * `pyenv install 3.12.11 `
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.10.12 unstructured-api` <br />
297+ `pyenv virtualenv 3.12.11
298+ unstructured-api` <br />
298299 ` pyenv activate unstructured-api `
299300
300301See 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.
Original file line number Diff line number Diff line change 11-c constraints.in
22unstructured[all-docs]
3- # Pinning click due to a unicode issue in black
4- # can remove after black drops support for Python 3.6
5- # ref: https://github.com/psf/black/issues/2964
6- click==8.2.1
3+ click
74fastapi
85uvicorn
96ratelimit
You can’t perform that action at this time.
0 commit comments