Skip to content

Commit 918a3d0

Browse files
authored
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.
1 parent 11ff9e7 commit 918a3d0

9 files changed

+28
-26
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
### Features
66

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

1011
## 0.16.17
1112

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ exclude = '''
1616
| build
1717
| dist
1818
| unstructured/nlp/patterns\.py
19-
)/
19+
)/|
20+
unstructured/nlp/patterns\.py
2021
'''
2122

2223
[tool.pyright]

requirements/base.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,11 +90,11 @@ psutil==6.1.1
9090
# via -r ./base.in
9191
pycparser==2.22
9292
# via cffi
93-
pypdf==5.1.0
93+
pypdf==5.2.0
9494
# via unstructured-client
9595
python-dateutil==2.9.0.post0
9696
# via unstructured-client
97-
python-iso639==2024.10.22
97+
python-iso639==2025.1.28
9898
# via -r ./base.in
9999
python-magic==0.4.27
100100
# via -r ./base.in

requirements/extra-paddleocr.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ exceptiongroup==1.2.2
3232
# via
3333
# -c ./base.txt
3434
# anyio
35-
fonttools==4.55.5
35+
fonttools==4.55.8
3636
# via matplotlib
3737
h11==0.14.0
3838
# via

requirements/extra-pdf-image.txt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ cryptography==44.0.0
3131
# pdfminer-six
3232
cycler==0.12.1
3333
# via matplotlib
34-
deprecated==1.2.15
34+
deprecated==1.2.18
3535
# via pikepdf
3636
effdet==0.4.1
3737
# via -r ./extra-pdf-image.in
@@ -40,15 +40,15 @@ filelock==3.17.0
4040
# huggingface-hub
4141
# torch
4242
# transformers
43-
flatbuffers==25.1.21
43+
flatbuffers==25.1.24
4444
# via onnxruntime
45-
fonttools==4.55.5
45+
fonttools==4.55.8
4646
# via matplotlib
4747
fsspec==2024.12.0
4848
# via
4949
# huggingface-hub
5050
# torch
51-
google-api-core[grpc]==2.24.0
51+
google-api-core[grpc]==2.24.1
5252
# via google-cloud-vision
5353
google-auth==2.38.0
5454
# via
@@ -60,14 +60,14 @@ googleapis-common-protos==1.66.0
6060
# via
6161
# google-api-core
6262
# grpcio-status
63-
grpcio==1.69.0
63+
grpcio==1.70.0
6464
# via
6565
# -c ././deps/constraints.txt
6666
# google-api-core
6767
# grpcio-status
68-
grpcio-status==1.69.0
68+
grpcio-status==1.70.0
6969
# via google-api-core
70-
huggingface-hub==0.27.1
70+
huggingface-hub==0.28.0
7171
# via
7272
# timm
7373
# tokenizers
@@ -152,7 +152,7 @@ pillow==11.1.0
152152
# pikepdf
153153
# torchvision
154154
# unstructured-pytesseract
155-
proto-plus==1.25.0
155+
proto-plus==1.26.0
156156
# via
157157
# google-api-core
158158
# google-cloud-vision
@@ -179,7 +179,7 @@ pycparser==2.22
179179
# cffi
180180
pyparsing==3.2.1
181181
# via matplotlib
182-
pypdf==5.1.0
182+
pypdf==5.2.0
183183
# via
184184
# -c ./base.txt
185185
# -r ./extra-pdf-image.in
@@ -238,13 +238,13 @@ tokenizers==0.19.1
238238
# via
239239
# -c ././deps/constraints.txt
240240
# transformers
241-
torch==2.5.1
241+
torch==2.6.0
242242
# via
243243
# effdet
244244
# timm
245245
# torchvision
246246
# unstructured-inference
247-
torchvision==0.20.1
247+
torchvision==0.21.0
248248
# via
249249
# effdet
250250
# timm

requirements/extra-pptx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ python-pptx==1.0.2
1212
# via -r ./extra-pptx.in
1313
typing-extensions==4.12.2
1414
# via python-pptx
15-
xlsxwriter==3.2.1
15+
xlsxwriter==3.2.2
1616
# via python-pptx

requirements/huggingface.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ fsspec==2024.12.0
2525
# via
2626
# huggingface-hub
2727
# torch
28-
huggingface-hub==0.27.1
28+
huggingface-hub==0.28.0
2929
# via
3030
# tokenizers
3131
# transformers
@@ -88,7 +88,7 @@ tokenizers==0.19.1
8888
# via
8989
# -c ././deps/constraints.txt
9090
# transformers
91-
torch==2.5.1
91+
torch==2.6.0
9292
# via -r ./huggingface.in
9393
tqdm==4.67.1
9494
# via

requirements/test.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,13 @@ appdirs==1.4.4
1414
# via label-studio-sdk
1515
argcomplete==3.5.3
1616
# via datamodel-code-generator
17-
attrs==24.3.0
17+
attrs==25.1.0
1818
# via
1919
# jsonschema
2020
# referencing
2121
autoflake==2.3.1
2222
# via -r ./test.in
23-
black==24.10.0
23+
black==25.1.0
2424
# via
2525
# -r ./test.in
2626
# datamodel-code-generator
@@ -66,7 +66,7 @@ freezegun==1.5.1
6666
# via -r ./test.in
6767
genson==1.3.0
6868
# via datamodel-code-generator
69-
grpcio==1.69.0
69+
grpcio==1.70.0
7070
# via
7171
# -c ././deps/constraints.txt
7272
# -r ./test.in
@@ -164,7 +164,7 @@ pycodestyle==2.12.1
164164
# via
165165
# flake8
166166
# flake8-print
167-
pydantic[email]==2.10.5
167+
pydantic[email]==2.10.6
168168
# via
169169
# -r ./test.in
170170
# datamodel-code-generator
@@ -196,7 +196,7 @@ pyyaml==6.0.2
196196
# via
197197
# datamodel-code-generator
198198
# vcrpy
199-
referencing==0.36.1
199+
referencing==0.36.2
200200
# via
201201
# jsonschema
202202
# jsonschema-specifications
@@ -218,7 +218,7 @@ rpds-py==0.22.3
218218
# referencing
219219
rstr==3.2.2
220220
# via jsf
221-
ruff==0.9.2
221+
ruff==0.9.3
222222
# via -r ./test.in
223223
semantic-version==2.10.0
224224
# via liccheck

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def load_requirements(file_list: Optional[Union[str, List[str]]] = None) -> List
8282
long_description_content_type="text/markdown",
8383
keywords="NLP PDF HTML CV XML parsing preprocessing",
8484
url="https://github.com/Unstructured-IO/unstructured",
85-
python_requires=">=3.9.0,<3.13",
85+
python_requires=">=3.9.0",
8686
classifiers=[
8787
"Development Status :: 4 - Beta",
8888
"Intended Audience :: Developers",

0 commit comments

Comments
 (0)