mirror of
https://github.com/microsoft/debugpy.git
synced 2025-12-23 08:48:12 +00:00
Use setuptools<68 for Python 3.7
This commit is contained in:
parent
6340818a0e
commit
16d39cc173
1 changed files with 7 additions and 0 deletions
|
|
@ -2,6 +2,13 @@ steps:
|
|||
- script: "python -m pip install tox"
|
||||
displayName: "Setup Python packages"
|
||||
|
||||
# tox will automatically install the most recent version of setuptools to build the package.
|
||||
# However, for Python 3.7, we want an older version of setuptools to avoid DeprecationWarning
|
||||
# for pkg_resources getting triggered by test_gevent.
|
||||
- script: 'python -m pip install "setuptools<68"'
|
||||
displayName: "Install setuptools"
|
||||
condition: "'$(python.version)' == '3.7'"
|
||||
|
||||
- pwsh: |
|
||||
$toxEnv = '$(python.version)'
|
||||
if (-not $toxEnv.startsWith('pypy')) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue