bitter-ability-32190
08/10/2023, 4:33 PMPY=<PBS path> pants help and it works.
So I think we should:
• Pin our development lockfile to --only-binary (to workaround sdist issues with PBDS)
• Have scie-pants in the Pants repo provide Python
Could be helpful.bitter-ability-32190
08/10/2023, 4:33 PMbitter-ability-32190
08/10/2023, 6:00 PMhdrhistogram is sdist-only C code:
https://pypi.org/project/hdrhistogram/#filesflat-zoo-31952
08/10/2023, 6:02 PMbitter-ability-32190
08/10/2023, 6:02 PMflat-zoo-31952
08/10/2023, 6:03 PMbitter-ability-32190
08/10/2023, 6:04 PM--stats-logbitter-ability-32190
08/10/2023, 6:04 PMflat-zoo-31952
08/10/2023, 6:06 PMbitter-ability-32190
08/10/2023, 6:08 PMbitter-ability-32190
08/10/2023, 6:10 PMbitter-ability-32190
08/10/2023, 6:12 PMloud-lizard-27679
08/10/2023, 6:21 PMbitter-ability-32190
08/10/2023, 6:40 PMloud-lizard-27679
08/10/2023, 6:40 PMbitter-ability-32190
08/10/2023, 6:41 PMbitter-ability-32190
08/10/2023, 6:41 PMloud-lizard-27679
08/10/2023, 6:41 PMbitter-ability-32190
08/10/2023, 6:43 PMsiteconfig module hardcodes paths/flags for what itself was compiled using.
Some sdists (rightfully) use those paths/flags when compiling modules so they are compatible with the Python you're building for.
But that means the Python you downloaded has paths specific to the docker container (or whatever) it was built in, not your systemloud-lizard-27679
08/10/2023, 6:44 PMbitter-ability-32190
08/10/2023, 6:44 PMbitter-ability-32190
08/10/2023, 6:44 PMclang which is against the spirit of the whole thing 😛loud-lizard-27679
08/10/2023, 6:46 PMbitter-ability-32190
08/10/2023, 6:47 PMloud-lizard-27679
08/10/2023, 6:47 PMloud-lizard-27679
08/10/2023, 6:48 PMbitter-ability-32190
08/10/2023, 6:49 PMpants would provide PBS, and nothing would need to be installed 🙂
(minus that protobuf thing from the other thread)loud-lizard-27679
08/10/2023, 7:00 PMloud-lizard-27679
08/10/2023, 7:01 PMbitter-ability-32190
08/10/2023, 7:01 PMhdrhistogram is fairly vanilla. Something like numpy goes boom more spectacularly 🙂loud-lizard-27679
08/10/2023, 7:02 PMloud-lizard-27679
08/10/2023, 7:02 PMloud-lizard-27679
08/10/2023, 7:02 PMloud-lizard-27679
08/10/2023, 7:02 PMloud-lizard-27679
08/10/2023, 7:03 PMloud-lizard-27679
08/10/2023, 7:45 PMloud-lizard-27679
08/10/2023, 8:01 PMnative_engine.IntrinsicError: Could not identify a process to backtrack to for: Missing digest: Was not present in the local store: Digest { hash: Fingerprint<faad51a6a108fba9d40b2a10e82a2646fccbaf8c3d9be47818f4bffae02d94b8>, size_bytes: 4098329 }
But then I just run ./pants again and then on the second attempt it works.bitter-ability-32190
08/10/2023, 9:01 PMhdrhistogram replied to my PR, so we might be in business 😛)bitter-ability-32190
08/11/2023, 10:54 AMbitter-ability-32190
08/11/2023, 2:21 PMpytest-icdiff (filed issue)
▪︎ Made a PR
◦ icdiff (filed issue)
▪︎ Made a PR
◦ (we could use a different diffing plugin anyways, it's been suggested and I personally don't like icdiff)
• python-default
◦ pydevd-pycharm
▪︎ can probably make this an optional dependency. Probably should?
▪︎ No issue tracker on GitHub 😠
▪︎ LOL their PyPI description mentions uploading wheels
▪︎ Found an issue: https://youtrack.jetbrains.com/issue/PY-52338/Consider-providing-wheels-for-pydevd-pycharm
◦ python-multipart
▪︎ Has wheels for 0.0.6, but fastapi pins this to <0.0.6
▪︎ So we likely can re-lock with newer fastapi and see what happens
• EDIT: Yup this worked after I tossed `pydevd-pycharmhappy-kitchen-89482
08/11/2023, 3:18 PMbitter-ability-32190
08/11/2023, 3:18 PM--debug-adapter + VS Code support? 😛happy-kitchen-89482
08/11/2023, 3:18 PMbitter-ability-32190
08/11/2023, 3:18 PMhappy-kitchen-89482
08/11/2023, 3:19 PMbitter-ability-32190
08/11/2023, 3:19 PMbreakpoints just plug-and-playbitter-ability-32190
08/11/2023, 3:57 PMpydevd-pycharm, but its 2 years old 🪦bitter-ability-32190
08/21/2023, 3:12 PM