mirror of
https://github.com/qurator-spk/dinglehopper.git
synced 2025-06-08 11:20:26 +02:00
⬆ Move on to supporting Python >= 3.8 only
This commit is contained in:
parent
c752793be6
commit
7a192880f1
2 changed files with 3 additions and 9 deletions
10
.github/workflows/test.yml
vendored
10
.github/workflows/test.yml
vendored
|
@ -25,10 +25,9 @@ jobs:
|
||||||
strategy:
|
strategy:
|
||||||
fail-fast: false
|
fail-fast: false
|
||||||
matrix:
|
matrix:
|
||||||
python-version: [ "3.6", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12" ]
|
python-version: [ "3.8", "3.9", "3.10", "3.11", "3.12" ]
|
||||||
|
|
||||||
# For Python 3.6, we need to fall back to Ubuntu 20.04
|
runs-on: "ubuntu-latest"
|
||||||
runs-on: ${{ matrix.python-version == '3.6' && 'ubuntu-20.04' || 'ubuntu-latest' }}
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
test_results_dir: test-results-${{ matrix.python-version }}
|
test_results_dir: test-results-${{ matrix.python-version }}
|
||||||
|
@ -44,11 +43,6 @@ jobs:
|
||||||
|
|
||||||
- name: Update pip
|
- name: Update pip
|
||||||
run: python3 -m pip install -U pip
|
run: python3 -m pip install -U pip
|
||||||
- name: Avoid compiling OpenCV and NumPy on Python 3.6
|
|
||||||
run: |
|
|
||||||
if python3 --version | grep -q "Python 3.6"; then
|
|
||||||
pip install --prefer-binary -U opencv-python-headless numpy
|
|
||||||
fi
|
|
||||||
- name: Install requirements*.txt
|
- name: Install requirements*.txt
|
||||||
run: |
|
run: |
|
||||||
for requirements_txt in requirements*.txt; do
|
for requirements_txt in requirements*.txt; do
|
||||||
|
|
|
@ -9,7 +9,7 @@ authors = [
|
||||||
]
|
]
|
||||||
description = "The OCR evaluation tool"
|
description = "The OCR evaluation tool"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
requires-python = ">=3.6"
|
requires-python = ">=3.8"
|
||||||
keywords = ["qurator", "ocr", "evaluation", "ocr-d"]
|
keywords = ["qurator", "ocr", "evaluation", "ocr-d"]
|
||||||
|
|
||||||
dynamic = ["version", "dependencies", "optional-dependencies"]
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue