fix: allow users to install package with python3.13 or higher (#3893)

Although, python3.13 is not officially supported or tested in CI just
yet.
This commit is contained in:
cragwolfe 2025-01-30 06:52:24 -08:00 committed by GitHub
parent 11ff9e7659
commit 918a3d0deb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 28 additions and 26 deletions

View File

@ -5,7 +5,8 @@
### Features
### Fixes
**Correct deprecated `ruff` invocation in `make tidy`**. This will future-proof it or avoid surprises if someone happens to upgrade Ruff.
- **Correct deprecated `ruff` invocation in `make tidy`**. This will future-proof it or avoid surprises if someone happens to upgrade Ruff.
- **Remove upper bound constraint on python version** in setup.py. Python3.13 is not yet officially supported, but allow users to try.
## 0.16.17

View File

@ -16,7 +16,8 @@ exclude = '''
| build
| dist
| unstructured/nlp/patterns\.py
)/
)/|
unstructured/nlp/patterns\.py
'''
[tool.pyright]

View File

@ -90,11 +90,11 @@ psutil==6.1.1
# via -r ./base.in
pycparser==2.22
# via cffi
pypdf==5.1.0
pypdf==5.2.0
# via unstructured-client
python-dateutil==2.9.0.post0
# via unstructured-client
python-iso639==2024.10.22
python-iso639==2025.1.28
# via -r ./base.in
python-magic==0.4.27
# via -r ./base.in

View File

@ -32,7 +32,7 @@ exceptiongroup==1.2.2
# via
# -c ./base.txt
# anyio
fonttools==4.55.5
fonttools==4.55.8
# via matplotlib
h11==0.14.0
# via

View File

@ -31,7 +31,7 @@ cryptography==44.0.0
# pdfminer-six
cycler==0.12.1
# via matplotlib
deprecated==1.2.15
deprecated==1.2.18
# via pikepdf
effdet==0.4.1
# via -r ./extra-pdf-image.in
@ -40,15 +40,15 @@ filelock==3.17.0
# huggingface-hub
# torch
# transformers
flatbuffers==25.1.21
flatbuffers==25.1.24
# via onnxruntime
fonttools==4.55.5
fonttools==4.55.8
# via matplotlib
fsspec==2024.12.0
# via
# huggingface-hub
# torch
google-api-core[grpc]==2.24.0
google-api-core[grpc]==2.24.1
# via google-cloud-vision
google-auth==2.38.0
# via
@ -60,14 +60,14 @@ googleapis-common-protos==1.66.0
# via
# google-api-core
# grpcio-status
grpcio==1.69.0
grpcio==1.70.0
# via
# -c ././deps/constraints.txt
# google-api-core
# grpcio-status
grpcio-status==1.69.0
grpcio-status==1.70.0
# via google-api-core
huggingface-hub==0.27.1
huggingface-hub==0.28.0
# via
# timm
# tokenizers
@ -152,7 +152,7 @@ pillow==11.1.0
# pikepdf
# torchvision
# unstructured-pytesseract
proto-plus==1.25.0
proto-plus==1.26.0
# via
# google-api-core
# google-cloud-vision
@ -179,7 +179,7 @@ pycparser==2.22
# cffi
pyparsing==3.2.1
# via matplotlib
pypdf==5.1.0
pypdf==5.2.0
# via
# -c ./base.txt
# -r ./extra-pdf-image.in
@ -238,13 +238,13 @@ tokenizers==0.19.1
# via
# -c ././deps/constraints.txt
# transformers
torch==2.5.1
torch==2.6.0
# via
# effdet
# timm
# torchvision
# unstructured-inference
torchvision==0.20.1
torchvision==0.21.0
# via
# effdet
# timm

View File

@ -12,5 +12,5 @@ python-pptx==1.0.2
# via -r ./extra-pptx.in
typing-extensions==4.12.2
# via python-pptx
xlsxwriter==3.2.1
xlsxwriter==3.2.2
# via python-pptx

View File

@ -25,7 +25,7 @@ fsspec==2024.12.0
# via
# huggingface-hub
# torch
huggingface-hub==0.27.1
huggingface-hub==0.28.0
# via
# tokenizers
# transformers
@ -88,7 +88,7 @@ tokenizers==0.19.1
# via
# -c ././deps/constraints.txt
# transformers
torch==2.5.1
torch==2.6.0
# via -r ./huggingface.in
tqdm==4.67.1
# via

View File

@ -14,13 +14,13 @@ appdirs==1.4.4
# via label-studio-sdk
argcomplete==3.5.3
# via datamodel-code-generator
attrs==24.3.0
attrs==25.1.0
# via
# jsonschema
# referencing
autoflake==2.3.1
# via -r ./test.in
black==24.10.0
black==25.1.0
# via
# -r ./test.in
# datamodel-code-generator
@ -66,7 +66,7 @@ freezegun==1.5.1
# via -r ./test.in
genson==1.3.0
# via datamodel-code-generator
grpcio==1.69.0
grpcio==1.70.0
# via
# -c ././deps/constraints.txt
# -r ./test.in
@ -164,7 +164,7 @@ pycodestyle==2.12.1
# via
# flake8
# flake8-print
pydantic[email]==2.10.5
pydantic[email]==2.10.6
# via
# -r ./test.in
# datamodel-code-generator
@ -196,7 +196,7 @@ pyyaml==6.0.2
# via
# datamodel-code-generator
# vcrpy
referencing==0.36.1
referencing==0.36.2
# via
# jsonschema
# jsonschema-specifications
@ -218,7 +218,7 @@ rpds-py==0.22.3
# referencing
rstr==3.2.2
# via jsf
ruff==0.9.2
ruff==0.9.3
# via -r ./test.in
semantic-version==2.10.0
# via liccheck

View File

@ -82,7 +82,7 @@ setup(
long_description_content_type="text/markdown",
keywords="NLP PDF HTML CV XML parsing preprocessing",
url="https://github.com/Unstructured-IO/unstructured",
python_requires=">=3.9.0,<3.13",
python_requires=">=3.9.0",
classifiers=[
"Development Status :: 4 - Beta",
"Intended Audience :: Developers",