Skip to content

Commit b1d5557

Browse files
authored
Pin twine, hatchling versions and enforce usage of cargo.lock (#514)
*Issue #, if available:* Same PR as #513, but merge to main. *Description of changes:* By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
1 parent 1326576 commit b1d5557

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

.github/workflows/release-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ jobs:
157157
# The step below publishes to testpypi in order to catch any issues
158158
# with the package configuration that would cause a failure to upload to pypi.
159159
- name: Install twine
160-
run: pip install twine
160+
run: pip install twine==5.1.1
161161

162162
- name: Download SDK artifact
163163
uses: actions/download-artifact@634f93cb2916e3fdff6788551b99b062d0335ce0 #v5.0.0

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ ARG TARGETARCH
3939
RUN if [ $TARGETARCH = "amd64" ]; then rustup component add rustfmt && cargo fmt --check ; fi
4040

4141
# Audit dependencies
42-
RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit && cargo audit ; fi
42+
RUN if [ $TARGETARCH = "amd64" ]; then cargo install cargo-audit --locked && cargo audit ; fi
4343

4444

4545
# Cross-compile based on the target platform.

aws-opentelemetry-distro/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling==1.25.0"]
33
build-backend = "hatchling.build"
44

55
[project]

0 commit comments

Comments
 (0)