diff --git a/.github/workflows/build-test-deploy.yml b/.github/workflows/build-test-deploy.yml index 3d1fa501..d25e2d02 100644 --- a/.github/workflows/build-test-deploy.yml +++ b/.github/workflows/build-test-deploy.yml @@ -21,7 +21,7 @@ jobs: LANG: en_US.UTF-8 strategy: matrix: - python-version: ['3.6', '3.7', '3.8', '3.9', '3.10'] + python-version: ['3.8', '3.9', '3.10', '3.11'] os-version: ['ubuntu-20.04', 'windows-latest', 'macos-latest'] # Pinned Ubuntu version to 20.04 since no Python 3.6 builds available on ubuntu-latest (22.04) as of 2022-12-7. # os-version: [ubuntu-latest, windows-latest, macos-latest] diff --git a/tests/conftest.py b/tests/conftest.py index 768d9586..7b47ae9f 100644 --- a/tests/conftest.py +++ b/tests/conftest.py @@ -633,12 +633,12 @@ def pytest_runtest_makereport(item, call): # The id of the test is deteremined by its parameterization. We just want to know if the test was # for Viya 3.5 or 2020.01, 2022.09, etc. Try to check the parameter assigned to known fixtures like # `session`. If that fails, we'll just use the id generated by pytest. - if "session" in item.callspec.params: - key = item.callspec.params["session"] - elif "cas_session" in item.callspec.params: - key = item.callspec.params["cas_session"] - else: - key = item.callspec.id + # if "session" in item.callspec.params: + # key = item.callspec.params["session"] + # elif "cas_session" in item.callspec.params: + # key = item.callspec.params["cas_session"] + # else: + key = item.callspec.id # Track that this test was the last test to fail for this Viya version parent._previousfailed[key] = item diff --git a/tox.ini b/tox.ini index 0851d626..70cfed8e 100644 --- a/tox.ini +++ b/tox.ini @@ -12,7 +12,7 @@ [tox] -envlist = py{36,37,38,39,310,311}-tests-{clean,unit,integration} +envlist = py{38,39,310,311}-tests-{clean,unit,integration} # Allow execution even if all Python versions are not present skip_missing_interpreters = {env:TOX_SKIP_MISSING_INTERPRETERS:True} @@ -20,8 +20,6 @@ skip_missing_interpreters = {env:TOX_SKIP_MISSING_INTERPRETERS:True} # Required by tox-gh-actions GH action. Maps GH Python runtime to tox envlist. [gh-actions] python = - 3.6: py36 - 3.7: py37 3.8: py38 3.9: py39 3.10: py310 @@ -32,8 +30,6 @@ skip_install = clean: true basepython = - py36: python3.6 - py37: python3.7 py38: python3.8 py39: python3.9 py310: python3.10 @@ -50,7 +46,7 @@ deps = tests: cython # required to install pandas from source tests: swat >= 1.8 tests: kerberos ; platform_system != "Windows" and platform_system != "Darwin" - tests: xgboost == 0.82 + tests: xgboost == 1.7.3 tests: urllib3 < 2.0.0 tests: nbconvert tests: nbformat