bitter-ability-32190
11/17/2022, 8:59 PMbitter-ability-32190
11/17/2022, 9:07 PMbitter-ability-32190
11/17/2022, 9:08 PMwide-midnight-78598
11/17/2022, 9:10 PMbitter-ability-32190
11/17/2022, 9:10 PMbitter-ability-32190
11/17/2022, 9:15 PM./pants run build-support/bin/_release_helper.py -- build-wheelsbitter-ability-32190
11/17/2022, 9:17 PMbitter-ability-32190
11/17/2022, 9:18 PMFileNotFoundError: [Errno 2] No such file or directory: '/tmp/tmp5oeg4q6d/entry_8/pants/VERSION'bitter-ability-32190
11/17/2022, 9:22 PMmain the VERSION file is not part of testutil, so why is it failing now?bitter-ability-32190
11/17/2022, 9:25 PMread_resource perhaps?ancient-vegetable-10556
11/17/2022, 9:26 PMbitter-ability-32190
11/17/2022, 9:29 PMversion.py with the old code gets past this issue seemingly? (although I get a different error)ancient-vegetable-10556
11/17/2022, 9:29 PMbitter-ability-32190
11/17/2022, 9:31 PMread_resource in 8 places. I wonder what would happen if we replaced the internals with just pkgutil.get_dataancient-vegetable-10556
11/17/2022, 9:31 PMancient-vegetable-10556
11/17/2022, 9:31 PMpkgutil.get_data is somewhat broken (again, in ways I don’t remember)ancient-vegetable-10556
11/17/2022, 9:32 PMbitter-ability-32190
11/17/2022, 9:41 PMbitter-ability-32190
11/17/2022, 9:47 PM__init__.py file or namespace packages that do not contain `__init__.py``bitter-ability-32190
11/17/2022, 9:47 PMbitter-ability-32190
11/17/2022, 9:48 PMancient-vegetable-10556
11/17/2022, 9:49 PMread_resource exists to support an enduring API in Python, and pkgutil.get_data is deprecated and could go awaybitter-ability-32190
11/17/2022, 9:50 PMancient-vegetable-10556
11/17/2022, 9:51 PMbitter-ability-32190
11/17/2022, 10:07 PMwide-midnight-78598
11/17/2022, 10:45 PMbitter-ability-32190
11/18/2022, 3:39 PM__file__ loading for VERSION would workbitter-ability-32190
11/18/2022, 3:49 PMbitter-ability-32190
11/18/2022, 3:57 PMversion.py but the line it complains on when I run ./pants run build-support/bin/_release_helper.py -- build-wheels still has the old code. What gives?bitter-ability-32190
11/18/2022, 3:57 PMbitter-ability-32190
11/18/2022, 4:00 PMancient-vegetable-10556
11/18/2022, 4:05 PMbitter-ability-32190
11/18/2022, 4:05 PMbitter-ability-32190
11/18/2022, 4:06 PMpants/_versionancient-vegetable-10556
11/18/2022, 4:06 PMbitter-ability-32190
11/18/2022, 4:06 PMancient-vegetable-10556
11/18/2022, 4:06 PMbitter-ability-32190
11/18/2022, 4:07 PMPANTS_FROM_SHA users to update their script.
I don't think we can expect the ./pants shim to never change (especially considering it's about to change A BUNCH in the scie world)ancient-vegetable-10556
11/18/2022, 4:08 PMbitter-ability-32190
11/18/2022, 4:08 PMancient-vegetable-10556
11/18/2022, 4:08 PMbitter-ability-32190
11/18/2022, 4:08 PMancient-vegetable-10556
11/18/2022, 4:09 PMbitter-ability-32190
11/18/2022, 4:09 PMpants ?" when pants is a namespace packageancient-vegetable-10556
11/18/2022, 4:09 PMbitter-ability-32190
11/18/2022, 4:09 PMbitter-ability-32190
11/18/2022, 4:09 PMPANTS_FROM_SHA and then also PR the wrapper scriptancient-vegetable-10556
11/18/2022, 4:10 PMbitter-ability-32190
11/18/2022, 4:11 PMbitter-ability-32190
11/18/2022, 4:12 PMancient-vegetable-10556
11/18/2022, 4:12 PMbitter-ability-32190
11/18/2022, 4:12 PMPANTS_FROM_SHA they're already updating 😉bitter-ability-32190
11/18/2022, 4:13 PMancient-vegetable-10556
11/18/2022, 4:13 PMancient-vegetable-10556
11/18/2022, 4:13 PMbitter-ability-32190
11/18/2022, 4:15 PMbitter-ability-32190
11/18/2022, 4:15 PMancient-vegetable-10556
11/18/2022, 4:16 PMbitter-ability-32190
11/18/2022, 4:17 PMancient-vegetable-10556
11/18/2022, 4:18 PMbitter-ability-32190
11/18/2022, 4:18 PMancient-vegetable-10556
11/18/2022, 4:18 PMbitter-ability-32190
11/18/2022, 4:19 PMancient-vegetable-10556
11/18/2022, 4:19 PMbitter-ability-32190
11/18/2022, 4:19 PMbitter-ability-32190
11/18/2022, 4:28 PMancient-vegetable-10556
11/18/2022, 4:32 PMPANTS_FROM_SHA functionality a bit smarter, because it’s going to break if you’re testing commits a few months either side of now 🫠bitter-ability-32190
11/18/2022, 4:35 PMancient-vegetable-10556
11/18/2022, 4:36 PMancient-vegetable-10556
11/18/2022, 4:37 PMbitter-ability-32190
11/18/2022, 4:37 PMbitter-ability-32190
11/18/2022, 4:38 PM