From 7a192880f1a5ea606108baf92e1d8b1a77f1282d Mon Sep 17 00:00:00 2001 From: Mike Gerber Date: Wed, 3 Jan 2024 20:58:24 +0100 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=20Move=20on=20to=20supporting=20Pytho?= =?UTF-8?q?n=20>=3D=203.8=20only?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/test.yml | 10 ++-------- pyproject.toml | 2 +- 2 files changed, 3 insertions(+), 9 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 61dc014..0f8485a 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,10 +25,9 @@ jobs: strategy: fail-fast: false 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: ${{ matrix.python-version == '3.6' && 'ubuntu-20.04' || 'ubuntu-latest' }} + runs-on: "ubuntu-latest" env: test_results_dir: test-results-${{ matrix.python-version }} @@ -44,11 +43,6 @@ jobs: - name: Update 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 run: | for requirements_txt in requirements*.txt; do diff --git a/pyproject.toml b/pyproject.toml index da33b15..ce32d56 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -9,7 +9,7 @@ authors = [ ] description = "The OCR evaluation tool" readme = "README.md" -requires-python = ">=3.6" +requires-python = ">=3.8" keywords = ["qurator", "ocr", "evaluation", "ocr-d"] dynamic = ["version", "dependencies", "optional-dependencies"]