busy-vase-39202
10/21/2022, 5:11 PMbusy-vase-39202
10/21/2022, 5:15 PMbusy-vase-39202
10/21/2022, 5:20 PMhundreds-father-404
10/21/2022, 5:23 PMbusy-vase-39202
10/21/2022, 5:27 PMancient-vegetable-10556
10/21/2022, 5:59 PMpublish
to be a USES_ENVIRONMENTS
goal. It looks at the moment like I canât specify the environment in the await Effect
line. Is this intentional?witty-crayon-22786
10/21/2022, 6:11 PMwitty-crayon-22786
10/21/2022, 8:10 PMbusy-vase-39202
10/21/2022, 9:27 PMwitty-crayon-22786
10/21/2022, 9:27 PM2.14.x
: i can probably do another release candidate + stable over the weekend if youâll be outsparse-lifeguard-95737
10/22/2022, 3:57 AM./pants check
on pantsbuild/pants
twice today - the error doesnât repro if I immediately re-run the command, so it could be a race condition?
23:55:38.23 [ERROR] Completed: Typecheck using MyPy - mypy - mypy failed (exit code 1).
src/python/pants/goal/anonymous_telemetry.py:14: note: In module imported here,
src/python/pants/core/register.py:54: note: ... from here,
src/python/pants/core/goals/deploy_test.py:17: note: ... from here:
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: error: Library stubs not installed for "requests" (or incompatible with Python 3.7) [import]
import requests
^
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: note: Hint: "python3 -m pip install types-requests"
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: note: (or run "mypy --install-types" to install all missing stub packages)
/Users/dan.moran/.cache/pants/named_caches/pex_root/venvs/07570716880b83f98097b50a2089bac0b0397777/bfaddbeef852a86567e6233311d5ce9c0ceb52e9/lib/python3.7/site-packages/humbug/report.py:20:1: note: See <https://mypy.readthedocs.io/en/stable/running_mypy.html#missing-imports>
careful-address-89803
10/22/2022, 4:18 AMbitter-ability-32190
10/22/2022, 5:33 PMError: Unable to locate the previous sha: 520aee682f57a9da70ddab51afe8f95f1b1525b5
Error: You seem to be missing 'fetch-depth: 0' or 'fetch-depth: 2'. See <https://github.com/tj-actions/changed-files#usage>
Error: Process completed with exit code 1.
https://github.com/pantsbuild/pants/actions/runs/3304088306/jobs/5452778141bitter-ability-32190
10/22/2022, 6:08 PMbitter-ability-32190
10/24/2022, 2:44 PMupdate-build-files
⢠Probably another docs pass
⢠I have PRs ready to add http_sources
and add per-platform exe
fields to external_tool
once in
⢠Still working on symlink support. Oof
Future:
⢠pants.toml
fixerbitter-ability-32190
10/24/2022, 2:56 PMERROR: No matching distribution found for setuptools<64.0,>=63.1.0
hundreds-father-404
10/24/2022, 3:14 PMbitter-ability-32190
10/24/2022, 7:20 PMlibcst
for Python and tomlkit
for pants.toml
.
Thoughts?bitter-ability-32190
10/24/2022, 7:54 PM<http://repository.in|repository.in>
that lists most of my deps, minus mxnet
. -> it gets locked manually (e.g. I call pex3
) and toss in `mxnet`for the lock. Then I have a python_requirement
for mxnet
. Lastly I have a package mxboard
which has an implicit, undeclared dependency on mxnet
.
So I would normally do:
python_requirements(
...,
overrides={"mxboard": {"dependencies": [":repository#mxnet"]}}",
)
Buuuuuuuuuut In order to support GPU mxnet
I also have more lockfiles/resolves which swap mxnet
with mxnet-cu1XX
for each CUDA version we care about. Plus an additional python_requirement
for each new resolve.
But then my hardcoded dependency breaks and I weep. (All hard-coded deps break, but I despise them. This one is most relevant).
So I'm thinking we should make it easy to say "this package relies on this module (name)" that isn't specifically "this python_requirement
depends on this other `python_requirement`". That way the resolve aspect is delayed to dependency injection plugin time.
Or any other way to unblock this đsparse-lifeguard-95737
10/25/2022, 2:01 PMRuleRunner
in a test? Iâm trying to revamp the tests for test
as part of the batching impl, and I think Iâve reached the limit of my guess-and-check strategy đ¤Żbitter-ability-32190
10/25/2022, 3:05 PMbitter-ability-32190
10/25/2022, 3:36 PMsparse-lifeguard-95737
10/25/2022, 3:58 PMmain
- youâd all reviewed the initial draft, if you want to take another look: https://github.com/pantsbuild/pants/pull/17134bitter-ability-32190
10/25/2022, 6:07 PM1145 | target: target.strip_prefix(name.as_ref()).unwrap(),
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `RelativePath`, found struct `Path`
|
= note: expected reference `&RelativePath`
found reference `&Path`
But target
is of type &RelativePath
and strip_prefix
returns `&RelativePath`: https://docs.rs/relative-path/1.5.0/relative_path/struct.RelativePath.html#method.strip_prefix
What am I missing?witty-crayon-22786
10/25/2022, 6:46 PMcurved-television-6568
10/26/2022, 1:29 AMEnvironmentName
stuff.. so doesnât understand much of what it does in detail yet, given that, I added a new union
type bare bones first, I expected it would need the in_scope_types
thingy, but skipped it first to see if it would work. Now, I can say it did not, but the error was what looks like the entire rule graph spewed out with a lot of the infamous âNo installed rules return âŚâ lines for all of the rules/types. Adding in the missing thingy mahjoob on the union solved it, but I wouldâve never have been able to arrive at that conclusion based on the error I observed đ
Just hoping this will be something we can improve a bit⌠đcareful-address-89803
10/26/2022, 3:32 PMwitty-crayon-22786
10/26/2022, 4:12 PMwitty-crayon-22786
10/26/2022, 5:25 PMEnvironmentNames
are consumed that will likely need to be present in 2.15.x at this point, but that we could maybe fix in 2.16.x.witty-crayon-22786
10/26/2022, 6:00 PM