From c5d6008ca656b17e3dd7cd407fcfe049ad873dbe Mon Sep 17 00:00:00 2001 From: Yuchao Yan Date: Thu, 25 Jul 2024 18:26:18 +0800 Subject: [PATCH] fix release pipeline to unblock package release (#2719) * fix release pipeline * use python3.10 --- eng/pipelines/publish-release.yml | 5 +++++ packages/autorest.python/requirements.txt | 1 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/eng/pipelines/publish-release.yml b/eng/pipelines/publish-release.yml index 5c76963e5ac..a02aa32a5ad 100644 --- a/eng/pipelines/publish-release.yml +++ b/eng/pipelines/publish-release.yml @@ -23,6 +23,11 @@ extends: AutorestTestFolder: "$(Build.SourcesDirectory)/packages/autorest.python/test/" steps: + - task: UsePythonVersion@0 + displayName: "Use Python 3.10" + inputs: + versionSpec: 3.10 + - script: npm install -g pnpm@9.5.0 displayName: Install PNPM 9.5.0 diff --git a/packages/autorest.python/requirements.txt b/packages/autorest.python/requirements.txt index 6ec301cc87e..3f977ca26b8 100644 --- a/packages/autorest.python/requirements.txt +++ b/packages/autorest.python/requirements.txt @@ -9,6 +9,5 @@ pathspec==0.11.1 platformdirs==3.2.0 PyYAML==6.0.1 tomli==2.0.1 -importlib_metadata==8.2.0 setuptools==69.2.0 json-rpc==1.14.0