Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .ci/test.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,10 @@ def prepare_env_poetry(p: Plugin, directory: Path) -> bool:
# Now we can proceed with the actual implementation
logging.info(f"Installing poetry {poetry} dependencies from {p.details['pyproject']}")
subprocess.check_call([
poetry, 'install', '--with=dev', '--no-interaction',
poetry, 'config', 'solver.lazy-wheel', 'false',
], cwd=workdir)
subprocess.check_call([
poetry, 'install', '--with', 'dev', '--no-interaction',
], cwd=workdir)

subprocess.check_call([pip3, 'freeze'])
Expand Down Expand Up @@ -222,7 +225,8 @@ def install_pyln_testing(pip_path):
cln_path + "/contrib/pyln-client",
cln_path + "/contrib/pyln-testing",
"MarkupSafe>=2.0",
'itsdangerous>=2.0'
'itsdangerous>=2.0',
'qrcode==6.1',
],
stderr=subprocess.STDOUT,
)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
python-version: ["3.12"]
bitcoind-version: ["26.0"]
experimental: [1]
deprecated: [0]
Expand Down
266 changes: 157 additions & 109 deletions donations/poetry.lock

Large diffs are not rendered by default.

11 changes: 11 additions & 0 deletions donations/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ description = ""
authors = ["Christian Decker <decker.christian@gmail.com>"]
license = "MIT"
readme = "README.md"
package-mode = false

[tool.poetry.dependencies]
python = "^3.8"
Expand All @@ -18,6 +19,16 @@ wtforms = "2.3.3"

[tool.poetry.dev-dependencies]
pyln-testing = "^23.11"
pytest = "^7.4.4"
pytest-timeout = "^2.2.0"
pytest-xdist = "^3.5.0"
qrcode = "6.1"
flask = "2.0.3"
pyln-client = "^23.11"
flask-bootstrap = "^3.3.7.1"
flask-wtf = "0.15.1"
werkzeug = "<3"
wtforms = "2.3.3"

[build-system]
requires = ["poetry-core"]
Expand Down
2 changes: 2 additions & 0 deletions donations/test_donations.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,5 @@ def test_donation_server(node_factory):
l1.daemon.wait_for_log("plugin-donations.py:.*Running on all addresses")
msg = l1.rpc.donationserver("stop", port)
assert msg == f'stopped server on port {port}'

#
18 changes: 9 additions & 9 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ version = "0.1.0"
description = "Plugin test runner"
authors = ["Christian Decker <decker.christian@gmail.com>"]
license = "MIT"
package-mode = false

[tool.poetry.dependencies]
python = "^3.8"
Expand Down