Skip to content

Commit 4691748

Browse files
committed
Bump version to 3.0.8 and add py313 and py314 builds
1 parent 40f3113 commit 4691748

14 files changed

Lines changed: 4082 additions & 3644 deletions

File tree

.github/workflows/release-package.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
steps:
1414

1515
- name: Checkout repository
16-
uses: actions/checkout@v4
16+
uses: actions/checkout@v6
1717
with:
1818
fetch-depth: 0
1919

@@ -48,18 +48,18 @@ jobs:
4848
steps:
4949

5050
- name: Checkout repository
51-
uses: actions/checkout@v4
51+
uses: actions/checkout@v6
5252

5353
- name: Install packages
54-
run: sudo apt-get install libgl1 libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr
54+
run: sudo apt-get install libgl1 libfuzzy-dev libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr libjpeg-dev
5555

56-
- name: Set up Python 3.12
57-
uses: actions/setup-python@v5
56+
- name: Set up Python 3.14
57+
uses: actions/setup-python@v6
5858
with:
59-
python-version: 3.12
59+
python-version: 3.14
6060

6161
- name: Install poetry
62-
run: python -m pip install poetry
62+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
6363

6464
- name: Build docs
6565
run: make generate_docs
@@ -93,18 +93,18 @@ jobs:
9393
runs-on: ubuntu-24.04
9494
steps:
9595
- name: Checkout repository
96-
uses: actions/checkout@v4
96+
uses: actions/checkout@v6
9797

9898
- name: Install packages
99-
run: sudo apt-get install libgl1 libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr
99+
run: sudo apt-get install libgl1 libfuzzy-dev libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr libjpeg-dev
100100

101-
- name: Set up Python 3.12
102-
uses: actions/setup-python@v5
101+
- name: Set up Python 3.14
102+
uses: actions/setup-python@v6
103103
with:
104-
python-version: 3.12
104+
python-version: 3.14
105105

106106
- name: Install poetry
107-
run: python -m pip install poetry
107+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
108108

109109
- name: Install dependencies
110110
run: poetry install -E all
@@ -113,7 +113,7 @@ jobs:
113113
run: poetry build
114114

115115
- name: Upload package artifact
116-
uses: actions/upload-artifact@v4
116+
uses: actions/upload-artifact@v7
117117
with:
118118
name: python-package-distributions
119119
path: dist/
@@ -127,7 +127,7 @@ jobs:
127127

128128
steps:
129129
- name: Download dist files
130-
uses: actions/download-artifact@v4
130+
uses: actions/download-artifact@v8
131131
with:
132132
name: python-package-distributions
133133
path: dist/

.github/workflows/test-package.yml

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -15,18 +15,18 @@ jobs:
1515
steps:
1616

1717
- name: Checkout repository
18-
uses: actions/checkout@v4
18+
uses: actions/checkout@v6
1919

2020
- name: Install packages
21-
run: sudo apt-get install libgl1 libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr
21+
run: sudo apt-get install libgl1 libfuzzy-dev libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr libjpeg-dev
2222

23-
- name: Set up Python 3.12
24-
uses: actions/setup-python@v5
23+
- name: Set up Python 3.14
24+
uses: actions/setup-python@v6
2525
with:
26-
python-version: 3.12
26+
python-version: 3.14
2727

2828
- name: Install poetry
29-
run: python -m pip install poetry
29+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
3030

3131
- name: Build docs
3232
run: make generate_docs
@@ -37,23 +37,23 @@ jobs:
3737
strategy:
3838
fail-fast: false
3939
matrix:
40-
python-version: ["3.10", "3.11", "3.12"]
40+
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
4141

4242
steps:
4343

4444
- name: Checkout repository
45-
uses: actions/checkout@v4
45+
uses: actions/checkout@v6
4646

4747
- name: Install packages
48-
run: sudo apt-get install libgl1 libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr
48+
run: sudo apt-get install libgl1 libfuzzy-dev libpoppler-cpp-dev libpoppler-cpp0v5 libzbar0 tesseract-ocr libjpeg-dev
4949

5050
- name: Set up Python ${{ matrix.python-version }}
51-
uses: actions/setup-python@v5
51+
uses: actions/setup-python@v6
5252
with:
5353
python-version: ${{ matrix.python-version }}
5454

5555
- name: Install poetry
56-
run: python -m pip install poetry
56+
run: python -m pip install poetry poetry-plugin-bundle poetry-plugin-export
5757

5858
- name: Install dependencies
5959
run: poetry install --with test -E all
@@ -81,9 +81,9 @@ jobs:
8181
if: always()
8282
run: cat error.log
8383

84-
- name: Upload package artifcat
85-
if: ${{ matrix.python-version == '3.12' }}
86-
uses: actions/upload-artifact@v4
84+
- name: Upload package artifact
85+
if: ${{ matrix.python-version == '3.14' }}
86+
uses: actions/upload-artifact@v7
8787
with:
8888
name: python-package-distributions
8989
path: dist/
@@ -97,7 +97,7 @@ jobs:
9797

9898
steps:
9999
- name: Download dist files
100-
uses: actions/download-artifact@v4
100+
uses: actions/download-artifact@v8
101101
with:
102102
name: python-package-distributions
103103
path: dist/

misp_modules/__main__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -355,7 +355,7 @@ def main():
355355
ioloop.IOLoop.instance().start()
356356
finally:
357357
ioloop.IOLoop.instance().stop()
358-
return 0
358+
return 0
359359

360360

361361
if __name__ == "__main__":

misp_modules/modules/expansion/docx_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import json
44

55
import docx
6-
import np
6+
import numpy as np
77

88
misperrors = {"error": "Error"}
99
mispattributes = {"input": ["attachment"], "output": ["freetext", "text"]}

misp_modules/modules/expansion/ocr_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import json
33

44
import cv2
5-
import np
5+
import numpy as np
66
import pytesseract
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/ods_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import logging
55

66
import ezodf
7-
import np
7+
import numpy as np
88
import pandas_ods_reader
99

1010
misperrors = {"error": "Error"}

misp_modules/modules/expansion/odt_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
from ODTReader.odtreader import odtToText
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/pdf_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
import pdftotext
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/pptx_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
from pptx import Presentation
77

88
misperrors = {"error": "Error"}

misp_modules/modules/expansion/xlsx_enrich.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import io
33
import json
44

5-
import np
5+
import numpy as np
66
import pandas
77

88
misperrors = {"error": "Error"}

0 commit comments

Comments
 (0)