mirror of
https://github.com/lightningd/plugins.git
synced 2026-08-13 12:33:19 +02:00
CI: install cln specific pyln packages in uv frameworks
This commit is contained in:
parent
d2a2c06098
commit
39ef78fdcb
3 changed files with 57 additions and 44 deletions
15
.ci/test.py
15
.ci/test.py
|
|
@ -31,7 +31,20 @@ def prepare_env(p: Plugin, workflow: str) -> Tuple[dict, tempfile.TemporaryDirec
|
|||
env = os.environ.copy()
|
||||
directory = p.path / ".venv"
|
||||
|
||||
if p.framework != "uv":
|
||||
if p.framework == "uv":
|
||||
if workflow == "nightly":
|
||||
cln_path = os.environ["CLN_PATH"]
|
||||
try:
|
||||
subprocess.check_call(["uv", "add", "--editable", cln_path + "/contrib/pyln-testing", cln_path + "/contrib/pyln-client", cln_path + "/contrib/pyln-proto"], cwd=p.path.resolve())
|
||||
except: # noqa: E722
|
||||
subprocess.check_call(["uv", "add", "--dev", "--editable", cln_path + "/contrib/pyln-testing", cln_path + "/contrib/pyln-client", cln_path + "/contrib/pyln-proto"], cwd=p.path.resolve())
|
||||
else:
|
||||
pyln_version = re.sub(r'\.0(\d+)', r'.\1', workflow)
|
||||
try:
|
||||
subprocess.check_call(["uv", "add", f"pyln-testing=={pyln_version}", f"pyln-client=={pyln_version}", f"pyln-proto=={pyln_version}"], cwd=p.path.resolve())
|
||||
except: # noqa: E722
|
||||
subprocess.check_call(["uv", "add", "--dev", f"pyln-testing=={pyln_version}", f"pyln-client=={pyln_version}", f"pyln-proto=={pyln_version}"], cwd=p.path.resolve())
|
||||
else:
|
||||
# Create a temporary directory for virtualenv
|
||||
vdir = tempfile.TemporaryDirectory()
|
||||
directory = Path(vdir.name)
|
||||
|
|
|
|||
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -20,7 +20,7 @@ jobs:
|
|||
matrix:
|
||||
python-version: ["3.9", "3.13"]
|
||||
bitcoind-version: ["28.1"]
|
||||
cln-version: ["25.09", "25.05", "25.02"]
|
||||
cln-version: ["25.09.1", "25.05", "25.02.2"]
|
||||
experimental: [1]
|
||||
deprecated: [0]
|
||||
|
||||
|
|
@ -189,7 +189,7 @@ jobs:
|
|||
strategy:
|
||||
fail-fast: false
|
||||
matrix:
|
||||
cln-version: ["25.09", "25.05", "25.02"]
|
||||
cln-version: ["25.09.1", "25.05", "25.02.2"]
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
with:
|
||||
|
|
|
|||
82
README.md
82
README.md
|
|
@ -9,47 +9,47 @@ Community curated plugins for Core-Lightning.
|
|||
|
||||
| Name | Short description | CLN<br>`25.02`/`25.05`/`25.09`/`master` |
|
||||
| ------------------------------------ | ------------------------------------------------------------------------------------------- | :----: |
|
||||
| [backup][backup] | A simple and reliable backup plugin |     |
|
||||
| [bolt12-prism][bolt12-prism] | Split payments triggered manually or by paying a BOLT 12 |     |
|
||||
| [btcli4j][btcli4j] | A Bitcoin Backend to enable safely the pruning mode, and support also rest APIs. |     |
|
||||
| [bumpit][bumpit] | A plugin to bump an open channel transaction by creating a CPFP, useful when the funding transaction is stuck in the mempool or the fee is too low. |     |
|
||||
| [clearnet][clearnet] | A plugin that can be used to enforce clearnet connections when possible |     |
|
||||
| [clnaddress][clnaddress] | Run a lnurl server to receive via lnurl or ln-addresses with optional Zap support |     |
|
||||
| [cln-nip47][cln-nip47] | Nostr Wallet Connect (NWC) plugin to connect your wallets via nostr to your node. |     |
|
||||
| [cln-ntfy][cln-ntfy] | Core Lightning plugin for sending `ntfy` alerts. |     |
|
||||
| [clnrod][clnrod] | Channel acceptor plugin. Configurable with external data from amboss/1ml and notifications |     |
|
||||
| [consolidator][consolidator] | Automatically consolidate your UTXO's |     |
|
||||
| [currencyrate][currencyrate] | A plugin to convert other currencies to BTC using web requests |     |
|
||||
| [donations][donations] | A simple donations page to accept donations from the web |     |
|
||||
| [event-websocket][c-lightning-events] | Exposes notifications over a Websocket |     |
|
||||
| [feeadjuster][feeadjuster] | Dynamic fees to keep your channels more balanced |     |
|
||||
| [go-lnmetrics.reporter][reporter] | Collect and report of the lightning node metrics |     |
|
||||
| [graphql][graphql] | Exposes the Core-Lightning API over [graphql][graphql-spec] |     |
|
||||
| [historian][historian] | Gossip message archiver |     |
|
||||
| [hold][hold] | Hold invoices that do not require the preimage to be known when created |     |
|
||||
| [holdinvoice][holdinvoice] | Holds htlcs for invoices until settle or cancel is called (aka Hodlinvoices) via RPC/GRPC |     |
|
||||
| [invoice-queue][Lightning-Invoice-Queue] | Listen to lightning invoices from multiple nodes and send to a redis queue for processing |     |
|
||||
| [lightning-qt][lightning-qt] | A bitcoin-qt-like GUI for lightningd |     |
|
||||
| [ln-address-pay][ln-address-pay] | Allows payments to lightning addresses |     |
|
||||
| [monitor][monitor] | helps you analyze the health of your peers and channels |     |
|
||||
| [nloop][NLoop] | Generic Lightning Loop for boltz |     |
|
||||
| [payany][payany] | Supercharge CLN's pay/xpay/renepay. Automatically fetch invoices for static ln addresses like LNURL etc.. Set a budget for external wallets. |     |
|
||||
| [persistent-channels][pers-chans] | Maintains a number of channels to peers |     |
|
||||
| [poncho][poncho] | Turns CLN into a [hosted channels][blip12] provider |     |
|
||||
| [prometheus][prometheus] | Exposes some key metrics from c-lightning in the prometheus format |     |
|
||||
| [pruning][c-lightning-pruning-plugin] | This plugin manages pruning of bitcoind such that it can always sync |     |
|
||||
| [rebalance][rebalance] | Keeps your channels balanced |     |
|
||||
| [sauron][sauron] | A Bitcoin backend relying on [Esplora][esplora]'s API |     |
|
||||
| [sitzprobe][sitzprobe] | A Lightning Network payment rehearsal utility |     |
|
||||
| [sling][sling] | Rebalance your channels with smart rules and built-in background tasks |     |
|
||||
| [smaug][smaug] | Send bkpr-compatible events to bkpr for external on-chain wallet movements |     |
|
||||
| [summars][summars] | Print configurable summary of node, channels and optionally forwards, invoices, payments |     |
|
||||
| [summary][summary] | Print a nice summary of the node status |     |
|
||||
| [torq-plugin][torq-plugin] | Better CLN integration into [Torq](https://github.com/lncapital/torq) |     |
|
||||
| [trustedcoin][trustedcoin] | Replace your Bitcoin Core with data from public block explorers |     |
|
||||
| [watchtower-client][watchtower-client] | Watchtower client for The Eye of Satoshi |     |
|
||||
| [webhook][webhook] | Dispatches webhooks based from [event notifications][event-notifications] |     |
|
||||
| [zmq][zmq] | Publishes notifications via [ZeroMQ][zmq-home] to configured endpoints |     |
|
||||
| [backup][backup] | A simple and reliable backup plugin |     |
|
||||
| [bolt12-prism][bolt12-prism] | Split payments triggered manually or by paying a BOLT 12 |     |
|
||||
| [btcli4j][btcli4j] | A Bitcoin Backend to enable safely the pruning mode, and support also rest APIs. |     |
|
||||
| [bumpit][bumpit] | A plugin to bump an open channel transaction by creating a CPFP, useful when the funding transaction is stuck in the mempool or the fee is too low. |     |
|
||||
| [clearnet][clearnet] | A plugin that can be used to enforce clearnet connections when possible |     |
|
||||
| [clnaddress][clnaddress] | Run a lnurl server to receive via lnurl or ln-addresses with optional Zap support |     |
|
||||
| [cln-nip47][cln-nip47] | Nostr Wallet Connect (NWC) plugin to connect your wallets via nostr to your node. |     |
|
||||
| [cln-ntfy][cln-ntfy] | Core Lightning plugin for sending `ntfy` alerts. |     |
|
||||
| [clnrod][clnrod] | Channel acceptor plugin. Configurable with external data from amboss/1ml and notifications |     |
|
||||
| [consolidator][consolidator] | Automatically consolidate your UTXO's |     |
|
||||
| [currencyrate][currencyrate] | A plugin to convert other currencies to BTC using web requests |     |
|
||||
| [donations][donations] | A simple donations page to accept donations from the web |     |
|
||||
| [event-websocket][c-lightning-events] | Exposes notifications over a Websocket |     |
|
||||
| [feeadjuster][feeadjuster] | Dynamic fees to keep your channels more balanced |     |
|
||||
| [go-lnmetrics.reporter][reporter] | Collect and report of the lightning node metrics |     |
|
||||
| [graphql][graphql] | Exposes the Core-Lightning API over [graphql][graphql-spec] |     |
|
||||
| [historian][historian] | Gossip message archiver |     |
|
||||
| [hold][hold] | Hold invoices that do not require the preimage to be known when created |     |
|
||||
| [holdinvoice][holdinvoice] | Holds htlcs for invoices until settle or cancel is called (aka Hodlinvoices) via RPC/GRPC |     |
|
||||
| [invoice-queue][Lightning-Invoice-Queue] | Listen to lightning invoices from multiple nodes and send to a redis queue for processing |     |
|
||||
| [lightning-qt][lightning-qt] | A bitcoin-qt-like GUI for lightningd |     |
|
||||
| [ln-address-pay][ln-address-pay] | Allows payments to lightning addresses |     |
|
||||
| [monitor][monitor] | helps you analyze the health of your peers and channels |     |
|
||||
| [nloop][NLoop] | Generic Lightning Loop for boltz |     |
|
||||
| [payany][payany] | Supercharge CLN's pay/xpay/renepay. Automatically fetch invoices for static ln addresses like LNURL etc.. Set a budget for external wallets. |     |
|
||||
| [persistent-channels][pers-chans] | Maintains a number of channels to peers |     |
|
||||
| [poncho][poncho] | Turns CLN into a [hosted channels][blip12] provider |     |
|
||||
| [prometheus][prometheus] | Exposes some key metrics from c-lightning in the prometheus format |     |
|
||||
| [pruning][c-lightning-pruning-plugin] | This plugin manages pruning of bitcoind such that it can always sync |     |
|
||||
| [rebalance][rebalance] | Keeps your channels balanced |     |
|
||||
| [sauron][sauron] | A Bitcoin backend relying on [Esplora][esplora]'s API |     |
|
||||
| [sitzprobe][sitzprobe] | A Lightning Network payment rehearsal utility |     |
|
||||
| [sling][sling] | Rebalance your channels with smart rules and built-in background tasks |     |
|
||||
| [smaug][smaug] | Send bkpr-compatible events to bkpr for external on-chain wallet movements |     |
|
||||
| [summars][summars] | Print configurable summary of node, channels and optionally forwards, invoices, payments |     |
|
||||
| [summary][summary] | Print a nice summary of the node status |     |
|
||||
| [torq-plugin][torq-plugin] | Better CLN integration into [Torq](https://github.com/lncapital/torq) |     |
|
||||
| [trustedcoin][trustedcoin] | Replace your Bitcoin Core with data from public block explorers |     |
|
||||
| [watchtower-client][watchtower-client] | Watchtower client for The Eye of Satoshi |     |
|
||||
| [webhook][webhook] | Dispatches webhooks based from [event notifications][event-notifications] |     |
|
||||
| [zmq][zmq] | Publishes notifications via [ZeroMQ][zmq-home] to configured endpoints |     |
|
||||
|
||||
## Plugin Managers
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue