Skip to content

Commit 28cf0ef

Browse files
jagapioucopybara-github
authored andcommitted
Change default behavior of update_requirements.sh to only add missing deps (and not to --upgrade).
PiperOrigin-RevId: 863183770 Change-Id: I42c2dbdf52f08e18ff07a3810325f8cd9a703965
1 parent f5ab470 commit 28cf0ef

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bin/update_requirements.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,9 @@
1515
# limitations under the License.
1616
#
1717
# Update requirements.txt.
18+
# Add --upgrade flag to upgrade pinned versions.
19+
1820
set -euxo pipefail
1921
cd "$(dirname "$0")/.."
2022

21-
pip-compile --upgrade --all-extras setup.py examples/requirements.in
23+
pip-compile $@ --all-extras setup.py examples/requirements.in

0 commit comments

Comments
 (0)