Skip to content

Commit

Permalink
Merge pull request #1207 from stweil/remove_old_python_3_7
Browse files Browse the repository at this point in the history
Remove old code for unsupported Python 3.7
  • Loading branch information
kba committed Apr 16, 2024
2 parents 9875d20 + 4d769c1 commit 60b13cf
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 19 deletions.
13 changes: 0 additions & 13 deletions .circleci/config.yml
Expand Up @@ -21,19 +21,6 @@ jobs:
- run: make install
- run: export PATH="/Users/distiller/Library/Python/3.9/bin:$PATH"; make deps-test test benchmark

test-python37:
docker:
- image: cimg/python:3.7
working_directory: ~/ocrd-core
steps:
- checkout
- run: sudo apt-get -y update
- run: sudo make deps-ubuntu
- run: make install deps-test
- run: make test benchmark
# smoke test to ensure that --editable install works
- run: make install-dev; ocrd --version

test-python38:
docker:
- image: cimg/python:3.8
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/network-testing.yml
Expand Up @@ -16,7 +16,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/unit-test.yml
Expand Up @@ -18,7 +18,6 @@ jobs:
fail-fast: false
matrix:
python-version:
- '3.7'
- '3.8'
- '3.9'
- '3.10'
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -55,7 +55,7 @@ pip install ocrd
pip install ocrd_modelfactory
```

All python software released by [OCR-D](https://github.com/OCR-D) requires Python 3.7 or higher.
All Python software released by [OCR-D](https://github.com/OCR-D) requires Python 3.8 or higher.

**NOTE** Some OCR-D-Tools (or even test cases) _might_ reveal an unintended behavior if you have specific environment modifications, like:
* using a custom build of [ImageMagick](https://github.com/ImageMagick/ImageMagick), whose format delegates are different from what OCR-D supposes
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Expand Up @@ -10,7 +10,7 @@ name = "ocrd"
authors = [{name = "Konstantin Baierer", email = "unixprog@gmail.com"}]
license = {text = "Apache License 2.0"}
description = "OCR-D framework"
requires-python = ">=3.7"
requires-python = ">=3.8"
dynamic = ['version', 'dependencies']

[project.readme]
Expand Down
3 changes: 1 addition & 2 deletions requirements_test.txt
Expand Up @@ -16,5 +16,4 @@ click
twine
wheel
# For typing-compatible lxml interface definitions
types-lxml ; python_version > '3.7'
lxml-stubs ; python_version <= '3.7'
types-lxml

0 comments on commit 60b13cf

Please sign in to comment.