diff --git a/.github/workflows/ci-testing.yml b/.github/workflows/ci-testing.yml index 979b4ca..017f643 100644 --- a/.github/workflows/ci-testing.yml +++ b/.github/workflows/ci-testing.yml @@ -12,7 +12,7 @@ jobs: runs-on: ubuntu-20.04 strategy: matrix: - python-version: ["3.8", "3.9", "3.10"] + python-version: ["3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/setup.cfg b/setup.cfg index b4083f0..52ab1cd 100644 --- a/setup.cfg +++ b/setup.cfg @@ -20,3 +20,6 @@ verbose = 1 [mypy] ignore_missing_imports = True + +[mypy-requests.packages.urllib3] +ignore_missing_imports = True diff --git a/tox.ini b/tox.ini index 634cf31..904a144 100644 --- a/tox.ini +++ b/tox.ini @@ -18,14 +18,12 @@ envlist = check, unit_py3_11, unit_py3_10, - unit_py3_9, - unit_py3_8, doc [testenv] description = - {unit_py3_8,unit_py3_9,unit_py3_10,unit_py3_11}: Unit Test run with basepython set to {basepython} + {unit_py3_10,unit_py3_11}: Unit Test run with basepython set to {basepython} allowlist_externals = bash travis-sphinx @@ -40,8 +38,6 @@ basepython = {check,devel,doc}: python3 unit_py3_11: python3.11 unit_py3_10: python3.10 - unit_py3_9: python3.9 - unit_py3_8: python3.8 release: python3.10 passenv = * @@ -50,24 +46,6 @@ deps = -r.virtualenv.dev-requirements.txt -# Unit Test run with basepython set to 3.8 -[testenv:unit_py3_8] -setenv = - PYTHONPATH={toxinidir}/test -changedir=test/unit -commands = - {[testenv:unit]commands} - - -# Unit Test run with basepython set to 3.9 -[testenv:unit_py3_9] -setenv = - PYTHONPATH={toxinidir}/test -changedir=test/unit -commands = - {[testenv:unit]commands} - - # Unit Test run with basepython set to 3.10 [testenv:unit_py3_10] setenv = @@ -99,7 +77,7 @@ deps = {[testenv]deps} changedir=test/unit commands = bash -c 'cd ../../ && ./setup.py develop' - bash -c 'cd ../../ && mypy kiwi_boxed_plugin' + bash -c 'cd ../../ && mypy --install-types --non-interactive kiwi_boxed_plugin' pytest --doctest-modules --no-cov-on-fail --cov=kiwi_boxed_plugin \ --cov-report=term-missing --cov-fail-under=100 \ --cov-config .coveragerc {posargs}