Skip to content

Commit 40d319b

Browse files
daywalker90cdecker
authored andcommitted
python: raise minimum supported python version to 3.9
Changelog-None
1 parent 03b4f47 commit 40d319b

File tree

16 files changed

+23
-63
lines changed

16 files changed

+23
-63
lines changed

.github/workflows/readme-rpc-sync.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- name: Set up Python
2424
uses: actions/setup-python@v5
2525
with:
26-
python-version: 3.8
26+
python-version: 3.9
2727

2828
- name: Install python modules
2929
run: |

contrib/cln-tracer/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Christian Decker <[email protected]>"]
66
readme = "README.md"
77

88
[tool.poetry.dependencies]
9-
python = "^3.8"
9+
python = "^3.9"
1010
bcc = "^0.1.10"
1111
opentelemetry-proto = "^1.21.0"
1212

contrib/pyln-client/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ packages = [
1111
]
1212

1313
[tool.poetry.dependencies]
14-
python = "^3.8"
14+
python = "^3.9"
1515
pyln-proto = ">=23"
1616
pyln-bolt7 = ">=1.0"
1717

contrib/pyln-grpc-proto/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ include = [
1616
]
1717

1818
[tool.poetry.dependencies]
19-
python = "^3.8"
19+
python = "^3.9"
2020
grpcio = "*"
2121
protobuf = "5.29.4"
2222

contrib/pyln-proto/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ packages = [
1111
]
1212

1313
[tool.poetry.dependencies]
14-
python = "^3.8"
14+
python = "^3.9"
1515
base58 = "^2.1.1"
1616
bitstring = "^4.1.0"
1717
coincurve = "^20"

contrib/pyln-spec/bolt1/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages = [
1010
]
1111

1212
[tool.poetry.dependencies]
13-
python = "^3.8"
13+
python = "^3.9"
1414

1515
[tool.poetry.group.dev.dependencies]
1616
pyln-proto = "^0.10.2"

contrib/pyln-spec/bolt2/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages = [
1010
]
1111

1212
[tool.poetry.dependencies]
13-
python = "^3.8"
13+
python = "^3.9"
1414

1515
[tool.poetry.group.dev.dependencies]
1616
pyln-proto = "^0.10.2"

contrib/pyln-spec/bolt4/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages = [
1010
]
1111

1212
[tool.poetry.dependencies]
13-
python = "^3.8"
13+
python = "^3.9"
1414

1515
[tool.poetry.group.dev.dependencies]
1616
pyln-proto = "^0.10.2"

contrib/pyln-spec/bolt7/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ packages = [
1010
]
1111

1212
[tool.poetry.dependencies]
13-
python = "^3.8"
13+
python = "^3.9"
1414

1515
[tool.poetry.group.dev.dependencies]
1616
pyln-proto = "^0.10.2"

contrib/pyln-testing/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ packages = [
1111
]
1212

1313
[tool.poetry.dependencies]
14-
python = "^3.8"
14+
python = "^3.9"
1515
pytest = "^7"
1616
ephemeral-port-reserve = "^1.1.4"
1717
psycopg2-binary = "^2.9"

contrib/reprobuild/Dockerfile.focal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ RUN chown root:root /usr/lib/sudo/sudoers.so
3535
RUN wget -O /usr/local/bin/jq https://github.com/jqlang/jq/releases/download/jq-1.6/jq-linux64 \
3636
&& chmod +x /usr/local/bin/jq
3737

38-
# install Python3.8 (more reproducible than relying on python3-setuptools)
38+
# install Python3.10 (more reproducible than relying on python3-setuptools)
3939
RUN git clone https://github.com/pyenv/pyenv.git /root/.pyenv && \
4040
apt-get install -y --no-install-recommends \
4141
libbz2-dev \

doc/getting-started/getting-started/installation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -294,7 +294,7 @@ pkg_add autoconf # (select highest version, autoconf-2.69p2 at time of writing)
294294
Install `mako` otherwise we run into build errors:
295295

296296
```shell
297-
pip3.8 install --user poetry
297+
pip3 install --user poetry
298298
poetry install
299299
```
300300

@@ -356,7 +356,7 @@ If you need Python 3.x for mako (or get a mako build error):
356356
brew install pyenv
357357
echo -e 'if command -v pyenv 1>/dev/null 2>&1; then\n eval "$(pyenv init -)"\nfi' >> ~/.bash_profile
358358
source ~/.bash_profile
359-
pyenv install 3.8.10
359+
pyenv install 3.9
360360
pip install --upgrade pip
361361
pip install poetry==2.0.1
362362
```

plugins/wss-proxy/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ description = "Web secure socket proxy"
55
authors = ["ShahanaFarooqui <[email protected]>"]
66

77
[tool.poetry.dependencies]
8-
python = "^3.8"
8+
python = "^3.9"
99
pyln-client = ">=24.11 <25.09"
1010
websockets = "^12.0"
1111

poetry.lock

Lines changed: 7 additions & 47 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ authors = ["Christian Decker <[email protected]>"]
77

88
[tool.poetry.dependencies]
99
# Build dependencies belong here
10-
python = ">=3.8.1,<4.0"
10+
python = ">=3.9,<4.0"
1111
pyln-client = { path = "contrib/pyln-client", develop = true }
1212
pyln-proto = { path = "contrib/pyln-proto", develop = true }
1313
pyln-grpc-proto = { path = "contrib/pyln-grpc-proto", develop = true }

tests/data/recklessrepo/lightningd/testplugpyproj/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ authors = ["Alex Myers <[email protected]>"]
66

77
[tool.poetry.dependencies]
88
# Build dependencies belong here
9-
python = "^3.8"
9+
python = "^3.9"
1010
pyln-client = "^23.11"
1111

1212
[build-system]

0 commit comments

Comments
 (0)