curved-television-6568
01/24/2023, 10:27 PMwide-midnight-78598
01/24/2023, 10:37 PMbitter-ability-32190
01/25/2023, 2:50 PMTarget
and Field
are switching from frozen_after_init
to be vanilla frozen
`dataclass`es.
Non-dataclass subclasses of frozen dataclasses are not themselves frozen, but their frozen attributes are.
All this means is people can now attach arbitrary values onto their instances of their subclasses. This isn't any different from other frozen
dataclasses. I'm only noting it because I have to remove some lines from a test that tested this behavior.
Again, still can't assign to any of the dataclasses fields. Also __init__
is final
happy-kitchen-89482
01/25/2023, 3:26 PMpublish-tag-to-commit-mapping
CI job failed for 2.15.0rc2, yet the mapping exists (and installing that version with scie-pants succeeds).curved-television-6568
01/25/2023, 11:08 PMscie-pants
feature request.. detect and invoke ./pants
if present..? 🧵wide-midnight-78598
01/26/2023, 1:30 PMscie-pants
? I’m assuming we don’t want to download the same pinterpreter if the scie-pants
version hasn’t changed?curved-television-6568
01/27/2023, 1:51 PMbump_version.sh
script in the brew tap for updating the scie-pants version and sha sums, so if we could hook that up to your release action I think it’s not too far off to automate this.. I can look into it.wide-midnight-78598
01/27/2023, 6:25 PMhappy-kitchen-89482
01/29/2023, 3:40 PMhappy-kitchen-89482
01/29/2023, 4:59 PMfast-nail-55400
01/30/2023, 6:21 AMbitter-ability-32190
01/30/2023, 3:45 PMfrozen_after_init
soon
• I'll probably tackle https://github.com/pantsbuild/pants/issues/18090fast-nail-55400
01/30/2023, 8:12 PMproud-dentist-22844
01/31/2023, 3:52 AMstevedore
backend for python projects that use openstack/stevedore (like StackStorm).
Sorry for the size, normally I try to break PRs into smaller chunks. This time I needed to show holistically how it all fit together so that the implementation can be refined and improved without losing any of the functionality I depend on. 🙂happy-kitchen-89482
01/31/2023, 7:00 PMwitty-crayon-22786
01/31/2023, 7:47 PMancient-vegetable-10556
01/31/2023, 8:11 PMshell_command
into words over at https://github.com/pantsbuild/pants/discussions/18082#discussioncomment-4833668 — If we can get some eyes on this, I’d appreciate it!proud-dentist-22844
02/01/2023, 11:45 PMproud-dentist-22844
02/02/2023, 6:22 AMpython_distributions
I wonder if it would be good to create synthetic targets for each of the entry points on the python_distribution
and then infer dependencies on those instead of on the underlying python code.
One of the rules generates an entry_points.txt file for python_tests
. If there were synthetic entry point targets, then that rule could look for any direct or transitive dependencies on these synthetic targets instead of looking for the python_distribution
and descending into the field to discover the entry points. This way, if test depends on the distribution itself, the entry_points.txt would get all of the entry points, not just the selected ones inferred by my plugin. And that would mean only one rule would generate that file so that two rules do not have to cooperatively choose which one generates the file.
Or maybe instead of a synthetic target, we could reimagine python_distribution
as a hybrid target generator that is both a target and generates these entry point targets.
In any case, I think this would be a future enhancement - I don't want to do it in my current stevedore PR. But I'm imagining the future of it.
@curved-television-6568 what do you think?curved-television-6568
02/02/2023, 12:41 PM07:40:16.66 [INFO] Starting new nailgun server with cmd: "/bin/bash", args ["__jdk/jdk.sh", "__java_home/bin/java", "-cp", "__jdk/com.martiansoftware_nailgun-server_0.9.1.jar:__toolcp/com.fasterxml.jackson.core_jackson-annotations_2.12.4.jar:__toolcp/com.fasterxml.jackson.core_jackson-core_2.12.4.jar:__toolcp/com.fasterxml.jac...........
happy-kitchen-89482
02/02/2023, 5:17 PMbitter-ability-32190
02/02/2023, 6:22 PMcurved-television-6568
02/02/2023, 6:48 PMsparse-lifeguard-95737
02/02/2023, 7:50 PMstderr:
The virtualenv at /home/color/.cache/pants/named_caches/pex_root/venvs/499e7af10646cae90c3309114f8afb20270ce346/6907946b76533282134681624b0b55433bbbaeff.lck.work is not valid. No site-packages directory was found in its sys.path:
/opt/python/3.8.14/lib/python38.zip
/opt/python/3.8.14/lib/python3.8
/opt/python/3.8.14/lib/python3.8/lib-dynload
/opt/python/3.8.14/lib/python3.8/site-packages
we just hit it in CI for the first time. wondering if it’s another mysterious non-atomic locking issue like the error we’ve been chasing @enough-analyst-54434happy-kitchen-89482
02/02/2023, 9:25 PMcurved-television-6568
02/02/2023, 11:54 PMscie-pants
https://github.com/pantsbuild/scie-pants/pull/75#issuecomment-1414522723
cc @happy-kitchen-89482 ?fast-nail-55400
02/03/2023, 11:07 AMproud-dentist-22844
02/03/2023, 3:49 PMenough-analyst-54434
02/03/2023, 5:03 PMpants
in the pants repo, you just need to update to the latest release (SCIE_BOOT=update pants
or if you brew, you know how to update brewed things).ancient-vegetable-10556
02/03/2023, 6:53 PM