Skip to content

Commit

Permalink
Add required option for tox v4 (#795)
Browse files Browse the repository at this point in the history
* Add required option for tox v4

* Update tox in GHA

* Remove py27 no-cache-dir
  • Loading branch information
TimPansino committed May 10, 2023
1 parent a963649 commit c2d4629
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup-python-matrix/action.yml
Expand Up @@ -47,4 +47,4 @@ runs:
shell: bash
run: |
python3.10 -m pip install -U pip
python3.10 -m pip install -U wheel setuptools 'tox<4' 'virtualenv<20.22.0'
python3.10 -m pip install -U wheel setuptools tox 'virtualenv<20.22.0'
6 changes: 3 additions & 3 deletions tox.ini
Expand Up @@ -408,10 +408,10 @@ commands =
libcurl: pip install --ignore-installed --config-settings="--build-option=--with-openssl" pycurl
coverage run -m pytest -v

allowlist_externals={toxinidir}/.github/scripts/*

install_command=
# Older pip versions that support python 2 have issues with using the cache directory and cause crashes on GitHub Actions
{py27,pypy}: {toxinidir}/.github/scripts/retry.sh 3 pip install --no-cache-dir {opts} {packages}
!{py27,pypy}: {toxinidir}/.github/scripts/retry.sh 3 pip install {opts} {packages}
{toxinidir}/.github/scripts/retry.sh 3 pip install {opts} {packages}

extras =
agent_streaming: infinite-tracing
Expand Down

0 comments on commit c2d4629

Please sign in to comment.