From 4e785172b81a7572e835ea9b8cdae3b7eaa6a3bb Mon Sep 17 00:00:00 2001 From: Scott Beddall <45376673+scbedd@users.noreply.github.com> Date: Tue, 2 Jul 2024 10:45:40 -0700 Subject: [PATCH] update the utilized twine version to one that handles new importlib-metadata (#36298) --- eng/pipelines/templates/steps/build-package-artifacts.yml | 2 +- eng/release_requirements.txt | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/templates/steps/build-package-artifacts.yml b/eng/pipelines/templates/steps/build-package-artifacts.yml index 72a64a632ef..bc1fae77669 100644 --- a/eng/pipelines/templates/steps/build-package-artifacts.yml +++ b/eng/pipelines/templates/steps/build-package-artifacts.yml @@ -115,7 +115,7 @@ steps: CIBW_BUILD_VERBOSITY: 3 - script: | - pip install twine==4.0.2 importlib-metadata==7.2.1 + pip install -r eng/release_requirements.txt twine check $(Build.ArtifactStagingDirectory)/**/*.whl twine check $(Build.ArtifactStagingDirectory)/**/*.tar.gz displayName: 'Verify Readme' diff --git a/eng/release_requirements.txt b/eng/release_requirements.txt index 808abf3a4fa..0ad3437ca45 100644 --- a/eng/release_requirements.txt +++ b/eng/release_requirements.txt @@ -1,3 +1,2 @@ -twine==4.0.2; python_version >= '3.6' -importlib-metadata==7.2.1 +twine==5.1.1 tools/azure-sdk-tools \ No newline at end of file