@@ -40,30 +40,30 @@ jobs:
4040 run : |
4141 python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
4242 python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/old_ptvsd --no-cache-dir --implementation py --no-deps --upgrade 'ptvsd==4.3.2'
43- python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/new_ptvsd /no_wheels --no-cache-dir --implementation py --no-deps --upgrade --pre ptvsd
43+ python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/debugpy /no_wheels --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
4444
45- - name : Install ptvsd wheels
45+ - name : Install debugpy wheels
4646 run : |
4747 python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
48- python ./pythonFiles/install_ptvsd .py
48+ python ./pythonFiles/install_debugpy .py
4949
50- # Retrieve the list of ptvsd versions from PyPI in order to increase the specificity of the pip cache key,
50+ # Retrieve the list of debugpy versions from PyPI in order to increase the specificity of the pip cache key,
5151 # so that the cache gets invalidated as necessary.
5252 # See https://github.com/microsoft/vscode-python/pull/9843#discussion_r373635221
53- - name : curl PyPI to get ptvsd versions
54- run : curl --output ptvsd .json https://pypi.org/pypi/ptvsd /json
53+ - name : curl PyPI to get debugpy versions
54+ run : curl --output debugpy .json https://pypi.org/pypi/debugpy /json
5555
5656 - name : Cache pip files
5757 uses : actions/cache@v1
5858 with :
5959 path : ~/.cache/pip
60- key : ${{runner.os}}-${{env.CACHE_PIP_DEPS}}-pip-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('ptvsd .json')}}
60+ key : ${{runner.os}}-${{env.CACHE_PIP_DEPS}}-pip-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('debugpy .json')}}
6161
6262 - name : Cache ./pythonFiles/lib/python
6363 uses : actions/cache@v1
6464 with :
6565 path : ./pythonFiles/lib/python
66- key : ${{runner.os}}-${{env.CACHE_PYTHONFILES}}-pythonFiles-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('ptvsd .json')}}
66+ key : ${{runner.os}}-${{env.CACHE_PYTHONFILES}}-pythonFiles-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('debugpy .json')}}
6767
6868 js-ts-deps :
6969 name : Install npm dependencies
@@ -148,14 +148,14 @@ jobs:
148148 path : ~/.npm
149149 key : ${{runner.os}}-${{env.CACHE_NPM_DEPS}}-${{hashFiles('package-lock.json')}}
150150
151- - name : curl PyPI to get ptvsd versions
152- run : curl --output ptvsd .json https://pypi.org/pypi/ptvsd /json
151+ - name : curl PyPI to get debugpy versions
152+ run : curl --output debugpy .json https://pypi.org/pypi/debugpy /json
153153
154154 - name : Retrieve cached pythonFiles/ directory
155155 uses : actions/cache@v1
156156 with :
157157 path : ./pythonFiles/lib/python
158- key : ${{runner.os}}-${{env.CACHE_PYTHONFILES}}-pythonFiles-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('ptvsd .json')}}
158+ key : ${{runner.os}}-${{env.CACHE_PYTHONFILES}}-pythonFiles-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('debugpy .json')}}
159159
160160 - name : Install dependencies (npm ci)
161161 run : npm ci --prefer-offline
@@ -222,28 +222,28 @@ jobs:
222222 with :
223223 python-version : ${{matrix.python}}
224224
225- - name : curl PyPI to get ptvsd versions
226- run : curl --output ptvsd .json https://pypi.org/pypi/ptvsd /json
225+ - name : curl PyPI to get debugpy versions
226+ run : curl --output debugpy .json https://pypi.org/pypi/debugpy /json
227227
228228 - name : Retrieve cached pythonFiles/ directory
229229 uses : actions/cache@v1
230230 # Use an id for this step so that its cache-hit output can be accessed and checked in the next step.
231231 id : pythonFiles-cache
232232 with :
233233 path : ./pythonFiles/lib/python
234- key : ${{runner.os}}-${{env.CACHE_PYTHONFILES}}-pythonFiles-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('ptvsd .json')}}
234+ key : ${{runner.os}}-${{env.CACHE_PYTHONFILES}}-pythonFiles-${{env.PYTHON_VERSION}}-${{hashFiles('requirements.txt')}}-${{hashFiles('build/debugger-install-requirements.txt')}}-${{hashFiles('debugpy .json')}}
235235
236236 - name : Install Python requirements if not cached
237237 run : |
238238 python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python --no-cache-dir --implementation py --no-deps --upgrade -r requirements.txt
239239 python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/old_ptvsd --no-cache-dir --implementation py --no-deps --upgrade 'ptvsd==4.3.2'
240- python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/new_ptvsd /no_wheels --no-cache-dir --implementation py --no-deps --upgrade --pre ptvsd
240+ python -m pip --disable-pip-version-check install -t ./pythonFiles/lib/python/debugpy /no_wheels --no-cache-dir --implementation py --no-deps --upgrade --pre debugpy
241241 if : steps.pythonFiles-cache.outputs.cache-hit == false
242242
243- - name : Install ptvsd wheels if not cached
243+ - name : Install debugpy wheels if not cached
244244 run : |
245245 python -m pip --disable-pip-version-check install -r build/debugger-install-requirements.txt
246- python ./pythonFiles/install_ptvsd .py
246+ python ./pythonFiles/install_debugpy .py
247247 if : steps.pythonFiles-cache.outputs.cache-hit == false
248248
249249 - name : Install test requirements
0 commit comments