From 668449baafb414c2d2a212ecb83d9ad179bf4fbb Mon Sep 17 00:00:00 2001 From: Huon Wilson Date: Sun, 24 Mar 2024 16:52:51 +1100 Subject: [PATCH] fix publish_test.py --- src/python/pants/backend/python/goals/publish_test.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/src/python/pants/backend/python/goals/publish_test.py b/src/python/pants/backend/python/goals/publish_test.py index 37448507296a..ff4d425ed77e 100644 --- a/src/python/pants/backend/python/goals/publish_test.py +++ b/src/python/pants/backend/python/goals/publish_test.py @@ -136,7 +136,13 @@ def test_twine_upload(rule_runner, packages) -> None: "my-package-0.1.0.tar.gz", "my_package-0.1.0-py3-none-any.whl", ), - env=FrozenDict({"TWINE_USERNAME": "whoareyou", "TWINE_PASSWORD": "secret"}), + env=FrozenDict( + { + "TWINE_USERNAME": "whoareyou", + "TWINE_PASSWORD": "secret", + "PEX_MAX_INSTALL_JOBS": "0", + } + ), ), ) assert_package( @@ -156,7 +162,7 @@ def test_twine_upload(rule_runner, packages) -> None: "my-package-0.1.0.tar.gz", "my_package-0.1.0-py3-none-any.whl", ), - env=FrozenDict({"TWINE_USERNAME": "whoami"}), + env=FrozenDict({"TWINE_USERNAME": "whoami", "PEX_MAX_INSTALL_JOBS": "0"}), ), )