core-lightning/contrib
Christian Decker 92f10f2c34 pyln: Fix relative path dependencies when publishing to PyPI
So this was quite a journey:

 - We want relative depdendencies (using the `path` argument) whenever
   developing locally. Otherwise we would have to install each
   dependency every time we change a single character, which
   undoubtedly would cause us to waste time trying to debug an issue
   just because we forgot to install.
 - When publishing however we want to rely on the version number,
   since the repo context gets lost upon publishing, and path
   dependencies cause failures.

The solution then it seems is to use `dev-dependencies` (not that
surprising once you find it) with relative paths, so that `poetry
install` uses these over the normal dependencies (no idea how they
dedup them) and use `dependencies` when publishing. The paths are
still in there when publishing, but `pip install` ignores them.

I checked that `poetry install` from an unrelated project doesn't
accidentally use the path dependencies, even when adding them as
dev-dependencies. This should hopefully also allow installing them
as a repo link, though I can't test that right now.
2022-06-26 13:54:01 +09:30
..
docker docker: Update name from c-lightning to Core-Lightning 2022-05-14 11:43:46 +09:30
init systemd: After=network-online.target 2019-08-20 20:14:36 +02:00
keys chore: add 3 gpg pubkeys of maintainers to the repository 2021-07-19 13:22:33 +09:30
libhsmd_python ccan: remove autodata. 2021-09-21 18:04:43 +02:00
msggen msggen: adding example and fixes typo 2022-05-07 11:11:51 +02:00
plugins JSON-RPC: getmanifest passes allow-deprecated-apis flag. 2020-08-11 08:43:18 +09:30
pylightning contrib/pylightning: remove lightning-pay helper. 2022-06-21 06:52:35 +09:30
pyln-client pyln: Fix relative path dependencies when publishing to PyPI 2022-06-26 13:54:01 +09:30
pyln-proto pyln: Fix relative path dependencies when publishing to PyPI 2022-06-26 13:54:01 +09:30
pyln-spec pyln-spec: upgrade to the last bolt version 2022-05-18 10:17:25 +09:30
pyln-testing pyln: Fix relative path dependencies when publishing to PyPI 2022-06-26 13:54:01 +09:30
reprobuild repro: Update repro dockerfiles and instructions 2022-04-28 12:28:48 +09:30
sanitizer_suppressions common/autodata: use instead of ccan/autodata 2021-09-21 18:04:43 +02:00
bootstrap-node.sh contrib: add executable flag for bootstrap-node.sh 2020-05-05 13:27:55 +09:30
lightning-cli.bash-completion Fix bash completion. 2020-05-15 15:25:33 +02:00
short_channel_id-to-txid.sh Add compability to current formalism to short_channel_id-to-txid.sh 2019-10-04 00:38:52 +00:00
startup_regtest.sh devtools: Add fund_ln command to startup_regtest.sh 2022-06-17 14:28:32 +09:30