Commit f8e886c
authored
Update Python 3.11 support and release 1.6.9 (#510)
## Summary
- Restore Python 3.11 support alongside Python 3.12 in package metadata,
lockfile, and CI
- Remove the hard `.python-version` pin so the project can be exercised
against both supported runtimes
- Bump the package version to `1.6.9` and record the change in the
changelog
## Testing
- `uv sync --locked --all-groups --python 3.11`
- `uv sync --locked --all-groups --python 3.12`
- `CI=true uv run --locked --no-sync pytest -q -m "not slow"
test_unstructured_inference`
- `uv build`
- `ruff check .` and `ruff format --check .`
<!-- CURSOR_SUMMARY -->
---
> [!NOTE]
> **Medium Risk**
> Moderate risk because it expands the supported runtime to Python 3.11
and updates the `uv.lock` resolution, which can change dependency
selection and CI behavior across environments.
>
> **Overview**
> Restores Python 3.11 support alongside 3.12 by widening
`requires-python` to `>=3.11, <3.13`, updating README messaging, and
running `lint`/`test` jobs in CI against a Python 3.11/3.12 matrix.
>
> Removes the repo’s `.python-version` pin, makes the Docker base image
Python version configurable via a `PYTHON_VERSION` build arg, and
refreshes `uv.lock` to resolve dependencies for both runtimes (including
adding conditional deps needed for 3.11).
>
> Bumps the package version to `1.6.9` and records the change in
`CHANGELOG.md`.
>
> <sup>Reviewed by [Cursor Bugbot](https://cursor.com/bugbot) for commit
6a422a1. Bugbot is set up for automated
code reviews on this repo. Configure
[here](https://www.cursor.com/dashboard/bugbot).</sup>
<!-- /CURSOR_SUMMARY -->1 parent 7c3f869 commit f8e886c
8 files changed
Lines changed: 454 additions & 31 deletions
File tree
- .github/workflows
- unstructured_inference
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
15 | 19 | | |
16 | 20 | | |
17 | 21 | | |
| |||
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | | - | |
| 28 | + | |
25 | 29 | | |
26 | 30 | | |
27 | 31 | | |
| |||
37 | 41 | | |
38 | 42 | | |
39 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
40 | 48 | | |
41 | 49 | | |
42 | 50 | | |
| |||
46 | 54 | | |
47 | 55 | | |
48 | 56 | | |
49 | | - | |
| 57 | + | |
50 | 58 | | |
51 | 59 | | |
52 | 60 | | |
| |||
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
1 | 6 | | |
2 | 7 | | |
3 | 8 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
| 3 | + | |
3 | 4 | | |
4 | 5 | | |
5 | 6 | | |
| |||
12 | 13 | | |
13 | 14 | | |
14 | 15 | | |
15 | | - | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
11 | 11 | | |
12 | 12 | | |
13 | 13 | | |
| 14 | + | |
14 | 15 | | |
15 | 16 | | |
16 | 17 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments