From db63cd5bd11c27c42b5a06a0c8dbb4b899652aa4 Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Wed, 6 Nov 2024 16:47:11 -0600 Subject: [PATCH 1/6] build pydevd biniaries, publish them, and download them in later jobs --- azure-pipelines/pipelines.yaml | 118 ++++++++++++++++++++++----------- 1 file changed, 79 insertions(+), 39 deletions(-) diff --git a/azure-pipelines/pipelines.yaml b/azure-pipelines/pipelines.yaml index fbf9de759..ecad02f9d 100644 --- a/azure-pipelines/pipelines.yaml +++ b/azure-pipelines/pipelines.yaml @@ -51,10 +51,69 @@ jobs: searchFolder: "$(Build.ArtifactStagingDirectory)" condition: "always()" + - job: pydevd_binaries + displayName: Build pydevd binaries + + strategy: + matrix: + windows: + image: windows-latest + contents: | + *.exe + *.dll + *.pdb + script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows/compile_windows.bat + workingDirectory: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows + mac: + image: macOS-latest + contents: | + *.dylib + script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_mac.sh + workingDirectory: $(System.DefaultWorkingDirectory) + linux: + image: ubuntu-latest + contents: | + *.so + script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_linux.sh + workingDirectory: $(System.DefaultWorkingDirectory) + + pool: + vmImage: $(image) + + steps: + + # Clean up old binaries + - task: DeleteFiles@1 + displayName: Clean up old binaries + inputs: + SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + Contents: $(contents) + + # Build pydevd binaries + - script: $(script) + displayName: Build pydevd binaries + workingDirectory: $(workingDirectory) + + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries + inputs: + SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + Contents: $(contents) + TargetFolder: $(Build.ArtifactStagingDirectory) + + # Publish pydevd binaries + - task: PublishBuildArtifacts@1 + displayName: Publish pydevd binaries + inputs: + artifactName: pydevd binaries + pathToPublish: $(Build.ArtifactStagingDirectory) + - job: "Test_Linux" timeoutInMinutes: "30" displayName: "Tests - Linux" pool: { vmImage: "ubuntu-latest" } + dependsOn: pydevd_binaries strategy: matrix: @@ -79,19 +138,13 @@ jobs: - template: "templates/use_python.yml" - # Clean up old binaries - - task: DeleteFiles@1 - displayName: Clean up old binaries - inputs: - SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - Contents: | - *.so - - # Build pydevd binaries - - task: Bash@3 - displayName: Build pydevd binaries + # download pydevd binaries + - task: DownloadBuildArtifacts@1 + displayName: Download pydevd binaries inputs: - filepath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_linux.sh + buildType: current + artifactName: pydevd binaries + downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - template: "templates/run_tests.yml" @@ -99,6 +152,7 @@ jobs: timeoutInMinutes: "30" displayName: "Tests - macOS" pool: { vmImage: "macOS-latest" } + dependsOn: pydevd_binaries strategy: matrix: @@ -123,19 +177,13 @@ jobs: - script: "python -m ensurepip --user" displayName: "Bootstrap pip" - # Clean up old binaries - - task: DeleteFiles@1 - displayName: Clean up old binaries + # download pydevd binaries + - task: DownloadBuildArtifacts@1 + displayName: Download pydevd binaries inputs: - SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - Contents: | - *.so - - # Build pydevd binaries - - task: Bash@3 - displayName: Build pydevd binaries - inputs: - filepath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_mac.sh + buildType: current + artifactName: pydevd binaries + downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - template: "templates/run_tests.yml" @@ -143,6 +191,7 @@ jobs: timeoutInMinutes: "40" displayName: "Tests - Windows" pool: { vmImage: "windows-latest" } + dependsOn: pydevd_binaries strategy: matrix: @@ -164,21 +213,12 @@ jobs: - template: "templates/use_python.yml" - # Clean up old binaries - - task: DeleteFiles@1 - displayName: Clean up old binaries - inputs: - SourceFolder: $(Build.SourcesDirectory)\$(PYDEVD_ATTACH_TO_PROCESS) - Contents: | - *.exe - *.dll - *.pdb - - # Build pydevd binaries - - task: BatchScript@1 - displayName: Build pydevd binaries + # download pydevd binaries + - task: DownloadBuildArtifacts@1 + displayName: Download pydevd binaries inputs: - filename: $(Build.SourcesDirectory)\$(PYDEVD_ATTACH_TO_PROCESS)\windows\compile_windows.bat - workingFolder: $(Build.SourcesDirectory)\$(PYDEVD_ATTACH_TO_PROCESS)\windows + buildType: current + artifactName: pydevd binaries + downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - template: "templates/run_tests.yml" From 37eaf86e1a9e18e5042c2b0c5c51b8468e84c10b Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Wed, 6 Nov 2024 16:56:49 -0600 Subject: [PATCH 2/6] Copy downloaded binaries to the right place before running tests --- azure-pipelines/pipelines.yaml | 36 ++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/azure-pipelines/pipelines.yaml b/azure-pipelines/pipelines.yaml index ecad02f9d..704908f8f 100644 --- a/azure-pipelines/pipelines.yaml +++ b/azure-pipelines/pipelines.yaml @@ -139,12 +139,16 @@ jobs: - template: "templates/use_python.yml" # download pydevd binaries - - task: DownloadBuildArtifacts@1 + - download: current displayName: Download pydevd binaries + artifact: pydevd binaries + + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries inputs: - buildType: current - artifactName: pydevd binaries - downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + SourceFolder: $(Pipeline.Workspace)/pydevd binaries + TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - template: "templates/run_tests.yml" @@ -178,12 +182,16 @@ jobs: displayName: "Bootstrap pip" # download pydevd binaries - - task: DownloadBuildArtifacts@1 + - download: current displayName: Download pydevd binaries + artifact: pydevd binaries + + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries inputs: - buildType: current - artifactName: pydevd binaries - downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + SourceFolder: $(Pipeline.Workspace)/pydevd binaries + TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - template: "templates/run_tests.yml" @@ -214,11 +222,15 @@ jobs: - template: "templates/use_python.yml" # download pydevd binaries - - task: DownloadBuildArtifacts@1 + - download: current displayName: Download pydevd binaries + artifact: pydevd binaries + + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries inputs: - buildType: current - artifactName: pydevd binaries - downloadPath: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + SourceFolder: $(Pipeline.Workspace)/pydevd binaries + TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - template: "templates/run_tests.yml" From 22fbc53ee361f8285848009e0f4f343e37ee545c Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Thu, 7 Nov 2024 09:53:16 -0600 Subject: [PATCH 3/6] Move lint and pydevd to their own stages --- azure-pipelines/pipelines.yaml | 423 +++++++++++++++++---------------- 1 file changed, 217 insertions(+), 206 deletions(-) diff --git a/azure-pipelines/pipelines.yaml b/azure-pipelines/pipelines.yaml index 704908f8f..74b96d8a2 100644 --- a/azure-pipelines/pipelines.yaml +++ b/azure-pipelines/pipelines.yaml @@ -15,222 +15,233 @@ pr: include: - main - release/* - drafts: "false" + drafts: false variables: architecture: "x64" PYDEVD_ATTACH_TO_PROCESS: src/debugpy/_vendored/pydevd/pydevd_attach_to_process -jobs: +stages: - - job: "Lint" - timeoutInMinutes: "5" - displayName: "Lint" - pool: { vmImage: "ubuntu-latest" } + - stage: Lint + jobs: + - job: Lint + timeoutInMinutes: 5 - variables: - python.version: "3.9" + pool: + vmImage: ubuntu-latest - steps: + variables: + python.version: "3.9" - - template: "templates/use_python.yml" + steps: + + - template: templates/use_python.yml + + # Install and run ruff + # See https://github.com/astral-sh/ruff and https://beta.ruff.rs/docs/ + - script: python3 -m pip install -U ruff + displayName: Install ruff + + # Run linter + - script: python3 -m ruff check --output-format=junit --output-file=$(Build.ArtifactStagingDirectory)/lint-ruff.xml . + displayName: Run ruff + + # Publish results, even on failure + - task: PublishTestResults@2 + displayName: Publish linting results + inputs: + testRunTitle: $(Agent.JobName) + testResultsFiles: lint-*.xml + searchFolder: $(Build.ArtifactStagingDirectory) + condition: always() + + - stage: Pydevd + jobs: + - job: pydevd_binaries + displayName: Build pydevd binaries - # Install and run ruff - # See https://github.com/astral-sh/ruff and https://beta.ruff.rs/docs/ - - script: "python3 -m pip install -U ruff" - displayName: "Install ruff" + strategy: + matrix: + windows: + image: windows-latest + contents: | + *.exe + *.dll + *.pdb + script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows/compile_windows.bat + workingDirectory: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows + mac: + image: macOS-latest + contents: | + *.dylib + script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_mac.sh + workingDirectory: $(System.DefaultWorkingDirectory) + linux: + image: ubuntu-latest + contents: | + *.so + script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_linux.sh + workingDirectory: $(System.DefaultWorkingDirectory) + + pool: + vmImage: $(image) + + steps: + + # Clean up old binaries + - task: DeleteFiles@1 + displayName: Clean up old binaries + inputs: + SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + Contents: $(contents) + + # Build pydevd binaries + - script: $(script) + displayName: Build pydevd binaries + workingDirectory: $(workingDirectory) - - script: "python3 -m ruff check --output-format=junit --output-file=$(Build.ArtifactStagingDirectory)/lint-ruff.xml ." - displayName: "Run ruff" - - - task: "PublishTestResults@2" - displayName: "Publish linting results" - inputs: - testRunTitle: "$(Agent.JobName)" - testResultsFiles: "lint-*.xml" - searchFolder: "$(Build.ArtifactStagingDirectory)" - condition: "always()" - - - job: pydevd_binaries - displayName: Build pydevd binaries - - strategy: - matrix: - windows: - image: windows-latest - contents: | - *.exe - *.dll - *.pdb - script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows/compile_windows.bat - workingDirectory: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows - mac: - image: macOS-latest - contents: | - *.dylib - script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_mac.sh - workingDirectory: $(System.DefaultWorkingDirectory) - linux: - image: ubuntu-latest - contents: | - *.so - script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_linux.sh - workingDirectory: $(System.DefaultWorkingDirectory) + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries + inputs: + SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + Contents: $(contents) + TargetFolder: $(Build.ArtifactStagingDirectory) - pool: - vmImage: $(image) - - steps: - - # Clean up old binaries - - task: DeleteFiles@1 - displayName: Clean up old binaries - inputs: - SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - Contents: $(contents) - - # Build pydevd binaries - - script: $(script) - displayName: Build pydevd binaries - workingDirectory: $(workingDirectory) - - # copy pydevd binaries - - task: CopyFiles@2 - displayName: Copy pydevd binaries - inputs: - SourceFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - Contents: $(contents) - TargetFolder: $(Build.ArtifactStagingDirectory) + # Publish pydevd binaries + - task: PublishBuildArtifacts@1 + displayName: Publish pydevd binaries + inputs: + artifactName: pydevd binaries + pathToPublish: $(Build.ArtifactStagingDirectory) - # Publish pydevd binaries - - task: PublishBuildArtifacts@1 - displayName: Publish pydevd binaries - inputs: - artifactName: pydevd binaries - pathToPublish: $(Build.ArtifactStagingDirectory) - - - job: "Test_Linux" - timeoutInMinutes: "30" - displayName: "Tests - Linux" - pool: { vmImage: "ubuntu-latest" } - dependsOn: pydevd_binaries - - strategy: - matrix: - py39: - python.version: "3.9" - py310: - python.version: "3.10" - py311: - python.version: "3.11" - py312: - python.version: "3.12" - py313: - python.version: "3.13" - - steps: - - - script: | - sudo apt-get update - sudo apt-get --yes install gdb - sudo sysctl kernel.yama.ptrace_scope=0 - displayName: "Setup gdb" - - - template: "templates/use_python.yml" - - # download pydevd binaries - - download: current - displayName: Download pydevd binaries - artifact: pydevd binaries - - # copy pydevd binaries - - task: CopyFiles@2 - displayName: Copy pydevd binaries - inputs: - SourceFolder: $(Pipeline.Workspace)/pydevd binaries - TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - - - template: "templates/run_tests.yml" - - - job: "Test_MacOS" - timeoutInMinutes: "30" - displayName: "Tests - macOS" - pool: { vmImage: "macOS-latest" } - dependsOn: pydevd_binaries - - strategy: - matrix: - py39: - python.version: "3.9" - py310: - python.version: "3.10" - py311: - python.version: "3.11" - py312: - python.version: "3.12" - py313: - python.version: "3.13" - - steps: - - - script: "ulimit -Sn 8192" - displayName: "Increase file descriptor limit" - - - template: "templates/use_python.yml" - - - script: "python -m ensurepip --user" - displayName: "Bootstrap pip" - - # download pydevd binaries - - download: current - displayName: Download pydevd binaries - artifact: pydevd binaries - - # copy pydevd binaries - - task: CopyFiles@2 - displayName: Copy pydevd binaries - inputs: - SourceFolder: $(Pipeline.Workspace)/pydevd binaries - TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - - - template: "templates/run_tests.yml" - - - job: "Test_Windows" - timeoutInMinutes: "40" - displayName: "Tests - Windows" - pool: { vmImage: "windows-latest" } - dependsOn: pydevd_binaries - - strategy: - matrix: - py39: - python.version: "3.9" - py39_32: - python.version: "3.9" - architecture: "x86" - py310: - python.version: "3.10" - py311: - python.version: "3.11" - py312: - python.version: "3.12" - py313: - python.version: "3.13" - - steps: - - - template: "templates/use_python.yml" - - # download pydevd binaries - - download: current - displayName: Download pydevd binaries - artifact: pydevd binaries - - # copy pydevd binaries - - task: CopyFiles@2 - displayName: Copy pydevd binaries - inputs: - SourceFolder: $(Pipeline.Workspace)/pydevd binaries - TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) - - - template: "templates/run_tests.yml" + - stage: Test + dependsOn: Pydevd + jobs: + + - job: Tests_Linux + displayName: Tests - Linux + timeoutInMinutes: 30 + pool: + vmImage: ubuntu-latest + + strategy: + matrix: + py39: + python.version: 3.9 + py310: + python.version: 3.10 + py311: + python.version: 3.11 + py312: + python.version: 3.12 + py313: + python.version: 3.13 + + steps: + + - script: | + sudo apt-get update + sudo apt-get --yes install gdb + sudo sysctl kernel.yama.ptrace_scope=0 + displayName: Setup gdb + + - template: templates/use_python.yml + + # download pydevd binaries + - download: current + displayName: Download pydevd binaries + artifact: pydevd binaries + + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries + inputs: + SourceFolder: $(Pipeline.Workspace)/pydevd binaries + TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + + - template: templates/run_tests.yml + + - job: Tests_Mac + timeoutInMinutes: 30 + displayName: Tests - macOS + pool: + vmImage: macOS-latest + + strategy: + matrix: + py39: + python.version: 3.9 + py310: + python.version: 3.10 + py311: + python.version: 3.11 + py312: + python.version: 3.12 + py313: + python.version: 3.13 + + steps: + + - script: ulimit -Sn 8192 + displayName: Increase file descriptor limit + + - template: templates/use_python.yml + + - script: python -m ensurepip --user + displayName: Bootstrap pip + + # download pydevd binaries + - download: current + displayName: Download pydevd binaries + artifact: pydevd binaries + + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries + inputs: + SourceFolder: $(Pipeline.Workspace)/pydevd binaries + TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + + - template: templates/run_tests.yml + + - job: Test_Windows + timeoutInMinutes: 40 + displayName: Tests - Windows + pool: + vmImage: windows-latest + + strategy: + matrix: + py39: + python.version: 3.9 + py39_32: + python.version: 3.9 + architecture: x86 + py310: + python.version: 3.10 + py311: + python.version: 3.11 + py312: + python.version: 3.12 + py313: + python.version: 3.13 + + steps: + + - template: templates/use_python.yml + + # download pydevd binaries + - download: current + displayName: Download pydevd binaries + artifact: pydevd binaries + + # copy pydevd binaries + - task: CopyFiles@2 + displayName: Copy pydevd binaries + inputs: + SourceFolder: $(Pipeline.Workspace)/pydevd binaries + TargetFolder: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS) + + - template: templates/run_tests.yml From 2036f4460667d9ee65d0ab44d47be5a1f981bef5 Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Thu, 7 Nov 2024 10:02:43 -0600 Subject: [PATCH 4/6] Change job names in build matrix --- azure-pipelines/pipelines.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/azure-pipelines/pipelines.yaml b/azure-pipelines/pipelines.yaml index 74b96d8a2..bfdfcaf2e 100644 --- a/azure-pipelines/pipelines.yaml +++ b/azure-pipelines/pipelines.yaml @@ -58,12 +58,12 @@ stages: - stage: Pydevd jobs: - - job: pydevd_binaries - displayName: Build pydevd binaries + - job: Build + displayName: Build strategy: matrix: - windows: + Windows: image: windows-latest contents: | *.exe @@ -71,13 +71,13 @@ stages: *.pdb script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows/compile_windows.bat workingDirectory: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/windows - mac: + macOS: image: macOS-latest contents: | *.dylib script: $(Build.SourcesDirectory)/$(PYDEVD_ATTACH_TO_PROCESS)/linux_and_mac/compile_mac.sh workingDirectory: $(System.DefaultWorkingDirectory) - linux: + Linux: image: ubuntu-latest contents: | *.so From cebb7475a398c2b3c52a3a889c7b01186ee54e6a Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Thu, 7 Nov 2024 10:06:43 -0600 Subject: [PATCH 5/6] Remove redundant double quotes --- azure-pipelines/templates/run_tests.yml | 25 ++++++++++++------------ azure-pipelines/templates/use_python.yml | 6 +++--- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/azure-pipelines/templates/run_tests.yml b/azure-pipelines/templates/run_tests.yml index 6bb65cf4e..2efca2012 100644 --- a/azure-pipelines/templates/run_tests.yml +++ b/azure-pipelines/templates/run_tests.yml @@ -1,6 +1,6 @@ steps: - - script: "python -m pip install tox" - displayName: "Setup Python packages" + - script: python -m pip install tox + displayName: Setup Python packages - pwsh: | $toxEnv = '$(python.version)' @@ -9,22 +9,23 @@ steps: } echo 'tox environment: $toxEnv' python -m tox -e $toxEnv -- --junitxml=$(Build.ArtifactStagingDirectory)/tests.xml --debugpy-log-dir=$(Build.ArtifactStagingDirectory)/logs tests - displayName: "Run tests using tox" + displayName: Run tests using tox env: DEBUGPY_PROCESS_SPAWN_TIMEOUT: 60 DEBUGPY_LAUNCH_TIMEOUT: 60 - task: PublishBuildArtifacts@1 - condition: failed() + displayName: Publish test logs inputs: - artifactName: "Test logs" - pathToPublish: "$(Build.ArtifactStagingDirectory)/logs" - displayName: "Publish test logs" + artifactName: Test logs + pathToPublish: $(Build.ArtifactStagingDirectory)/logs + condition: failed() - task: PublishTestResults@2 - condition: always() + displayName: Publish test results inputs: - testRunTitle: "$(Agent.JobName)" - testResultsFiles: "tests.xml" - searchFolder: "$(Build.ArtifactStagingDirectory)" - displayName: "Publish test results" + testRunTitle: $(Agent.JobName) + testResultsFiles: tests.xml + searchFolder: $(Build.ArtifactStagingDirectory) + condition: always() + diff --git a/azure-pipelines/templates/use_python.yml b/azure-pipelines/templates/use_python.yml index 3e2772965..78afa7558 100644 --- a/azure-pipelines/templates/use_python.yml +++ b/azure-pipelines/templates/use_python.yml @@ -1,6 +1,6 @@ steps: - task: UsePythonVersion@0 inputs: - versionSpec: "$(python.version)" - architecture: "$(architecture)" - displayName: "Use Python $(python.version) $(architecture)" + versionSpec: $(python.version) + architecture: $(architecture) + displayName: Use Python $(python.version) $(architecture) From af0d29f6bcedc910ad1be215ceec9a423f85ae5a Mon Sep 17 00:00:00 2001 From: Adam Yoblick Date: Thu, 7 Nov 2024 10:07:15 -0600 Subject: [PATCH 6/6] Missed some quotes --- azure-pipelines/pipelines.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/azure-pipelines/pipelines.yaml b/azure-pipelines/pipelines.yaml index bfdfcaf2e..a76b96441 100644 --- a/azure-pipelines/pipelines.yaml +++ b/azure-pipelines/pipelines.yaml @@ -18,7 +18,7 @@ pr: drafts: false variables: - architecture: "x64" + architecture: x64 PYDEVD_ATTACH_TO_PROCESS: src/debugpy/_vendored/pydevd/pydevd_attach_to_process stages: