diff --git a/.github/workflows/release-build.yml b/.github/workflows/release-build.yml index 5224fd9ff..e07a127c4 100644 --- a/.github/workflows/release-build.yml +++ b/.github/workflows/release-build.yml @@ -157,7 +157,7 @@ jobs: # The step below publishes to testpypi in order to catch any issues # with the package configuration that would cause a failure to upload to pypi. - name: Install twine - run: pip install twine + run: pip install twine==5.1.1 - name: Download SDK artifact uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 #v5.0.0 diff --git a/Dockerfile b/Dockerfile index 7f20849df..18a2f43b4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -39,7 +39,7 @@ ARG TARGETARCH RUN if [ $TARGETARCH = "amd64" ]; then rustup component add rustfmt && cargo fmt --check ; fi # Audit dependencies -RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit && cargo audit ; fi +RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit --locked && cargo audit ; fi # Cross-compile based on the target platform. diff --git a/aws-opentelemetry-distro/pyproject.toml b/aws-opentelemetry-distro/pyproject.toml index 414b09221..020b87e2e 100644 --- a/aws-opentelemetry-distro/pyproject.toml +++ b/aws-opentelemetry-distro/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["hatchling"] +requires = ["hatchling==1.25.0"] build-backend = "hatchling.build" [project]