Skip to content

Commit b37b468

Browse files
drop python3.8 (#2372)
### Description Remove all uses of python3.8 --------- Co-authored-by: ryannikolaidis <[email protected]> Co-authored-by: rbiseck3 <[email protected]>
1 parent e2f0de3 commit b37b468

File tree

98 files changed

+1105
-1027
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

98 files changed

+1105
-1027
lines changed

Diff for: .github/workflows/ci.yml

+12-12
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
setup:
1717
strategy:
1818
matrix:
19-
python-version: ["3.8","3.9","3.10","3.11"]
19+
python-version: ["3.9","3.10","3.11"]
2020
runs-on: ubuntu-latest
2121
env:
2222
NLTK_DATA: ${{ github.workspace }}/nltk_data
@@ -30,7 +30,7 @@ jobs:
3030
check-deps:
3131
strategy:
3232
matrix:
33-
python-version: ["3.8","3.9","3.10","3.11"]
33+
python-version: ["3.9","3.10","3.11"]
3434
runs-on: ubuntu-latest
3535
steps:
3636
- uses: actions/checkout@v3
@@ -44,7 +44,7 @@ jobs:
4444
lint:
4545
strategy:
4646
matrix:
47-
python-version: ["3.8","3.9","3.10","3.11"]
47+
python-version: ["3.9","3.10","3.11"]
4848
env:
4949
NLTK_DATA: ${{ github.workspace }}/nltk_data
5050
runs-on: ubuntu-latest
@@ -84,7 +84,7 @@ jobs:
8484
test_unit:
8585
strategy:
8686
matrix:
87-
python-version: ["3.8","3.9","3.10","3.11"]
87+
python-version: ["3.9","3.10","3.11"]
8888
runs-on: ubuntu-latest
8989
env:
9090
NLTK_DATA: ${{ github.workspace }}/nltk_data
@@ -150,7 +150,7 @@ jobs:
150150
test_unit_no_extras:
151151
strategy:
152152
matrix:
153-
python-version: ["3.8"]
153+
python-version: ["3.10"]
154154
runs-on: ubuntu-latest
155155
env:
156156
NLTK_DATA: ${{ github.workspace }}/nltk_data
@@ -176,7 +176,7 @@ jobs:
176176
# NOTE(newelh) - Split extras into separate steps in the same pipeline (avoid using matrix)
177177
strategy:
178178
matrix:
179-
python-version: ["3.8"]
179+
python-version: ["3.10"]
180180
extra: ["csv", "docx", "odt", "markdown", "pypandoc", "msg", "pdf-image", "pptx", "xlsx"]
181181
runs-on: ubuntu-latest
182182
env:
@@ -218,7 +218,7 @@ jobs:
218218
setup_ingest:
219219
strategy:
220220
matrix:
221-
python-version: [ "3.8","3.9","3.10","3.11" ]
221+
python-version: [ "3.9","3.10","3.11" ]
222222
runs-on: ubuntu-latest
223223
env:
224224
NLTK_DATA: ${{ github.workspace }}/nltk_data
@@ -232,7 +232,7 @@ jobs:
232232
test_ingest_unit:
233233
strategy:
234234
matrix:
235-
python-version: [ "3.8","3.9","3.10","3.11" ]
235+
python-version: [ "3.9","3.10","3.11" ]
236236
runs-on: ubuntu-latest
237237
needs: [ setup_ingest, lint ]
238238
steps:
@@ -258,7 +258,7 @@ jobs:
258258
test_ingest_src:
259259
strategy:
260260
matrix:
261-
python-version: ["3.8","3.9","3.10","3.11"]
261+
python-version: ["3.9","3.10","3.11"]
262262
runs-on: ubuntu-latest-m
263263
env:
264264
NLTK_DATA: ${{ github.workspace }}/nltk_data
@@ -338,7 +338,7 @@ jobs:
338338
environment: ci
339339
strategy:
340340
matrix:
341-
python-version: ["3.8","3.9","3.10","3.11"]
341+
python-version: ["3.9","3.10","3.11"]
342342
runs-on: ubuntu-latest-m
343343
env:
344344
NLTK_DATA: ${{ github.workspace }}/nltk_data
@@ -394,8 +394,8 @@ jobs:
394394
test_unstructured_api_unit:
395395
strategy:
396396
matrix:
397-
# NOTE(yuming): Unstructured API only use Python 3.8
398-
python-version: ["3.8"]
397+
# NOTE(yuming): Unstructured API only use Python 3.10
398+
python-version: ["3.10"]
399399
runs-on: ubuntu-latest
400400
env:
401401
NLTK_DATA: ${{ github.workspace }}/nltk_data

Diff for: .github/workflows/docker-publish.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ env:
99
DOCKER_REPOSITORY: quay.io/unstructured-io/unstructured
1010
DOCKER_BUILD_REPOSITORY: quay.io/unstructured-io/build-unstructured
1111
PIP_VERSION: "23.2.1"
12-
PYTHON_VERSION: "3.8"
12+
PYTHON_VERSION: "3.10"
1313

1414
jobs:
1515
set-short-sha:

Diff for: CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
## 0.12.0
2+
3+
### Enhancements
4+
5+
* **Drop support for python3.8** All dependencies are now built off of the minimum version of python being `3.10`
6+
17
## 0.11.9-dev4
28

39
### Enhancements

Diff for: docker/ubuntu-22/Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ COPY Makefile Makefile
1313

1414
SHELL ["/bin/bash", "-c"]
1515

16-
RUN source ~/.bashrc && pyenv virtualenv 3.8.17 unstructured && \
16+
RUN source ~/.bashrc && pyenv virtualenv 3.10 unstructured && \
1717
source ~/.pyenv/versions/unstructured/bin/activate && \
1818
make install-ci && \
1919
make install-ingest-s3 && \

Diff for: docs/requirements.txt

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
#
2-
# This file is autogenerated by pip-compile with Python 3.8
2+
# This file is autogenerated by pip-compile with Python 3.9
33
# by the following command:
44
#
55
# pip-compile --output-file=build.txt build.in
66
#
7-
alabaster==0.7.13
7+
alabaster==0.7.15
88
# via sphinx
9-
babel==2.13.1
9+
babel==2.14.0
1010
# via sphinx
1111
beautifulsoup4==4.12.2
1212
# via
@@ -36,7 +36,7 @@ idna==3.6
3636
# requests
3737
imagesize==1.4.1
3838
# via sphinx
39-
importlib-metadata==7.0.0
39+
importlib-metadata==7.0.1
4040
# via sphinx
4141
jinja2==3.1.2
4242
# via
@@ -63,8 +63,6 @@ pygments==2.17.2
6363
# furo
6464
# sphinx
6565
# sphinx-tabs
66-
pytz==2023.3.post1
67-
# via babel
6866
pyyaml==6.0.1
6967
# via myst-parser
7068
requests==2.31.0

Diff for: environment.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ channels:
77
- pytorch
88

99
dependencies:
10-
- python=3.8
10+
- python=3.10
1111
- pytorch=1.12.1
1212
- pywin32
1313
- poppler

Diff for: examples/argilla-summarization/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ complete a data science project in hours that previously would have taken weeks.
77

88
To get started, use the following steps:
99

10-
- Ensure you have Python 3.8 or higher installed on your system
10+
- Ensure you have Python 3.10 or higher installed on your system
1111
- Create a new Python virtual environment
1212
- Run `pip install -r requirements.txt` to install the dependencies
1313
- Run `PYTHONPATH=. jupyter notebook` from this directory to launch the notebook

0 commit comments

Comments
 (0)