From 50c8f6e4fcb3cb78248928f50333b39db6f014a7 Mon Sep 17 00:00:00 2001 From: Povilas Kanapickas Date: Tue, 10 Dec 2024 20:36:38 +0200 Subject: [PATCH 1/5] Synchronize supported versions in README with what is tested in CI --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 5e42fbf..61c80de 100644 --- a/README.md +++ b/README.md @@ -99,4 +99,4 @@ wormhole --relay-url=ws://localhost:4000/v1 send FILENAME This library is released under the MIT license, see LICENSE for details. -This library is compatible with python2.7, and python3 (3.5 and higher). +This library is compatible with python3 (3.7 and higher). From 747170f5d3112c3f4396b8ba17cc0572cd3f12c2 Mon Sep 17 00:00:00 2001 From: meejah Date: Tue, 10 Dec 2024 11:54:52 -0700 Subject: [PATCH 2/5] drop 3.7, 3.8: they are EOL --- .github/workflows/test.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 78aaa8d..693054e 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: ["3.7", "3.8", "3.9", "3.10", "3.11", "3.12"] + python-version: ["3.9", "3.10", "3.11", "3.12"] steps: - uses: actions/checkout@v2 From c4910aceae96a08fa056e98b4dcb91548bcfef4d Mon Sep 17 00:00:00 2001 From: meejah Date: Tue, 10 Dec 2024 11:55:24 -0700 Subject: [PATCH 3/5] support 3.9 and higher in CI --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 61c80de..2a47b26 100644 --- a/README.md +++ b/README.md @@ -99,4 +99,4 @@ wormhole --relay-url=ws://localhost:4000/v1 send FILENAME This library is released under the MIT license, see LICENSE for details. -This library is compatible with python3 (3.7 and higher). +This library is compatible with python3 (3.9 and higher). From d9adaae54bc25fc6dd7bd3c2fe19568172cab43e Mon Sep 17 00:00:00 2001 From: meejah Date: Tue, 10 Dec 2024 11:57:03 -0700 Subject: [PATCH 4/5] upgrade suggested Docker image --- NEWS.md | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/NEWS.md b/NEWS.md index e88e763..af3b975 100644 --- a/NEWS.md +++ b/NEWS.md @@ -4,6 +4,7 @@ User-visible changes in "magic-wormhole-mailbox-server": ## Upcoming * (put release-note here when merging / proposing a PR) +* CI no longer tests Python 3.8 (it is EOL) ## Release 0.5.1 (9-Nov-2024) diff --git a/README.md b/README.md index 2a47b26..ba04c5c 100644 --- a/README.md +++ b/README.md @@ -78,7 +78,7 @@ wormhole --relay-url=ws://example.com:4000/v1 send FILENAME Dockerfile content: ```dockerfile -FROM python:3.8 +FROM python:3.11 RUN pip install magic-wormhole-mailbox-server CMD [ "twist", "wormhole-mailbox","--usage-db=usage.sqlite" ] ``` From ad47b31f96cfc208b2f2721ca658fd64de806ed4 Mon Sep 17 00:00:00 2001 From: meejah Date: Tue, 10 Dec 2024 11:57:46 -0700 Subject: [PATCH 5/5] whitespace --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba04c5c..270648a 100644 --- a/README.md +++ b/README.md @@ -80,7 +80,7 @@ Dockerfile content: ```dockerfile FROM python:3.11 RUN pip install magic-wormhole-mailbox-server -CMD [ "twist", "wormhole-mailbox","--usage-db=usage.sqlite" ] +CMD [ "twist", "wormhole-mailbox","--usage-db=usage.sqlite" ] ``` > Note: This will be running as root, you should adjust it to be in user space for production.