diff --git a/.github/workflows/doctest.yml b/.github/workflows/doctest.yml index e14c36b09c..cdcaafafd6 100644 --- a/.github/workflows/doctest.yml +++ b/.github/workflows/doctest.yml @@ -23,18 +23,10 @@ jobs: max-parallel: 17 matrix: - python-version: [ "pypy3.7", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "pypy3.8", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] os: [ windows-latest, macOS-latest, ubuntu-latest ] include: - python-version: "3.14-dev" - # ubuntu-22.04 required for Python 3.7 - - python-version: "3.7" - os: windows-latest - - python-version: "3.7" - os: ubuntu-22.04 - exclude: - - os: macOS-latest - python-version: "pypy3.7" steps: - name: Checkout Repository @@ -61,7 +53,6 @@ jobs: pip --version pip install coverage pip install "tomli; python_version < '3.11'" - pip install "importlib_metadata ; python_version < '3.8'" pip install mwparserfromhell pip install packaging pip install "PyMySQL >= 1.0.0" diff --git a/.github/workflows/login_tests-ci.yml b/.github/workflows/login_tests-ci.yml index 168790acaf..dcea789154 100644 --- a/.github/workflows/login_tests-ci.yml +++ b/.github/workflows/login_tests-ci.yml @@ -23,40 +23,30 @@ jobs: max-parallel: 1 matrix: - python-version: [ "pypy3.7", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] + python-version: [ "pypy3.8", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] site: [ "wikipedia:en", "wikisource:zh", "wikipedia:test" ] include: - # ubuntu-22.04 required for Python 3.7 - - python-version: "3.7" - site: wikipedia:en - os: ubuntu-22.04 - - python-version: "3.7" - site: wikisource:zh - os: ubuntu-22.04 - - python-version: "3.7" - site: wikipedia:test - os: ubuntu-22.04 - - python-version: "3.7" + - python-version: "3.8" site: False family: wpbeta code: en os: ubuntu-22.04 - - python-version: "3.7" + - python-version: "3.8" site: False family: wpbeta code: zh os: ubuntu-22.04 - - python-version: "3.8" + - python-version: "3.9" site: wsbeta:en - - python-version: "3.7" + - python-version: "3.8" site: wikidata:test os: ubuntu-22.04 - - python-version: "3.9" + - python-version: "3.10" site: wiktionary:ar - - python-version: "3.7" + - python-version: "3.8" site: wikidata:wikidata os: ubuntu-22.04 - - python-version: "3.8" + - python-version: "3.9" site: wowwiki:uk - python-version: 3 site: wikipedia:de @@ -87,7 +77,6 @@ jobs: pip --version pip install coverage pip install "tomli; python_version < '3.11'" - pip install "importlib_metadata ; python_version < '3.8'" pip install mwparserfromhell pip install packaging pip install requests diff --git a/.github/workflows/oauth_tests-ci.yml b/.github/workflows/oauth_tests-ci.yml index 2af22aa8e0..169785ed2a 100644 --- a/.github/workflows/oauth_tests-ci.yml +++ b/.github/workflows/oauth_tests-ci.yml @@ -23,27 +23,19 @@ jobs: fail-fast: false matrix: - python-version: [ "pypy3.7", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] + python-version: [ "pypy3.8", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] family: [ wikipedia ] code: [ test ] domain: [ "test.wikipedia.org" ] include: - # ubuntu-22.04 required for Python 3.7 - - python-version: "3.7" - family: wikipedia - code: test - domain: test.wikipedia.org - os: ubuntu-22.04 - - python-version: "3.7" + - python-version: "3.8" family: wpbeta code: en domain: en.wikipedia.beta.wmflabs.org - os: ubuntu-22.04 - - python-version: "3.7" + - python-version: "3.8" family: wpbeta code: zh domain: zh.wikipedia.beta.wmflabs.org - os: ubuntu-22.04 steps: - name: Checkout Repository @@ -86,7 +78,6 @@ jobs: pip install coverage # tomli required for coverage due to T380697 pip install "tomli; python_version < '3.11'" - pip install "importlib_metadata ; python_version < '3.8'" pip install mwparserfromhell # PyJWT added due to T380270 pip install "PyJWT != 2.10.0, != 2.10.1 ; python_version > '3.8'" diff --git a/.github/workflows/pywikibot-ci.yml b/.github/workflows/pywikibot-ci.yml index 7aae45c79e..f888c0e748 100644 --- a/.github/workflows/pywikibot-ci.yml +++ b/.github/workflows/pywikibot-ci.yml @@ -26,41 +26,29 @@ jobs: max-parallel: 18 matrix: - python-version: [ "pypy3.7", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] + python-version: [ "pypy3.8", "pypy3.10", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13", "3.14-dev" ] site: [ "wikipedia:en", "wikisource:zh" ] include: - # ubuntu-22.04 required for Python 3.7 - - python-version: "3.7" - site: wikipedia:en - os: ubuntu-22.04 - - python-version: "3.7" - site: wikisource:zh - os: ubuntu-22.04 - - python-version: "3.7" + - python-version: "3.8" site: wikipedia:test - os: ubuntu-22.04 - - python-version: "3.7" + - python-version: "3.8" site: False family: wpbeta code: en - os: ubuntu-22.04 - - python-version: "3.7" + - python-version: "3.8" site: False family: wpbeta code: zh - os: ubuntu-22.04 - - python-version: "3.8" + - python-version: "3.9" site: wsbeta:en - - python-version: "3.7" + - python-version: "3.8" site: wikidata:test - os: ubuntu-22.04 - - python-version: "3.9" + - python-version: "3.10" site: wiktionary:ar test_no_rc: true - - python-version: "3.7" - site: wikidata:wikidata - os: ubuntu-22.04 - python-version: "3.8" + site: wikidata:wikidata + - python-version: "3.9" site: wowwiki:uk - python-version: "3" site: wikipedia:de diff --git a/.github/workflows/sysop_write_tests-ci.yml b/.github/workflows/sysop_write_tests-ci.yml index 536010d9c6..a8409455c9 100644 --- a/.github/workflows/sysop_write_tests-ci.yml +++ b/.github/workflows/sysop_write_tests-ci.yml @@ -15,8 +15,7 @@ env: jobs: build: - # ubuntu-22.04 required for Python 3.7 - runs-on: "ubuntu-22.04" + runs-on: "ubuntu-latest" continue-on-error: ${{ matrix.experimental || false }} timeout-minutes: 100 @@ -24,7 +23,7 @@ jobs: fail-fast: false matrix: - python-version: [ "3.7" ] + python-version: [ "3.8" ] site: [ "wikipedia:test" ] attr: [ "write and not rights", "write and rights", "rights and not write" ] diff --git a/.github/workflows/windows_tests.yml b/.github/workflows/windows_tests.yml index 5a24fbc64e..1abdf46b86 100644 --- a/.github/workflows/windows_tests.yml +++ b/.github/workflows/windows_tests.yml @@ -23,7 +23,7 @@ jobs: fail-fast: false matrix: - python-version: [ "3.7.1", "3.7", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] + python-version: [ "3.8.0", "3.8", "3.9", "3.10", "3.11", "3.12", "3.13" ] python-arch: [ x64, x86 ] site: [ "wikipedia:en" ] @@ -47,10 +47,6 @@ jobs: python -c "import struct; print('PYTHON_ARCH:', struct.calcsize('P') << 3)" python -m pip install --upgrade pip pip --version - if ('${{ matrix.python-version }}' -eq '3.7.1') { - pip install -U setuptools; - pip install "urllib3<2.0"; - } if ('${{ matrix.python-version }}' -ge '3.12') { pip install -U setuptools; }