From 0506d7bc1bab9bfdde2706a89d208cc84db3938d Mon Sep 17 00:00:00 2001 From: Alexandre Menezes Date: Fri, 25 Oct 2024 11:19:46 -0300 Subject: [PATCH 1/3] feat: Support to Python 3.13 --- .github/workflows/ci.yml | 1 + .tool-versions | 2 +- Makefile | 2 +- aiopytesseract/__init__.py | 2 +- setup.cfg | 4 +--- 5 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3a7778d..f69ec46 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ jobs: '3.10', '3.11', '3.12', + '3.13', 'pypy-3.8', 'pypy-3.9', 'pypy-3.10' diff --git a/.tool-versions b/.tool-versions index f1c0c50..ed29ccd 100644 --- a/.tool-versions +++ b/.tool-versions @@ -1 +1 @@ -python 3.12.1 +python 3.13.0t diff --git a/Makefile b/Makefile index c9bd17a..ce7e121 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ docs: install-deps: @echo "> installing dependencies..." - pip install -r requirements-dev.txt + uv pip install -r requirements-dev.txt pre-commit install tox: diff --git a/aiopytesseract/__init__.py b/aiopytesseract/__init__.py index b4cd8ff..0083d57 100644 --- a/aiopytesseract/__init__.py +++ b/aiopytesseract/__init__.py @@ -16,7 +16,7 @@ ) from .models import OSD, Box, Data, Parameter -__version__ = "0.14.0" +__version__ = "0.15.0" __all__ = [ "__version__", "OSD", diff --git a/setup.cfg b/setup.cfg index eb84e64..61bd76b 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,6 +29,7 @@ classifiers = Programming Language :: Python :: 3.10 Programming Language :: Python :: 3.11 Programming Language :: Python :: 3.12 + Programming Language :: Python :: 3.13 Programming Language :: Python :: Implementation :: CPython Programming Language :: Python :: Implementation :: PyPy Topic :: Software Development :: Libraries @@ -90,9 +91,6 @@ disallow_subclassing_any = True disallow_untyped_decorators = True disallow_any_generics = True -[tox:tox] -envlist = py{38,39,310,311,312},pypy{3.8,3.9,3.10} - [testenv] deps = -rrequirements-dev.txt whitelist_externals = make From 6397d6d73e1480a09f89060ca12c7aeb7553a7ec Mon Sep 17 00:00:00 2001 From: Alexandre Menezes Date: Fri, 25 Oct 2024 11:22:03 -0300 Subject: [PATCH 2/3] fix: disabled codecov integration --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index ce7e121..a60a2fa 100644 --- a/Makefile +++ b/Makefile @@ -50,7 +50,7 @@ about: ci: lint tests ifeq ($(GITHUB_HEAD_REF), false) @echo "> uploading report..." - codecov --file coverage.xml -t $$CODECOV_TOKEN + # codecov --file coverage.xml -t $$CODECOV_TOKEN endif all: install-deps ci From 9e03099ede48bcf881982c1dbf90390c946dc788 Mon Sep 17 00:00:00 2001 From: Alexandre Menezes Date: Fri, 25 Oct 2024 11:24:54 -0300 Subject: [PATCH 3/3] fix: disabled codecov integration --- .github/workflows/ci.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f69ec46..dde5184 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,8 +41,8 @@ jobs: run: | sudo apt-get install -y tesseract-ocr tesseract-ocr-por make ci SKIP_STYLE=true - - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 - with: - file: ./coverage.xml - fail_ci_if_error: true + # - name: Upload coverage to Codecov + # uses: codecov/codecov-action@v1 + # with: + # file: ./coverage.xml + # fail_ci_if_error: true