hundreds-father-40409/13/2022, 9:03 PM
run via Docker!!
❯ ./pants test src/python/pants/util/strutil_test.py --no-python-infer-conftests 15:59:29.45 [INFO] Completed: Building 1 requirement for requirements.pex from the 3rdparty/python/user_reqs.lock resolve: pytest<7.1.0,>=6.2.4 15:59:36.38 [INFO] Completed: Building pytest_runner.pex 15:59:38.55 [INFO] Completed: Run Pytest - src/python/pants/util/strutil_test.py:tests succeeded. ✓ src/python/pants/util/strutil_test.py:tests succeeded in 2.15s.
, and make sure Docker is running:
diff --git a/src/python/pants/util/BUILD b/src/python/pants/util/BUILD index 76d0a50a8a..eb3d2c21cf 100644 --- a/src/python/pants/util/BUILD +++ b/src/python/pants/util/BUILD @@ -3,4 +3,4 @@ python_sources() -python_tests(name="tests") +python_tests(name="tests", _environment="docker")
is necessary because our
, which transitively uses
. That is a
that blindly gets copied into the Docker sandbox: it's not platform aware. So, when run on Docker from macOS, we end up with
To facilitate us working on this project, thoughts on me rewriting the
invalid ELF header
check for badly named Fields to instead be a Flake8 first-party plugin? Or any other suggestions?
bitter-ability-3219009/13/2022, 9:38 PM
witty-crayon-2278609/14/2022, 1:36 AM
hundreds-father-40409/14/2022, 3:33 PM