curved-television-6568
09/12/2022, 3:59 PM11:56:51.44 [ERROR] 1 Exception encountered:
InvalidFieldException: Only fields which will be moved to generated targets may be parametrized, so target generator src/python/... (with type python_sources) cannot parametrize the {'foobar'} field.
as the field doesn’t exist, I think that error should take precedence here 😉 (in my case, I had a typo, which got me looking at this all wrong for a minute 😛 )hundreds-father-404
09/12/2022, 5:17 PMcurved-television-6568
09/17/2022, 1:10 PMcurved-television-6568
09/21/2022, 11:06 AM╰─❯ ./pants test --debug src/python/pants/backend/python/util_rules/pex_test.py:tests -- -vv -k test_lockfiles
======================================================================= test session starts =======================================================================
collected 27 items / 26 deselected / 1 selected
src/python/pants/backend/python/util_rules/pex_test.py::test_lockfiles PASSED [100%]
================================================================ 1 passed, 26 deselected in 3.21s =================================================================
Where as if I run all tests, it’s stuck on this particular test:
╰─❯ ./pants test --debug src/python/pants/backend/python/util_rules/pex_test.py:tests -- -vv
======================================================================= test session starts =======================================================================
collected 27 items
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_execution[True-Pex] PASSED [ 3%]
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_execution[True-VenvPex] PASSED [ 7%]
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_execution[False-Pex] PASSED [ 11%]
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_execution[False-VenvPex] PASSED [ 14%]
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_environment[Pex] PASSED [ 18%]
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_environment[VenvPex] PASSED [ 22%]
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_working_directory[Pex] PASSED [ 25%]
src/python/pants/backend/python/util_rules/pex_test.py::test_pex_working_directory[VenvPex] PASSED [ 29%]
src/python/pants/backend/python/util_rules/pex_test.py::test_resolves_dependencies PASSED [ 33%]
src/python/pants/backend/python/util_rules/pex_test.py::test_requirement_constraints PASSED [ 37%]
src/python/pants/backend/python/util_rules/pex_test.py::test_lockfiles ^CInterrupted by user.
bitter-ability-32190
09/21/2022, 11:15 AMbitter-ability-32190
09/21/2022, 11:16 AMcurved-television-6568
09/21/2022, 12:47 PM