happy-kitchen-89482
02/22/2023, 1:58 PMrhythmic-morning-87313
02/22/2023, 2:07 PMrapid-bird-79300
02/22/2023, 5:33 PMbitter-ability-32190
02/22/2023, 5:35 PMbitter-ability-32190
02/22/2023, 5:35 PMdev6
?curved-manchester-66006
02/22/2023, 6:13 PMadhoc_tool
But pants tells me (NoApplicableTargetsException) that I can't run
an adhoc_tool
I'm unsure if I'm missing something obvious here or should be looking at another target type (shell_command
?).ambitious-xylophone-5772
02/22/2023, 6:20 PMsilly-breakfast-1564
02/22/2023, 7:04 PMstderr:
go: updating go.sum: open /worker/build/<hash>/root/go.sum: permission denied
polite-garden-50641
02/22/2023, 7:33 PMalert-dawn-51425
02/22/2023, 7:40 PMrhythmic-morning-87313
02/23/2023, 12:49 AMrhythmic-morning-87313
02/23/2023, 1:09 AMrhythmic-morning-87313
02/23/2023, 1:24 AMrhythmic-morning-87313
02/23/2023, 1:26 AMbitter-ability-32190
02/23/2023, 1:33 AMnarrow-activity-17405
02/23/2023, 8:05 AMpants.toml
to get all tools (most importantly mypy) and tests running with the specific version of Python? Is that possible? I would like to catch problems that are specific for a specific version of Python. From docs I'm not sure whether this is possible with mypy. The repo is https://github.com/5G-ERA/era-5g-clientprehistoric-afternoon-67621
02/23/2023, 12:44 PMunzip
binary when building Docker images? I have a colleague on WSL Ubuntu and we can't figure out why she's getting "BinaryNotFound" when unzip
exists in the expected location (/usr/bin/unzip
).famous-xylophone-36532
02/23/2023, 2:05 PMrapid-bird-79300
02/23/2023, 5:10 PMDependencies
like this ./pants dependencies app/something/::
in a Pants plugin?
I have used Dependees (dependents) before like this
dependents = await Get(
Dependees,
DependeesRequest(
(t.address for t in req.targets),
transitive=False,
include_roots=False,
),
)
but I'm not sure rule similar rule exists for Dependencies
?witty-laptop-37343
02/23/2023, 6:46 PMdocker-compose up
using pants?wonderful-boots-93625
02/23/2023, 10:11 PMhigh-yak-85899
02/23/2023, 10:46 PM15:45:27.60 [INFO] Initializing scheduler...
15:45:27.83 [INFO] Scheduler initialized.
15:45:43.12 [INFO] Initializing scheduler...
15:45:43.50 [INFO] Scheduler initialized.
incalculable-beach-72723
02/24/2023, 1:16 AM2.15.0rc6
). Basically, the Java is not being generated despite explicit dependencies from java_sources
, while the Python is generated fine. Also weird is that export-codegen
will export the Java generated files, but not the python ones until I remove the protobuf.java
backend, after which it will generate the Python (and, of course, not the Java). I understand this is an experimental backend - does anyone have experience with it working either individually or together with protobuf.python
?fancy-daybreak-62348
02/24/2023, 3:20 AMgreen-match-66337
02/24/2023, 6:41 AMbreezy-apple-27122
02/24/2023, 2:13 PMrhythmic-morning-87313
02/24/2023, 3:27 PMextra_type_stubs
and extra_type_stubs_lockfile
...dazzling-elephant-33766
02/24/2023, 5:05 PMpsycopg2
package. I’d like the ability to build + deploy my cloud functions from my MacOS machine, however I’m running into current limitations of pants:
16:44:33.76 [WARN] Google Cloud Functions built on macOS may fail to build. If your function uses any third-party dependencies without binary wheels (bdist) for Linux available, it will fail to build. If this happens, you will either need to update your dependencies to only use dependencies with pre-built wheels, or find a Linux environment to run ./pants package. (See <https://realpython.com/python-wheels/> for more about wheels.)
It looks like the only way to get a wheel is via psycopg2-binary
(which works) but the documentation recommends avoiding this in production and instead using the source distribution.
I’m wondering if anyone has any recommendations/advice to work around this limitation?
Is having a Linux pipeline to build/deploy cloud functions really my only option? Or is it possible to temporarily override/replace psycopg2->psycopg2-binary for one-off deployments?high-yak-85899
02/24/2023, 6:03 PMcold-vr-15232
02/24/2023, 6:04 PM[2023-02-24T18:00:24.500Z] 18:00:24.27 [INFO] Initializing scheduler...
[2023-02-24T18:00:24.500Z] 18:00:24.46 [INFO] Scheduler initialized.
[2023-02-24T18:00:24.770Z] 2.14.1
[2023-02-24T18:00:24.770Z] Fatal Python error: PyGILState_Release: thread state 0x7f14c0001060 must be current when releasing
[2023-02-24T18:00:24.770Z] Python runtime state: finalizing (tstate=0x5409f0)
[2023-02-24T18:00:24.770Z]
[2023-02-24T18:00:24.770Z] Thread 0x00007f14d87c7c00 (most recent call first):
[2023-02-24T18:00:24.770Z] <no Python frame>
[2023-02-24T18:00:24.770Z] bash: line 1: 35054 Aborted (core dumped) ./pants --version