Skip to content

Commit

Permalink
Don't test on Python 3.10 and PyPy due to pip trying to resolve depen…
Browse files Browse the repository at this point in the history
…dencies forever
  • Loading branch information
domdfcoding committed Apr 12, 2021
1 parent 8eaa9db commit bd2252c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 25 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/python_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: "windows-2019"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.7,pypy-3.6,pypy-3.7'
USING_COVERAGE: '3.6,3.7,3.8,3.9'

strategy:
fail-fast: False
Expand All @@ -21,9 +21,6 @@ jobs:
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10.0-alpha.7", testenvs: "py310-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand All @@ -38,8 +35,7 @@ jobs:
run: |
python -VV
python -m site
python -m pip install git+https://github.com/pypa/pip
python -m pip install --upgrade setuptools wheel
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade tox virtualenv
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/python_ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: "ubuntu-20.04"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.7,pypy-3.6,pypy-3.7'
USING_COVERAGE: '3.6,3.7,3.8,3.9'

strategy:
fail-fast: False
Expand All @@ -21,9 +21,6 @@ jobs:
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10.0-alpha.7", testenvs: "py310-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/python_ci_macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: "macos-latest"
continue-on-error: ${{ matrix.config.experimental }}
env:
USING_COVERAGE: '3.6,3.7,3.8,3.9,3.10.0-alpha.7,pypy-3.6,pypy-3.7'
USING_COVERAGE: '3.6,3.7,3.8,3.9'

strategy:
fail-fast: False
Expand All @@ -21,9 +21,6 @@ jobs:
- {python-version: "3.7", testenvs: "py37,build", experimental: False}
- {python-version: "3.8", testenvs: "py38,build", experimental: False}
- {python-version: "3.9", testenvs: "py39,build", experimental: False}
- {python-version: "3.10.0-alpha.7", testenvs: "py310-dev,build", experimental: True}
- {python-version: "pypy-3.6", testenvs: "pypy36,build", experimental: False}
- {python-version: "pypy-3.7", testenvs: "pypy37,build", experimental: True}

steps:
- name: Checkout 🛎️
Expand All @@ -38,8 +35,7 @@ jobs:
run: |
python -VV
python -m site
python -m pip install git+https://github.com/pypa/pip
python -m pip install --upgrade setuptools wheel
python -m pip install --upgrade pip setuptools wheel
python -m pip install --upgrade tox virtualenv
- name: "Run Tests for Python ${{ matrix.config.python-version }}"
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ base-classifiers = [
"Typing :: Typed",
]
python-versions = [ "3.6", "3.7", "3.8", "3.9",]
python-implementations = [ "CPython", "PyPy",]
python-implementations = [ "CPython",]
platforms = [ "Windows", "macOS", "Linux",]
license-key = "LGPL-3.0-or-later"

Expand Down
3 changes: 0 additions & 3 deletions repo_helper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ python_versions:
- 3.7
- 3.8
- 3.9
- 3.10-dev
- pypy36
- pypy37

classifiers:
- 'Development Status :: 4 - Beta'
Expand Down
8 changes: 3 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
# * pytest

[tox]
envlist = py36, py37, py38, py39, py310-dev, pypy36, pypy37, mypy, build
envlist = py36, py37, py38, py39, mypy, build
skip_missing_interpreters = True
isolated_build = True
requires =
Expand All @@ -25,14 +25,12 @@ requires =
tox-pip-version>=0.0.7

[envlists]
test = py36, py37, py38, py39, py310-dev, pypy36, pypy37
test = py36, py37, py38, py39
qa = mypy, lint
cov = py36, coverage

[testenv]
setenv =
PYTHONDEVMODE = 1
PIP_RESOLVER_DEBUG = 1
setenv = PYTHONDEVMODE = 1
deps = -r{toxinidir}/tests/requirements.txt
commands =
python --version
Expand Down

0 comments on commit bd2252c

Please sign in to comment.