From 4f47a19ba40e226bb4a2e5c723fafe3b4093a949 Mon Sep 17 00:00:00 2001 From: Roman Isecke Date: Tue, 14 Jan 2025 12:00:04 -0500 Subject: [PATCH 1/3] add support for python 3.13 --- .github/workflows/ci.yml | 4 ++-- CHANGELOG.md | 4 ++++ setup.py | 2 +- unstructured_platform_plugins/__version__.py | 2 +- 4 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 75cd55d..e5fb1ec 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [ "3.10", "3.11", "3.12" ] + python-version: [ "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v3 @@ -44,7 +44,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.10", "3.11", "3.12"] + python-version: [ "3.10", "3.11", "3.12", "3.13" ] steps: - uses: actions/checkout@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index b9c4ba9..3ccc117 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## 0.0.20 + +* **Expand support to Python 3.13** + ## 0.0.19 * **Add more granular error response texts and codes** diff --git a/setup.py b/setup.py index 310dc3a..8fffa68 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ def load_requirements(file: Union[str, Path]) -> List[str]: "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Artificial Intelligence", ], - python_requires=">=3.10,<3.13", + python_requires=">=3.10,<3.14", url="https://github.com/Unstructured-IO/unstructured-platform-plugins", # noqa: 501 packages=find_packages(), license="Apache-2.0", diff --git a/unstructured_platform_plugins/__version__.py b/unstructured_platform_plugins/__version__.py index e52f64f..7594e8f 100644 --- a/unstructured_platform_plugins/__version__.py +++ b/unstructured_platform_plugins/__version__.py @@ -1 +1 @@ -__version__ = "0.0.19" # pragma: no cover +__version__ = "0.0.20" # pragma: no cover From 55379214f64fa416587e72653b8d15938b911c1c Mon Sep 17 00:00:00 2001 From: Roman Isecke Date: Tue, 14 Jan 2025 19:08:01 -0500 Subject: [PATCH 2/3] bump version of ingest --- requirements/cli.txt | 10 +++++----- requirements/constraints.txt | 2 +- requirements/lint.txt | 2 +- requirements/release.txt | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/requirements/cli.txt b/requirements/cli.txt index 8b93042..1d26878 100644 --- a/requirements/cli.txt +++ b/requirements/cli.txt @@ -32,7 +32,7 @@ idna==3.10 # via anyio importlib-metadata==8.5.0 # via opentelemetry-api -marshmallow==3.24.1 +marshmallow==3.25.1 # via dataclasses-json mypy-extensions==1.0.0 # via typing-inspect @@ -84,11 +84,11 @@ packaging==24.2 # opentelemetry-instrumentation pandas==2.2.3 # via unstructured-ingest -protobuf==5.29.2 +protobuf==5.29.3 # via # googleapis-common-protos # opentelemetry-proto -pydantic==2.10.4 +pydantic==2.10.5 # via # fastapi # unstructured-ingest @@ -122,11 +122,11 @@ typing-inspect==0.9.0 # via dataclasses-json tzdata==2024.2 # via pandas -unstructured-ingest==0.3.12 +unstructured-ingest==0.3.13 # via -r ./cli.in uvicorn==0.34.0 # via -r ./cli.in -wrapt==1.17.0 +wrapt==1.17.2 # via # deprecated # opentelemetry-instrumentation diff --git a/requirements/constraints.txt b/requirements/constraints.txt index 70f038b..b6e5708 100644 --- a/requirements/constraints.txt +++ b/requirements/constraints.txt @@ -1 +1 @@ -unstructured-ingest>=0.3.12 +unstructured-ingest>=0.3.13 diff --git a/requirements/lint.txt b/requirements/lint.txt index 1811b5f..ae0492a 100644 --- a/requirements/lint.txt +++ b/requirements/lint.txt @@ -34,7 +34,7 @@ pyflakes==3.2.0 # via # autoflake # flake8 -ruff==0.8.6 +ruff==0.9.1 # via -r ./lint.in tomli==2.2.1 # via diff --git a/requirements/release.txt b/requirements/release.txt index 99c39cf..3d0990d 100644 --- a/requirements/release.txt +++ b/requirements/release.txt @@ -24,7 +24,7 @@ markdown-it-py==3.0.0 # via rich mdurl==0.1.2 # via markdown-it-py -more-itertools==10.5.0 +more-itertools==10.6.0 # via # jaraco-classes # jaraco-functools From a0f6ec61684fc18b78c2533a8995f6243f4bd167 Mon Sep 17 00:00:00 2001 From: Roman Isecke Date: Tue, 14 Jan 2025 19:10:08 -0500 Subject: [PATCH 3/3] set limit of python version at 4.0 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 8fffa68..a317d48 100644 --- a/setup.py +++ b/setup.py @@ -66,7 +66,7 @@ def load_requirements(file: Union[str, Path]) -> List[str]: "Programming Language :: Python :: 3.12", "Topic :: Scientific/Engineering :: Artificial Intelligence", ], - python_requires=">=3.10,<3.14", + python_requires=">=3.10,<4.0", url="https://github.com/Unstructured-IO/unstructured-platform-plugins", # noqa: 501 packages=find_packages(), license="Apache-2.0",