wide-midnight-78598
05/12/2022, 1:49 PM./pants --changed-since=... test
would be safe for the PR?
If not, maybe run that test before running the whole suite? That way, if any of the modified code is breaking, CI will fail fast? And if not, we just fallback to a regular full test suite (with the modified code test results memoized)?hundreds-father-404
05/12/2022, 6:04 PMwitty-crayon-22786
05/12/2022, 6:48 PMhappy-kitchen-89482
05/12/2022, 10:37 PMwitty-family-13337
05/13/2022, 9:01 AMwitty-crayon-22786
05/13/2022, 3:51 PMbitter-ability-32190
05/13/2022, 4:09 PMException: Cannot start Exclusive access on Destination Logging
when using rule_runner.run_goal_rule(run.Run, args=["app/app.py"], env_inherit={"PATH", "PYENV_ROOT", "HOME"},)
I assume I'm just missing an arg somewhere? Breadcrumb anyone?enough-analyst-54434
05/13/2022, 4:24 PMwitty-crayon-22786
05/13/2022, 4:59 PMbitter-ability-32190
05/14/2022, 12:53 AMNo installed rules return the type AddPrefix, and it was not provided by potential callers of @rule(<intrinsic>(AddPrefix) -> Digest).
hundreds-father-404
05/14/2022, 11:14 PMbitter-ability-32190
05/15/2022, 1:24 AMmypy
to 930
)?fast-nail-55400
05/15/2022, 2:12 AMClasspathRootOnlyWasInner: The following targets had dependees, but can only be used as roots in a build graph:
* src/jvm/org/pantsbuild/example/json/JsonExample.kt (kotlin_source)
https://github.com/pantsbuild/example-kotlin/runs/6438158675?check_suite_focus=truehundreds-father-404
05/15/2022, 12:23 PMname=
(see above thread), it also means fixing ./pants path/to/dir
to run on all targets in the directory rather than the target with name=
left off 🎉
Could I please get a review of my Specs Redesign Proposal Pt 2, especially the class modeling? https://docs.google.com/document/d/1WWQM-X6kHoSCKwItqf61NiKFWNSlpnTC5QNu3ul9RDk/edit#heading=h.1h4j0d5mazhuhundreds-father-404
05/15/2022, 12:56 PMfmt
vs fix
goal, along with merging tailor
and update-build-files
https://docs.google.com/document/d/1lpW2qGmhhT4Um6uGHRcpxwsseA7oxH86FE2L2gfBYWU/edit#fast-nail-55400
05/15/2022, 3:39 PMcurved-television-6568
05/15/2022, 7:28 PMbitter-ability-32190
05/16/2022, 3:11 PMFAILED src/python/pants/backend/python/goals/tailor_test.py::test_ignore_empty_init[True]
bitter-ability-32190
05/16/2022, 3:20 PMmypy
to 950.bitter-ability-32190
05/16/2022, 3:23 PMexperimental_shell_command
metadat to specify the type
of asset? I need it to output a resource
because I can't package a file
😭bitter-ability-32190
05/16/2022, 3:49 PMfiles
and resources
into one target type: asset
?
Are there languages/ecosystems where the distinction is important (from a Build tooling perspective)?busy-vase-39202
05/16/2022, 5:03 PMbitter-ability-32190
05/16/2022, 5:20 PMwide-midnight-78598
05/16/2022, 9:01 PMwide-midnight-78598
05/17/2022, 3:03 AMfresh-cat-90827
05/17/2022, 4:05 PM$ ./pants_from_sources version
2.13.0.dev2
The repo is currently on 2.10.0
and has all tests/packaging workflows running fine. When I attempt to run tests using Pants built from sources, I get
$ ./pants_from_sources test project::
16:08:14.71 [ERROR] 1 Exception encountered:
ResolveError: 'pymysql' was not found in namespace ''. Did you mean one of:
:my-project
FATAL: exception not rethrown
Aborted (core dumped)
I am confused by this error message.hundreds-father-404
05/17/2022, 6:32 PMNone | ExportPythonTool
for a rule return type?
@dataclass(frozen=True)
class ExportPythonTool:
resolve_name: str
pex_request: PexRequest
hundreds-father-404
05/17/2022, 7:11 PMconf.py
. tailor
is going to think that should be python_sources
, along with default sources=
for python_sources
wide-midnight-78598
05/18/2022, 12:46 PMwitty-crayon-22786
05/18/2022, 10:32 PMmypy
needs to check transitive dependees is dependent on whether a file “exports” a type… and the same goes for javac
, where we actually implemented “exports” (described in the JVM inference post)