chilly-magazine-21545
12/30/2021, 8:57 AMchilly-magazine-21545
12/30/2021, 8:57 AMpolite-garden-50641
12/30/2021, 10:34 PM22:33:26.91 [INFO] Scheduler initialized.
22:33:27.77 [WARN] Unmatched globs from src/python/pants/backend/codegen/thrift/scrooge:tests's `sources` field: ["src/python/pants/backend/codegen/thrift/scrooge/*_test.py", "src/python/pants/backend/codegen/thrift/scrooge/test_*.py", "src/python/pants/backend/codegen/thrift/scrooge/tests.py"]
bitter-ability-32190
12/30/2021, 10:39 PMbitter-ability-32190
12/31/2021, 2:00 AMpolite-garden-50641
01/01/2022, 4:48 PME in pants.core.goals.check.check
E in pants.backend.python.typecheck.mypy.rules.mypy_typecheck
E in pants.backend.python.typecheck.mypy.rules.mypy_typecheck_partition
E in pants.backend.python.util_rules.pex.create_pex
E in pants.backend.python.util_rules.pex.build_pex (requirements.pex)
E in pants.engine.process.fallible_to_exec_result_or_raise
E Traceback (most recent call last):
E File "/tmp/process-executionIAlw9H/src/python/pants/engine/process.py", line 282, in fallible_to_exec_result_or_raise
E raise ProcessExecutionFailure(
E pants.engine.process.ProcessExecutionFailure: Process 'Building requirements.pex with 2 requirements: pantsbuild.pants.testutil@ file:///tmp/process-executionIAlw9H/pantsbuild.pants.testutil-2.10.0.dev0-py37.py38.py39-none-any.whl, pantsbuild.pants@ file:///tmp/process-executionIAlw9H/pantsbuild.pants-2.10.0.dev0-cp39-cp39-linux_x86_64.whl' failed with exit code 1.
E stdout:
E
E stderr:
E ERROR: pantsbuild.pants-2.10.0.dev0-cp39-cp39-linux_x86_64.whl is not a supported wheel on this platform.
E pid 2661 -> /home/runner/.cache/pants/named_caches/pex_root/venvs/92e3acc3a38b2d01c1bdea319c3ee88b6bbd73af/2703f860957c2efe7f4d087e27e538da0891bc96/pex --disable-pip-version-check --no-python-version-warning --exists-action a --isolated -q --cache-dir /home/runner/.cache/pants/named_caches/pex_root --log /tmp/process-executionMDFAjN/.tmp/tmp8vrb9lf9/pip.log download --dest /tmp/process-executionMDFAjN/.tmp/tmp_qlwclys/opt.hostedtoolcache.Python.3.7.12.x64.bin.python3.7 pantsbuild.pants.testutil@ file:///tmp/process-executionIAlw9H/pantsbuild.pants.testutil-2.10.0.dev0-py37.py38.py39-none-any.whl pantsbuild.pants@ file:///tmp/process-executionIAlw9H/pantsbuild.pants-2.10.0.dev0-cp39-cp39-linux_x86_64.whl --index-url <https://pypi.org/simple/> --retries 5 --timeout 15 exited with 1 and STDERR:
E None
E
From https://github.com/pantsbuild/pants/runs/4678547970?check_suite_focus=true#step:14:493 feels like an issue with how we package pants.bitter-ability-32190
01/03/2022, 1:29 AMimportlib.import_module("a.module")
go in the "string imports" bucket, but __import__("a.module")
not?bitter-ability-32190
01/03/2022, 1:48 AMsrc/python/project/BUILD
) uses resource
(singular) with sources
(plural)bitter-ability-32190
01/03/2022, 4:28 PMunowned-dependency-behavior
on).
I'm thinking it'd be really convenient to do:
import foo # pants: ignore
bitter-ability-32190
01/03/2022, 5:08 PM./pants lint
has what appears to be a "can't-decode-character" symbol a few times. Is that expected or is that due to coloring/rendering?
https://www.pantsbuild.org/docs/shellbitter-ability-32190
01/03/2022, 5:28 PMmain
šancient-vegetable-10556
01/03/2022, 5:42 PMwitty-crayon-22786
01/03/2022, 6:49 PMmelodic-thailand-99227
01/04/2022, 10:10 AM2.9.0rc2
for macos arm64, there was for rc0
ancient-vegetable-10556
01/04/2022, 4:47 PMbitter-ability-32190
01/04/2022, 9:33 PMlint-per-file-process
use repository.pex
directly?bitter-ability-32190
01/05/2022, 12:36 PMjoshuacannon@CEPHANDRIUS:~/work/pants$ set RUST_BACKTRACE=1
joshuacannon@CEPHANDRIUS:~/work/pants$ ./pants peek src/python/pants/backend/python/dependency_inference/scripts/BUILD
06:36:15.38 [ERROR] panic at 'called `Result::unwrap()` on an `Err` value: PyErr { type: <class 'TypeError'>, value: TypeError("'int' object cannot be converted to 'PyString'"), traceback: None }', src/externs/mod.rs:145
06:36:15.38 [ERROR] Please set RUST_BACKTRACE=1, re-run, and then file a bug at <https://github.com/pantsbuild/pants/issues>.
curved-television-6568
01/05/2022, 1:55 PMBuiltinGoal
type: https://github.com/pantsbuild/pants/pull/13991
cc @witty-crayon-22786? šcurved-television-6568
01/05/2022, 5:49 PM./pants
script in every repo?witty-crayon-22786
01/05/2022, 7:09 PMfresh-cat-90827
01/05/2022, 8:16 PMupdate-build-files
is great because fmt
will format your BUILD
files code. However, I wonder how difficult would it be to extend the goal to let user pick a formatter (currently only black
is supported). The code of interest: https://github.com/pantsbuild/pants/blob/d3b1d24372a60aca0cbd3c54b73363ddfac4b883/src/python/pants/core/goals/update_build_files.py#L258-L257. It would be helpful to be able to choose a formatter for the BUILD
files. Is it something trivial or would it require a deeper thought?witty-crayon-22786
01/05/2022, 8:46 PMwitty-crayon-22786
01/05/2022, 10:40 PMpolite-garden-50641
01/06/2022, 5:48 PMDependency graph
page:
https://github.com/pantsbuild/pants/network/dependencies which makes me thing that GH ignores the file the docs says someone with a write access need to modify it and maybe because I don't have that access my change is ignored... https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependen[ā¦]tomatically/enabling-and-disabling-dependabot-version-updates
@hundreds-father-404 can u try and make a trivial change to this file and see if that helps (maybe change the schedule to daily updates and tweak the hour to noon PST):
https://docs.github.com/en/code-security/supply-chain-security/keeping-your-dependen[ā¦]ed-automatically/configuration-options-for-dependency-updatesmelodic-thailand-99227
01/06/2022, 9:02 PM--debug
.
Have you heard about something like this?melodic-thailand-99227
01/06/2022, 9:03 PM./pants test ./test_queue.py
This passes:
./pants test --debug ./test_queue.py
hundreds-father-404
01/06/2022, 10:00 PMbitter-ability-32190
01/07/2022, 2:29 PMpython_source
target, I get a rather misleading error š¤
pants.engine.target.InvalidFieldException: The 'source' field in target src/to/target:the_target must have 1 file, but it had 0 files.
ancient-vegetable-10556
01/07/2022, 5:50 PMbackend/python
into something that will support code in both backend/python
and backend/jvm
ā is there an OK place to put this? I see util
, which seems logically far away. Would we be ok with a new backend/common
directory?witty-crayon-22786
01/07/2022, 6:17 PM