Skip to content

Commit

Permalink
Pins versions for release pipeline dependencies
Browse files Browse the repository at this point in the history
Pins versions for packages required to build wheels to the correct versions.
Older versions do not build the package correctly (missing files and metadata).
  • Loading branch information
pranavm-nvidia committed Nov 8, 2024
1 parent 1447709 commit 59d09a9
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/tripy-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,6 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/configure-pages@v5

- name: build-package
run: |
cd /tripy/
Expand All @@ -51,6 +49,9 @@ jobs:
with:
generate_release_notes: true
files: /tripy/dist/tripy-*.whl
fail_on_unmatched_files: true

- uses: actions/configure-pages@v5

- uses: actions/upload-pages-artifact@v3
with:
Expand Down
8 changes: 4 additions & 4 deletions tripy/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ Documentation = "https://nvidia.github.io/TensorRT-Incubator/"

[build-system]
requires = [
"setuptools>=45",
"wheel",
"setuptools==75.3.0",
"wheel==0.44.0",
# For stubgen:
"mypy==1.11.0",
]
Expand All @@ -34,8 +34,8 @@ dev = [
"pre-commit==3.6.0",
]
build = [
"setuptools>=45",
"wheel",
"setuptools==75.3.0",
"wheel==0.44.0",
# For stubgen:
"mypy==1.11.0",
]
Expand Down

0 comments on commit 59d09a9

Please sign in to comment.