enough-analyst-54434
07/14/2021, 12:20 AMenough-analyst-54434
07/14/2021, 12:21 AMenough-analyst-54434
07/14/2021, 12:32 AMhappy-kitchen-89482
07/14/2021, 3:31 AMhundreds-father-404
07/14/2021, 3:35 AM./pants --tag=-lock_ignore lock ::
goalhappy-kitchen-89482
07/14/2021, 3:36 AMhappy-kitchen-89482
07/14/2021, 3:36 AMhappy-kitchen-89482
07/14/2021, 3:36 AMhappy-kitchen-89482
07/14/2021, 3:36 AMhundreds-father-404
07/14/2021, 4:21 AMuser
07/14/2021, 12:45 PMnarrow-activity-17405
07/14/2021, 1:20 PM./pants --changed-since=origin/master --changed-dependees=transitive test
). Some of the code within the repo depends on files stored using git lfs, but most of it doesn't. Right now, we are checking out lfs for every pull request, which generates unnecessary bandwidth. It would be great if (somehow) I could run lfs checkout conditionally - only for tests that need it. Any ideas on how this could be done please? :-)flat-zoo-31952
07/14/2021, 4:50 PM./pants
script?clean-city-64472
07/15/2021, 4:04 PMnamed_caches
in CI? We added it to the cache but on BitBucket, the cache is only written the first time it is missed. That means if it's written on a CI run that doesn't touch most of the repo it will be fairly incomplete. We used to be on Gitlab where the cache could be updated after each run so it would continuously expand - but then we had the problem that it would eventually grow too big and the cost of downloading it exceeded the benefit. Is anyone implementing their own cache system using something like S3?salmon-barista-63163
07/15/2021, 8:47 PM1.30.4
yes i know it is an older version but we are stuck here for the time being
20:46:12 00:00 [main]
(To run a reporting server: ./pants server)
20:46:14 00:02 [setup]
20:46:14 00:02 [parse]
Executing tasks in goals: gen -> pyprep -> run20:46:14 [DEBUG] pants.process.lock:pid=16680: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e05e6a0>
20:46:14 00:02 [gen]
20:46:14 00:02 [thrift-py]
20:46:14 00:02 [py-thrift-namespace-clash-check]20:46:14 [DEBUG] engine::scheduler: Launching 0 roots (poll=false).
20:46:14 [DEBUG] pants.engine.internals.scheduler:pid=16680: computed 0 nodes in 0.000226 seconds. there are 74 total nodes.
20:46:14 00:02 [pyprep]
20:46:14 00:02 [interpreter]
pants_backend_python_tasks_select_interpreter_SelectInterpreter will read from local artifact cache at /Users/distiller/talos/.pants.d/.pantscache/b56378cd3458bce8ae082d0ed362f8bd7ab9795b
20:46:14 00:02 [cache]
No cached artifacts for 2 targets.
Invalidated 2 targets.20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initializing Python interpreter cache matching filters `CPython>=3.6,<3.7` from paths `/Users/distiller/.pyenv/versions/3.6.12/bin:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:/Users/distiller/.pyenv/shims:/Users/distiller/.gem/ruby/2.7.2/bin:/Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/bin:/Users/distiller/.rubies/ruby-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin`
20:46:14 [DEBUG] pants.process.lock:pid=16680: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2908>
20:46:14 [DEBUG] pants.process.lock:pid=16680: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2908>
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for CPython>=3.6,<3.7!
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Found no valid interpreters!
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initialized Python interpreter cache with
20:46:14 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initializing Python interpreter cache matching filters `CPython<3:CPython>=3.3:PyPy` from paths `/Users/distiller/.pyenv/versions/3.6.12/bin:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:~/.pyenv/versions/3.6.12/bin:/Users/distiller/.pyenv/shims:/Users/distiller/.pyenv/shims:/Users/distiller/.gem/ruby/2.7.2/bin:/Users/distiller/.rubies/ruby-2.7.2/lib/ruby/gems/2.7.0/bin:/Users/distiller/.rubies/ruby-2.7.2/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin`
20:46:14 [DEBUG] pants.process.lock:pid=16680: acquiring lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2400>
20:46:15 [DEBUG] pants.process.lock:pid=16680: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e0c2400>
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for CPython<3!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for CPython>=3.3!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: No valid interpreters found for PyPy!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Found no valid interpreters!
20:46:15 [DEBUG] pants.backend.python.interpreter_cache:pid=16680: Initialized Python interpreter cache with
20:46:15 [DEBUG] pants.process.lock:pid=16680: releasing lock: <pants.process.lock.OwnerPrintingInterProcessFileLock object at 0x10e05e6a0>
FAILURE: Unable to detect a suitable interpreter for compatibilities: CPython>=3.6,<3.7 (Conflicting targets: apps/cli_clouddev/src:clouddev)
Pants detected these interpreter versions on your system:
Possible ways to fix this:
* Modify your Python interpreter constraints by following <https://www.pantsbuild.org/python_readme.html#configure-the-python-version>.
* Ensure the targeted Python version is installed and discoverable.
* Modify Pants' interpreter search paths via --python-setup-interpreter-search-paths.
user
07/16/2021, 12:32 AMcurved-television-6568
07/16/2021, 8:21 AM./pants tailor
on a subset of the source tree.. ?happy-kitchen-89482
07/16/2021, 3:17 PMhappy-kitchen-89482
07/16/2021, 3:17 PMechoing-farmer-15630
07/16/2021, 6:54 PMpython_requirements
under A and not elsewhere in the project"nice-france-74763
07/17/2021, 10:35 AM./pants package ::
to block CI when a release version for a changed package already exists? (eg, if I change a package and do not update the version number I would like to see a failure).proud-dentist-22844
07/18/2021, 6:46 AMskip_pylint
and skip_*
parameters are really helpful, but I had to add them manually wherever I wanted to skip them. (PS - skip_*
is a lifesaver. Thank you!!!)
For existing projects that want to adopt pants incrementally, what if you could add a "skip by default" mode to ./pants taiilor
? Then, someone could go in and un-skip the tools in just one directory, and slowly increase the number of enabled directories until they've linted everything. Heck that would be a pretty cool way to adopt black
and other tools more incrementally as well.
That would give great flexibility for very small POC pants implementations in existing repos to show the value pants provides before adopting it in more and more of the repo until the entire repo can be covered by pants.powerful-florist-1807
07/18/2021, 11:40 PMexecution_mode = "venv"
used for when building a PEX file? Is it used to unzip the PEX file when it is executed? Thanksfresh-cat-90827
07/19/2021, 9:45 PM[python-setup]
interpreter_constraints = ["CPython==3.6.*", "CPython==3.8.*"]
will Pants always pick up the Python 3.6.*
if both 3.6.*
and 3.8.*
are available? I’ve read that the comma separated versions would be representing the OR
constraint, so if 3.6 is found (even if 3.8 is present as well), it will be used, but just wanted to double-check.salmon-barista-63163
07/19/2021, 11:58 PMhundreds-father-404
07/20/2021, 12:00 AMversion
and known_versions
options for https://www.pantsbuild.org/docs/reference-download-pex-bin to these values https://github.com/pantsbuild/pants/pull/12342/files#diff-de25cbd33fc6fadd662c74dd4f16dbc6dc901f58204950751d6363f2bbc5df6aclean-night-52582
07/20/2021, 1:31 AMsalmon-barista-63163
07/20/2021, 6:15 PMfresh-cat-90827
07/20/2021, 9:27 PMcoverage.py
behaving in a weird way when running tests. It’s being confused about sources for some code:
pants.engine.process.ProcessExecutionFailure: Process 'Generate Pytest xml coverage report.' failed with exit code 1.
stdout:
No source for code: '/private/var/folders/k0/3nssm8v15r5b08k1k1wyhs2r0000gp/T/process-executionzCCweC/(builtin)'.
Aborting report output, consider using -i.
clean-night-52582
07/21/2021, 7:32 AM