Skip to content

Commit a5eb0b0

Browse files
committed
Always use version tag in pybind11 dependency update
1 parent 56ad087 commit a5eb0b0

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

Tools/Release/update_dependencies.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ def update(args):
129129
# latest available tag (index 0) for all other dependencies
130130
repo_version_tag = tags_list_filtered[0]["name"]
131131

132-
# use version tag instead of commit sha for a release update
133-
new_commit_sha = repo_version_tag if args.release else repo_commit_sha
132+
# use version tag instead of commit sha for a release update or for pybind11
133+
use_version_tag = args.release or (repo_name == "pybind11")
134+
new_commit_sha = repo_version_tag if use_version_tag else repo_commit_sha
134135

135136
# update commit
136137
if repo_name != "warpx":

dependencies.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@
88
"commit_amrex": "c4fcda1fb2ea238c3e6fa273dc9cfcde54b4cc51",
99
"commit_pyamrex": "5fc00b46b2a60b2c20b9067500c4b68f709ccb94",
1010
"commit_picsar": "0c329e66010267662a82219f7de7abbd231463f4",
11-
"commit_pybind11": "af796d0a99f0cbd9aebb10591257c41a56811cf6",
11+
"commit_pybind11": "v3.0.1",
1212
"commit_picmi": "e79dc49c58ad65b5e207ed40e4e6edc4b1482241"
13-
}
13+
}

0 commit comments

Comments
 (0)