cold-jackal-89755
11/01/2023, 5:43 PMpants publish
that I did not experience with 2.17 but I am getting it with 2.18.0rc3: `ResolveError: No owning targets could be found for the file conftest.py
.` There is a BUILD
file in the same directory level as conftest.py and when I'm running publish I'm pointing at a specific folder pants publish path/to/src::
better-van-82973
11/01/2023, 5:50 PMpython_test_utils
target in that BUILD
file?
https://www.pantsbuild.org/docs/reference-python_test_utils
If not, you might want to try pants update-build-files ::
and see if it generates any new targetscold-jackal-89755
11/01/2023, 5:51 PMcold-jackal-89755
11/01/2023, 5:54 PMcurved-television-6568
11/01/2023, 5:59 PMpants tailor
to add missing targets.. the other one is to fix/rename deprecated fields etc.cold-jackal-89755
11/01/2023, 6:00 PMpants tailor
at the root dir. We only run that in CI and don't actually check in all of our BUILD
files. So the root BUILD
wasn't getting updated with python_test_utils
curved-television-6568
11/01/2023, 6:02 PMcold-jackal-89755
11/01/2023, 6:08 PMpython_sources()
in themcurved-television-6568
11/01/2023, 6:14 PM