There is a requires_file param that can be used in place of requires. See https://rules-python.readthedocs.io/en/0.32.1/api/packaging.html#py-wheel-rule-requires-file
requires_file