diff options
author | Thomas Grainger <tagrain@gmail.com> | 2023-04-21 13:39:17 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-21 14:39:17 +0200 |
commit | 2c02fc98c0e2c67be5b79a50f8bc8c7f5cfe6c07 (patch) | |
tree | 8be53b29245d2e8500f82a0bf95c550651f1fbf8 /.github | |
parent | 8a45447e8a1014109097bbd11c84f2738d1c1700 (diff) | |
download | urllib3-2c02fc98c0e2c67be5b79a50f8bc8c7f5cfe6c07.tar.gz |
Remove dummy setup.py file (#2976)
GitHub Actions is dropping support for Python 2.7, making this difficult to test. Thankfully, Python 2.7 only accounts for 4% of our total downloads. The share of users using an ancient pip is probably even smaller.
Diffstat (limited to '.github')
-rw-r--r-- | .github/CODEOWNERS | 1 | ||||
-rw-r--r-- | .github/workflows/ci.yml | 22 |
2 files changed, 2 insertions, 21 deletions
diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8b8dab92..64afa535 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -4,6 +4,5 @@ .github/workflows/ @sethmlarson @pquentin @shazow .github/CODEOWNERS @sethmlarson @pquentin @shazow src/urllib3/_version.py @sethmlarson @pquentin @shazow -setup.py @sethmlarson @pquentin @shazow pyproject.toml @sethmlarson @pquentin @shazow ci/ @sethmlarson @pquentin @shazow diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 2b8d1369..bca0332f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -51,10 +51,6 @@ jobs: os: ubuntu-latest experimental: false nox-session: test-pypy - - python-version: "2.7" - os: ubuntu-20.04 # CPython 2.7 is not available for ubuntu-22.04 - experimental: false - nox-session: unsupported_setup_py - python-version: "3.x" os: ubuntu-latest experimental: false @@ -90,20 +86,7 @@ jobs: with: python-version: ${{ matrix.python-version }} - # Setup Python 3.x to run nox on behalf of Python 2.7 - - if: matrix.python-version == '2.7' - name: "Setup Python 3.x" - uses: "actions/setup-python@d27e3f3d7c64b4bbf8e4abfb9b63b83e846e0435" - with: - python-version: "3.x" - cache: "pip" - - - if: matrix.python-version == '2.7' - name: "Install dependencies" - run: python -m pip install --upgrade pip setuptools nox 'virtualenv<20.22.0' - - - if: matrix.python-version != '2.7' - name: "Install dependencies" + - name: "Install dependencies" run: python -m pip install --upgrade pip setuptools nox - name: "Run tests" @@ -112,8 +95,7 @@ jobs: PYTHON_VERSION: ${{ matrix.python-version }} NOX_SESSION: ${{ matrix.nox-session }} - - if: ${{ matrix.nox-session != 'unsupported_setup_py' }} - name: "Upload artifact" + - name: "Upload artifact" uses: "actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce" with: name: coverage-data |