We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6340818 commit 16d39ccCopy full SHA for 16d39cc
1 file changed
azure-pipelines/templates/run_tests.yml
@@ -2,6 +2,13 @@ steps:
2
- script: "python -m pip install tox"
3
displayName: "Setup Python packages"
4
5
+ # tox will automatically install the most recent version of setuptools to build the package.
6
+ # However, for Python 3.7, we want an older version of setuptools to avoid DeprecationWarning
7
+ # for pkg_resources getting triggered by test_gevent.
8
+ - script: 'python -m pip install "setuptools<68"'
9
+ displayName: "Install setuptools"
10
+ condition: "'$(python.version)' == '3.7'"
11
+
12
- pwsh: |
13
$toxEnv = '$(python.version)'
14
if (-not $toxEnv.startsWith('pypy')) {
0 commit comments