acceptable-guitar-79854
10/21/2020, 6:02 PM.pants.d/
and .pids/
frequently (it creates many many files). Is it a good idea to add these directories to add to nuke_if_too_big.sh
but with the file count instead?acceptable-guitar-79854
10/21/2020, 8:55 PM~/.cache/pants/named_caches/pex_root
and ~/.pex/
?
• is there a way to set where named_caches/
, lmdb_store
go? e.g. somewhere on NFSacceptable-guitar-79854
10/21/2020, 11:14 PM./pants fmt :: --no-pantsd
with
# pants.toml
[isort]
config = "build-support/pyproject.toml"
is different from isort --settings-path build-support/pyproject.toml
acceptable-guitar-79854
10/21/2020, 11:16 PMisort . --settings-path build-support/pyproject.toml
straight-terabyte-91673
10/22/2020, 8:31 PMTraceback (most recent call last):
File "/Users/jwong/.cache/pants/setup/bootstrap-Darwin-x86_64/1.17.0/bin/pants", line 8, in <module>
sys.exit(main())
File "/Users/jwong/.cache/pants/setup/bootstrap-Darwin-x86_64/1.17.0/lib/python2.7/site-packages/pants/bin/pants_loader.py", line 85, in main
PantsLoader.run()
File "/Users/jwong/.cache/pants/setup/bootstrap-Darwin-x86_64/1.17.0/lib/python2.7/site-packages/pants/bin/pants_loader.py", line 81, in run
cls.load_and_execute(entrypoint)
File "/Users/jwong/.cache/pants/setup/bootstrap-Darwin-x86_64/1.17.0/lib/python2.7/site-packages/pants/bin/pants_loader.py", line 71, in load_and_execute
module = importlib.import_module(module_path)
File "/usr/local/Cellar/python@2.7.17/2.7.17_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
File "/Users/jwong/.cache/pants/setup/bootstrap-Darwin-x86_64/1.17.0/lib/python2.7/site-packages/pants/bin/pants_exe.py", line 10, in <module>
from pants.base.exception_sink import ExceptionSink
File "/Users/jwong/.cache/pants/setup/bootstrap-Darwin-x86_64/1.17.0/lib/python2.7/site-packages/pants/base/exception_sink.py", line 18, in <module>
import setproctitle
ImportError: No module named setproctitle
acceptable-guitar-79854
10/24/2020, 10:39 PMacceptable-guitar-79854
10/24/2020, 11:28 PM./pants \
--changed-since=origin/main \
--changed-dependees=transitive \
...
and a failing test
CI runs -> fail
I trigger manually a build -> pass
Is there a way to say "changed since + transitive dependees + earlier failures" ?acceptable-guitar-79854
10/24/2020, 11:29 PMhappy-kitchen-89482
10/25/2020, 2:48 AMacceptable-guitar-79854
10/25/2020, 10:48 AMacceptable-guitar-79854
10/25/2020, 2:04 PM./pants --changed-since=HEAD~1 ...
calm-ambulance-65371
10/26/2020, 3:11 PMcold-journalist-66984
10/26/2020, 4:53 PM./aiq pants --pants-runtime-python-version=3.6 test.pytest --test-pytest-coverage=src/python/aiq/datadog_metrics test/python/aiq/datadog_metrics::
on Jenkins and I’m seeing this error
ERROR: usage: 0d9ce81594a0551c52a94d1563370c73059e6817 [options] [file_or_dir] [file_or_dir] [...]
0d9ce81594a0551c52a94d1563370c73059e6817: error: unrecognized arguments: --cov-report= --cov-config /home/jenkins/workspace/tests/run_python3_tests/jd/test-datadog-metrics-typo/.pants.d/test/pytest/test.python.aiq.datadog_metrics.test_datadog_metrics/tmpkq_tuem0 --cov /home/jenkins/workspace/tests/run_python3_tests/jd/test-datadog-metrics-typo/.pants.d/pyprep/sources/e79db9b71ba23be870dc484b8dcfa08e6db39185/aiq/datadog_metrics/ /home/jenkins/workspace/tests/run_python3_tests/jd/test-datadog-metrics-typo/.pants.d/pyprep/sources/e79db9b71ba23be870dc484b8dcfa08e6db39185/aiq/datadog_metrics/test_datadog_metrics.py
I’m using pants 1.16 and coverage 5.3. I’m not sure what I need to change for this to work. Any ideas? Thanks!wooden-thailand-8386
10/26/2020, 6:33 PMfiles
(or resources
) seems like the pattern
src/python/cool_thing:my_app
doesnt happen.
I have some tags for pex_binary
and archive
and they return as I mentioned above.. but for files.. it’s returning like:
src/python/cool_thing
src/python/cool_thing/Dockerfile
wooden-thailand-8386
10/26/2020, 6:34 PMsrc/python/cool_thing:my_dockerfile
happy-kitchen-89482
10/26/2020, 7:41 PMhappy-kitchen-89482
10/26/2020, 7:41 PMjolly-midnight-72759
10/26/2020, 9:05 PM.pantsd
directory when running ./pants
in a Docker container? What about any *.pyc
files created if you share your repo inside your container? Do you share your repo inside your container?flat-zoo-31952
10/26/2020, 9:34 PM./pants package
exit cleanly even if it finds no targets? i'm running
./pants --changed-since=$COMPARISON_TARGET --changed-dependees=transitive package
and I want it to be okay if that doesn't match any targetshappy-kitchen-89482
10/27/2020, 1:47 PMhappy-kitchen-89482
10/27/2020, 1:47 PMfancy-motherboard-24956
10/27/2020, 1:58 PMuser
10/27/2020, 7:30 PMhappy-kitchen-89482
10/27/2020, 7:34 PMwitty-crayon-22786
10/27/2020, 7:59 PMhundreds-father-404
10/27/2020, 8:28 PMwitty-crayon-22786
10/27/2020, 11:19 PMuser
10/27/2020, 11:49 PMuser
10/28/2020, 3:11 AMflat-zoo-31952
10/28/2020, 5:51 PM.pids
dir used for? is this something that needs to be mounted when docker runs?