diff --git a/.github/workflows/main-check.yml b/.github/workflows/main-check.yml index 34072a80..11b83274 100644 --- a/.github/workflows/main-check.yml +++ b/.github/workflows/main-check.yml @@ -12,7 +12,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - python: ["3.8", "3.9", "3.10", "3.11"] + python: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 09046f8c..ad4fd33a 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -11,7 +11,7 @@ jobs: - uses: actions/checkout@v3 - uses: actions/setup-python@v4 with: - python-version: 3.8 + python-version: 3.11 - name: Install tools run: pip install wheel - name: Build diff --git a/.github/workflows/validate-pr.yml b/.github/workflows/validate-pr.yml index 9df67d52..9ba15b49 100644 --- a/.github/workflows/validate-pr.yml +++ b/.github/workflows/validate-pr.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-22.04] - python: ["3.8", "3.9", "3.10", "3.11"] + python: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 @@ -111,7 +111,7 @@ jobs: steps: - uses: actions/setup-python@v3 with: - python-version: 3.8 + python-version: 3.11 - uses: actions/checkout@v3 with: diff --git a/.github/workflows/windows-subprocess-check.yml b/.github/workflows/windows-subprocess-check.yml index b002d0c0..5e33611a 100644 --- a/.github/workflows/windows-subprocess-check.yml +++ b/.github/workflows/windows-subprocess-check.yml @@ -11,7 +11,7 @@ jobs: strategy: matrix: os: [windows-latest] - python: ["3.8", "3.9", "3.10", "3.11"] + python: ["3.9", "3.10", "3.11"] steps: - uses: actions/checkout@v3 diff --git a/.readthedocs.yml b/.readthedocs.yml index 1a46ba35..ef279a28 100644 --- a/.readthedocs.yml +++ b/.readthedocs.yml @@ -15,6 +15,6 @@ formats: [] # Optionally set the version of Python and requirements required to build your docs python: - version: 3.8 + version: 3.11 install: - requirements: docs/requirements.txt diff --git a/substrafl/remote/register/register.py b/substrafl/remote/register/register.py index 4de29de6..207a20a5 100644 --- a/substrafl/remote/register/register.py +++ b/substrafl/remote/register/register.py @@ -26,7 +26,7 @@ # minimal and maximal values of Python 3 minor versions supported # we need to store this as integer, else "3.11" < "3.9" (string comparison) -MINIMAL_PYTHON_VERSION = 8 # 3.8 +MINIMAL_PYTHON_VERSION = 9 # 3.9 MAXIMAL_PYTHON_VERSION = 11 # 3.11 _DEFAULT_BASE_DOCKER_IMAGE = "python:{python_version}-slim" diff --git a/tests/installable_library/setup.py b/tests/installable_library/setup.py index f8bee471..95b65e9c 100644 --- a/tests/installable_library/setup.py +++ b/tests/installable_library/setup.py @@ -7,5 +7,5 @@ version="0.0.1", description="testlib", packages=find_packages(), - python_requires=">=3.8", + python_requires=">=3.9", ) diff --git a/tests/remote/register/test_register.py b/tests/remote/register/test_register.py index 5e30f23e..0005e844 100644 --- a/tests/remote/register/test_register.py +++ b/tests/remote/register/test_register.py @@ -31,13 +31,13 @@ def add_function(*args): pass -@pytest.mark.parametrize("version", ["2.7", "3.7", "3.18"]) +@pytest.mark.parametrize("version", ["2.7", "3.7", "3.8", "3.18"]) def test_check_python_version(version): with pytest.raises(UnsupportedPythonVersionError): register._check_python_version(version) -@pytest.mark.parametrize("version", ["3.8", "3.9", "3.10", "3.11"]) +@pytest.mark.parametrize("version", ["3.9", "3.10", "3.11"]) def test_check_python_version_valid(version): """Does not raise for supported versions""" register._check_python_version(version)