dry-analyst-73584
01/27/2022, 11:27 PMdry-analyst-73584
01/27/2022, 11:29 PMless .pants.d/pants.log PantsPrototype ⬆ ✭ ✱ ◼
18:28:59.15 [INFO] handling request: `--pants-bin-name=./v2pants --pants-version=2.9.0 test test/python/foursquare_test/fs::`
18:29:15.00 [ERROR] The scheduler was invalidated: Exception('pantsd process 40426 was using 1025.42 MiB of memory (above the `--pantsd-max-mem
18:29:15.18 [ERROR] service failure for <pants.pantsd.service.scheduler_service.SchedulerService object at 0x103f66cd0>.
18:29:15.18 [INFO] Waiting for ongoing runs to complete before exiting...
18:29:15.34 [INFO] request completed: `--pants-bin-name=./v2pants --pants-version=2.9.0 test test/python/foursquare_test/fs::`
18:29:15.34 [INFO] Server exiting with Ok(())
18:29:15.34 [INFO] Waiting for Sessions to complete before exiting...
18:29:15.34 [INFO] Waiting for shutdown of: ["scheduler_service_session", "store_gc_service_session", "pants_run_2022_01_27_18_28_59_894_2a6b16
18:29:15.34 [INFO] Shutdown completed: "scheduler_service_session"
18:29:15.34 [INFO] Shutdown completed: "store_gc_service_session"
18:29:15.34 [INFO] Shutdown completed: "pants_run_2022_01_27_18_28_59_894_2a6b16f182f241c987f27580b0ac3f60"
18:29:15.37 [INFO] Exiting pantsd
18:29:15.38 [WARN] File watcher exiting with: The watcher was shut down.
hundreds-father-404
01/27/2022, 11:29 PM.git
not in your .gitignore
?dry-analyst-73584
01/27/2022, 11:30 PMhundreds-father-404
01/27/2022, 11:31 PMpants_ignore
in pants.toml
? if so, check that you use pants_ignore.add = []
dry-analyst-73584
01/27/2022, 11:32 PMdry-analyst-73584
01/27/2022, 11:32 PMdry-analyst-73584
01/27/2022, 11:33 PMhundreds-father-404
01/27/2022, 11:34 PMThe scheduler was invalidated: Exception('pantsd process 40426 was using 1025.42 MiB of memory (above the `--pantsd-max-mem
IS there a recommended value to set the max_memory option to?Depends on how powerful your org's machines are. It defaults to
1GiB
. Might want to try 1.5GiB
or 2GiB
loud-stone-83419
01/27/2022, 11:34 PMdry-analyst-73584
01/27/2022, 11:35 PMdry-analyst-73584
01/27/2022, 11:36 PMhallowed-plastic-91664
01/27/2022, 11:37 PMhundreds-father-404
01/27/2022, 11:40 PMdry-analyst-73584
01/27/2022, 11:42 PMdry-analyst-73584
01/27/2022, 11:45 PMdry-analyst-73584
01/27/2022, 11:45 PMwitty-crayon-22786
01/28/2022, 5:53 PMclean-night-52582
01/28/2022, 11:13 PMh5py
Found this stackoverflow post saying to pass --no-binary=h5py
top pip
https://stackoverflow.com/questions/66741778/how-to-install-h5py-needed-for-keras-on-macos-with-m1bland-father-19717
01/30/2022, 6:38 AMmacos
and the env of the docker image is linux
. I think it’s probably due to the difference between these environments, but I haven’t found a solution yet.
pex.environment.ResolveError: A distribution for numpy could not be resolved in this environment.Found 1 distribution for numpy that do not apply:
1.) The wheel tags for numpy 1.22.1 are cp38-cp38-macosx_10_9_x86_64 which do not match the supported tags of DistributionTarget(interpreter=PythonInterpreter('/usr/local/bin/python3.8', PythonIdentity('/usr/local/bin/python3.8', 'cp38', 'cp38', 'manylinux_2_31_x86_64', (3, 8, 12)))):
cp38-cp38-manylinux_2_31_x86_64
cp38-cp38-manylinux_2_30_x86_64
cp38-cp38-manylinux_2_29_x86_64
cp38-cp38-manylinux_2_28_x86_64
cp38-cp38-manylinux_2_27_x86_64
...
hallowed-plastic-91664
01/31/2022, 12:50 AMcurved-television-6568
01/31/2022, 9:15 AMrefined-addition-53644
01/31/2022, 10:00 AMeager-lamp-68986
01/31/2022, 2:24 PMBinaryNotFoundError
. Is there any way to tell pants explicitly where to find my docker executable?happy-pizza-30507
01/31/2022, 3:02 PMplain-fireman-49959
01/31/2022, 3:49 PMfmt
, lint
, test
, package
, run
on everything so far (with the same set of external dependencies). mypy is failing to generate lockfiles because it can't find the dependencies that are in private repos (behind simple auth). I tried adding to the indexes, even including credentials, but it gives the same error:
Because pants-lockfile-generation depends on REDACTED (<0.4.0,>=0.3.20) which doesn't match any versions, version solving failed.
brash-baker-91190
01/31/2022, 5:01 PMpants
script itself:
curl --proto "=https" \
--tlsv1.3 \
--location \
--verbose \
--output ./pants \
<https://pantsbuild.github.io/setup/pants>
However, when I run that, it appears that at some point in the flow, I get redirected to an http
site:
HTTP/2 301
< server: <http://GitHub.com|GitHub.com>
< content-type: text/html
< permissions-policy: interest-cohort=()
< location: <http://v1.pantsbuild.org/setup/pants>
< x-github-request-id: 4DDA:0AD7:24AE8:607545:61F8148F
< accept-ranges: bytes
< date: Mon, 31 Jan 2022 16:57:01 GMT
< via: 1.1 varnish
< age: 78
< x-served-by: cache-fty21360-FTY
< x-cache: HIT
< x-cache-hits: 1
< x-timer: S1643648221.348955,VS0,VE1
< vary: Accept-Encoding
< x-fastly-request-id: de662d2ef47f018f97d6677537bf7d7ea081cf13
< content-length: 162
<
* Ignoring the response-body
{ [162 bytes data]
100 162 100 162 0 0 2793 0 --:--:-- --:--:-- --:--:-- 2842
* Connection #0 to host <http://pantsbuild.github.io|pantsbuild.github.io> left intact
* Issue another request to this URL: '<http://v1.pantsbuild.org/setup/pants>'
* Protocol "http" not supported or disabled in libcurl
* Closing connection -1
Is this a known situation?hundreds-father-404
01/31/2022, 5:15 PMbrash-baker-91190
01/31/2022, 5:26 PMhappy-kitchen-89482
01/31/2022, 6:51 PM<https://static.pantsbuild.org/setup/pants>
. Does that work?