Skip to content

Commit b6ab471

Browse files
authored
Drop Python 3.9 support due to dependency conflicts (#4017)
1 parent 06e4e54 commit b6ab471

20 files changed

+172
-100
lines changed

.github/workflows/ci.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
setup:
2020
strategy:
2121
matrix:
22-
python-version: ["3.9","3.10","3.11", "3.12"]
22+
python-version: ["3.10","3.11", "3.12"]
2323
runs-on: ubuntu-latest
2424
steps:
2525
- uses: actions/checkout@v4
@@ -31,7 +31,7 @@ jobs:
3131
check-deps:
3232
strategy:
3333
matrix:
34-
python-version: ["3.9","3.10","3.11", "3.12"]
34+
python-version: ["3.10","3.11", "3.12"]
3535
runs-on: ubuntu-latest
3636
steps:
3737
- uses: actions/checkout@v4
@@ -45,7 +45,7 @@ jobs:
4545
check-extras:
4646
strategy:
4747
matrix:
48-
python-version: [ "3.9","3.10","3.11","3.12" ]
48+
python-version: ["3.10","3.11","3.12"]
4949
runs-on: ubuntu-latest
5050
steps:
5151
- uses: actions/checkout@v4
@@ -78,7 +78,7 @@ jobs:
7878
lint:
7979
strategy:
8080
matrix:
81-
python-version: ["3.9","3.10","3.11"]
81+
python-version: ["3.10","3.11"]
8282
runs-on: ubuntu-latest
8383
needs: [setup, changelog]
8484
steps:
@@ -117,7 +117,7 @@ jobs:
117117
test_unit:
118118
strategy:
119119
matrix:
120-
python-version: ["3.9","3.10","3.11", "3.12"]
120+
python-version: ["3.10","3.11", "3.12"]
121121
runs-on: ubuntu-latest
122122
needs: [setup, lint]
123123
steps:
@@ -224,7 +224,7 @@ jobs:
224224
setup_ingest:
225225
strategy:
226226
matrix:
227-
python-version: [ "3.9","3.10" ]
227+
python-version: ["3.10"]
228228
runs-on: ubuntu-latest
229229
needs: [setup]
230230
steps:
@@ -237,7 +237,7 @@ jobs:
237237
test_ingest_src:
238238
strategy:
239239
matrix:
240-
python-version: ["3.9","3.10"]
240+
python-version: ["3.10"]
241241
runs-on: ubuntu-latest-m
242242
needs: [setup_ingest, lint]
243243
steps:
@@ -323,7 +323,7 @@ jobs:
323323
test_json_to_html:
324324
strategy:
325325
matrix:
326-
python-version: ["3.9","3.10"]
326+
python-version: ["3.10"]
327327
runs-on: ubuntu-latest-m
328328
needs: [setup, lint]
329329
steps:

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## 0.17.10
2+
- Drop Python 3.9 support as it reaches EOL in October 2025
3+
- Update pip-compile script to use Python 3.10 and newer
4+
- Update all packages using pip-compile
5+
16
## 0.17.9
27
- Patch various CVEs
38

requirements/base.txt

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile ./base.in
@@ -24,11 +24,11 @@ charset-normalizer==3.4.2
2424
# via
2525
# requests
2626
# unstructured-client
27-
click==8.1.8
27+
click==8.2.1
2828
# via
2929
# nltk
3030
# python-oxmsg
31-
cryptography==45.0.3
31+
cryptography==45.0.4
3232
# via unstructured-client
3333
dataclasses-json==0.6.7
3434
# via
@@ -76,7 +76,7 @@ nest-asyncio==1.6.0
7676
# via unstructured-client
7777
nltk==3.9.1
7878
# via -r ./base.in
79-
numpy==2.0.2
79+
numpy==2.2.6
8080
# via -r ./base.in
8181
olefile==0.47
8282
# via python-oxmsg
@@ -141,11 +141,11 @@ typing-inspect==0.9.0
141141
# unstructured-client
142142
unstructured-client==0.25.9
143143
# via
144-
# -c ././deps/constraints.txt
144+
# -c ./deps/constraints.txt
145145
# -r ./base.in
146-
urllib3==1.26.20
146+
urllib3==2.4.0
147147
# via
148-
# -c ././deps/constraints.txt
148+
# -c ./deps/constraints.txt
149149
# requests
150150
# unstructured-client
151151
webencodings==0.5.1

requirements/deps/constraints.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ grpcio>=1.65.5
1313
tokenizers>=0.21,<0.22
1414
# TODO: Constaint due to boto, with python before 3.10 not requiring openssl 1.1.1, remove when that gets
1515
# updated or we drop support for 3.9
16-
urllib3<1.27
16+
urllib3<3.0.0
1717
# TODO: Constriant due to aiobotocore, remove when that gets updates:
1818
botocore<1.34.132
1919
# TODO: Constriant due to both 8.5.0 and 8.4.0 being installed during pip-compile

requirements/dev.txt

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile ./dev.in
@@ -8,7 +8,7 @@ build==1.2.2.post1
88
# via pip-tools
99
cfgv==3.4.0
1010
# via pre-commit
11-
click==8.1.8
11+
click==8.2.1
1212
# via
1313
# -c ./base.txt
1414
# -c ./test.txt
@@ -19,10 +19,6 @@ filelock==3.18.0
1919
# via virtualenv
2020
identify==2.6.12
2121
# via pre-commit
22-
importlib-metadata==8.7.0
23-
# via
24-
# -c ././deps/constraints.txt
25-
# build
2622
nodeenv==1.9.1
2723
# via pre-commit
2824
packaging==25.0
@@ -53,8 +49,6 @@ virtualenv==20.31.2
5349
# via pre-commit
5450
wheel==0.45.1
5551
# via pip-tools
56-
zipp==3.22.0
57-
# via importlib-metadata
5852

5953
# The following packages are considered to be unsafe in a requirements file:
6054
# pip

requirements/extra-csv.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile ./extra-csv.in
66
#
7-
numpy==2.0.2
7+
numpy==2.2.6
88
# via
99
# -c ./base.txt
1010
# pandas

requirements/extra-docx.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile ./extra-docx.in

requirements/extra-epub.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile ./extra-epub.in

requirements/extra-markdown.txt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,8 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile ./extra-markdown.in
66
#
7-
importlib-metadata==8.7.0
8-
# via
9-
# -c ././deps/constraints.txt
10-
# markdown
117
markdown==3.8
128
# via -r ./extra-markdown.in
13-
zipp==3.22.0
14-
# via importlib-metadata

requirements/extra-odt.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.9
2+
# This file is autogenerated by pip-compile with Python 3.10
33
# by the following command:
44
#
55
# pip-compile ./extra-odt.in

0 commit comments

Comments
 (0)