bitter-ability-32190
12/10/2022, 2:51 AMtest
between the old union TestFieldSet
and the new union TestRequest
.
• Is TestFieldSet
supposed to be a union?
• Should the TestSubsystem
be asking if TestRequest
is in union_membership
instead of TestFieldSet
?bitter-ability-32190
12/10/2022, 7:50 PM@convert_fields
@dataclass(frozen=True)
class Foo:
x: Iterable[int] = convert_field(tuple)
x = Foo(x=[1, 2]) # mypy is happy
reveal_type(x.x) # reveals Iterable[int]
print(type(x.x)) # prints <class 'tuple'>
I'm coming after you frozen_after_init
😈wide-midnight-78598
12/11/2022, 3:37 PMpreview
or experimental
ala
• experimental-bsp
• experimental-deploy
• experimental-explorerhappy-kitchen-89482
12/11/2022, 8:02 PMenough-analyst-54434
12/12/2022, 5:35 PMbitter-ability-32190
12/12/2022, 7:11 PMenough-analyst-54434
12/12/2022, 9:38 PMbroad-processor-92400
12/12/2022, 11:23 PMwide-midnight-78598
12/13/2022, 4:02 AMsrc/python/pants/init/load_backends_integration_test.py:tests failed in 450.00s.
https://github.com/pantsbuild/pants/actions/runs/3681659160/jobs/6228608674bitter-ability-32190
12/14/2022, 4:27 PMbitter-ability-32190
12/14/2022, 7:52 PMlibfoo
. The only way to surface that is to declare each direct 3rdparty dep which transitively relies on the offending 3rdparty req has the dependency on libfoo
instead of just the one transitive req.
Not the end of the world by any stretch, but I don't like encoding assumptions that might change over time.
Also not a compelling enough reason to tackle the Pants request, but an interesting discussion nonethelessancient-vegetable-10556
12/15/2022, 4:33 PMenough-analyst-54434
12/15/2022, 4:45 PMenough-analyst-54434
12/16/2022, 1:39 AM./pants
script - `PANTS_TOML`:sparse-lifeguard-95737
12/16/2022, 5:30 PMexperimental_shell_command
+ yarn
, and hit another case of bad perf 🧵happy-kitchen-89482
12/17/2022, 12:20 AMbitter-ability-32190
12/17/2022, 2:37 AMbroad-processor-92400
12/18/2022, 9:45 PMwide-midnight-78598
12/19/2022, 2:08 PMwide-midnight-78598
12/19/2022, 4:44 PMscie-pants
reliably takes 150ms less than the pants script - which is fantastic!sparse-lifeguard-95737
12/19/2022, 6:11 PMfresh-cat-90827
12/19/2022, 8:12 PM./pants dependencies --my-flag
. The docs show how to add an option for a new subsystem, but I wonder if one can hook up into an existing goal?proud-dentist-22844
12/20/2022, 6:24 AMdist/export
dir on every run - only delete what is being actively exported (eg to export only one resolve at a time without clobbering the previous exports).ancient-vegetable-10556
12/20/2022, 5:22 PMrules()
functions.
So I was wondering if there’s enough information in the rule graph to statically generate correct and complete rules
functions for a given module. Is there? What would it take to make that work?wide-midnight-78598
12/20/2022, 8:58 PMscie-pants
centric stuff in the nce
cache folder, and the lmdb_store + named_caches stay where they are in the .cache/pants
folder?proud-dentist-22844
12/20/2022, 9:40 PMproud-dentist-22844
12/21/2022, 3:56 AMbitter-ability-32190
12/21/2022, 4:34 PMruff
. It's like a dream come true lol (no literally I've had dreams about better/faster Python tooling)
◦ Supporting pylint codes is the straw that breaks my back here. I can't not look into it. I dislike the slowness of Pylint and the age it showsancient-vegetable-10556
12/21/2022, 5:42 PMchrisjrn@chrisjrns-MBP example-python % ./pants_from_sources run ":reqs#black" -- an_source.py
reformatted an_source.py
All done! ✨ 🍰 ✨
1 file reformatted.
chrisjrn@chrisjrns-MBP example-python %
bitter-ability-32190
12/21/2022, 8:46 PM