It seems that specifying a combination of `python....
# general
h
It seems that specifying a combination of
python.resolves_generate_lockfiles = false
,
pytest.install_from_resolve = "<resolve>"
, and
pytest.requirements
breaks with a generic
AssertionError
with no message. Is this known/expected?
Looks like there's an identical report about this on https://pantsbuild.slack.com/archives/C046T6T9U/p1727357585982539
With a reproducing case
Doesn't seem like it's a problem of lockfile format since it works if either
install_from_resolve
or
requirements
is left out of the config.
Ah looks like it's been reported upstream: https://github.com/pantsbuild/pants/issues/19818
😢 1
An unfortunate result of this is that there's no way to specify extras since
extra_requirements
was deprecated. That leaves only installing the whole resolve which takes very long for large lockfiles.