acoustic-carpenter-78188
03/11/2026, 7:14 PMImage.with_requirements() was missing index_url, extra_index_urls, pre, and extra_args parameters that with_pip_packages() already supported
• The underlying Requirements layer inherits these fields from PipOption but with_requirements() wasn't exposing them
• Added all pip option parameters to with_requirements() for parity with with_pip_packages()
Test plan
• Added 5 unit tests covering each new parameter individually and all combined
• All tests pass: pytest tests/flyte/test_image.py -v -k with_requirements
flyteorg/flyte-sdkacoustic-carpenter-78188
03/11/2026, 7:30 PM