core-lightning/contrib
Dustin Dettmer cdb93eefec resolve() appears broken on Python 3.7+
On my machine it should have produced:
/tmp/ltests-1p0v5z1j/.locks/lock-1631090663.1066182
but instead it produced:
/private/tmp/ltests-1p0v5z1j/.locks/lock-1631090663.105848

The mismatch resulted in a hang inside flock.

Path .resolve() seems to be causing problems for others as well. It appears the library was not meant to handle complex path situations and isn't maintained as such (see link reference).

Since we have already built a full path here anyway, the call to .resolve() appears redundant.

Tested on python 3.9.6 on my Mac OS X 11.4 (20F71), Xcode 12.5.1 (12E507)

Relevant discussion: https://discuss.python.org/t/pathlib-absolute-vs-resolve/2573
2021-09-10 11:55:50 +02:00
..
init
keys chore: add 3 gpg pubkeys of maintainers to the repository 2021-07-19 13:22:33 +09:30
libhsmd_python libhsmd: Do not use the message as the peer ID... 2021-05-30 19:49:22 +09:30
plugins JSON-RPC: getmanifest passes allow-deprecated-apis flag. 2020-08-11 08:43:18 +09:30
pylightning pylightning: fix requirements to work with pyln-client 2021-08-26 10:13:01 +09:30
pyln-client closing: add option to set closing range. 2021-09-09 12:04:48 +09:30
pyln-proto pyln-client/gossmap: more fixes, make mypy happier. 2021-09-08 09:34:14 +09:30
pyln-spec pyln-spec: update to latest version of the spec. 2021-09-07 17:41:28 +09:30
pyln-testing resolve() appears broken on Python 3.7+ 2021-09-10 11:55:50 +02:00
reprobuild repro: Add missing Dockerfiles 2020-09-16 06:27:12 +09:30
sanitizer_suppressions contrib: remove ASAN suppressions 2020-10-21 19:34:39 +02:00
bootstrap-node.sh contrib: add executable flag for bootstrap-node.sh 2020-05-05 13:27:55 +09:30
Dockerfile.builder build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
Dockerfile.builder.fedora build: add mkrd to docker install? 2020-04-19 08:07:47 +09:30
Dockerfile.tester gci: Add a tester Dockerfile 2021-01-29 10:29:09 +10:30
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02:00
linuxarm32v7.Dockerfile Fix dockerfiles 2021-01-26 15:03:35 +01:00
linuxarm64v8.Dockerfile Fix dockerfiles 2021-01-26 15:03:35 +01:00
short_channel_id-to-txid.sh
startup_regtest.sh queryrates: make it dev-only 2021-07-20 13:28:38 -04:00