From 41856afaba6b0a6c01c9ba15a897da28b92d8c19 Mon Sep 17 00:00:00 2001 From: Jer Date: Tue, 24 Sep 2024 13:56:35 +0200 Subject: [PATCH] fix: order pip requirements when converting to keep a constant hash Signed-off-by: Jer --- src/rez/utils/pip.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rez/utils/pip.py b/src/rez/utils/pip.py index a4c70e08c..ef82a061f 100644 --- a/src/rez/utils/pip.py +++ b/src/rez/utils/pip.py @@ -425,7 +425,7 @@ def get_rez_requirements(installed_dist, python_version, name_casings=None): # # See: vendor/distlib/metadata.py#line-892 # - requires = installed_dist.run_requires + requires = sorted(installed_dist.run_requires) # filter requirements for req_ in requires: