From 931c837fc5c79b327b06fca3924ff4cc5c776849 Mon Sep 17 00:00:00 2001 From: Bryan Hiestand Date: Sat, 17 Aug 2024 11:13:38 -0700 Subject: [PATCH 1/5] upgrade dependencies to support ubuntu 24.04 --- requirements.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/requirements.txt b/requirements.txt index 8bbafb8..d87cf4a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,9 +1,9 @@ -certifi==2023.11.17 +certifi==2024.7.4 charset-normalizer==3.3.2 -idna==3.6 -python-dotenv==1.0.0 +idna==3.7 +python-dotenv==1.0.1 python-http-client==3.3.7 -requests==2.31.0 -sendgrid==6.10.0 +requests==2.32.3 +sendgrid==6.11.0 starkbank-ecdsa==2.2.0 -urllib3==2.1.0 +urllib3==2.2.2 From f4d3236d467d8407a3423fc418c27ec4e0a87f88 Mon Sep 17 00:00:00 2001 From: Bryan Hiestand Date: Sat, 17 Aug 2024 11:22:37 -0700 Subject: [PATCH 2/5] add CI workflow --- .github/workflows/ci.yml | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .github/workflows/ci.yml diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml new file mode 100644 index 0000000..d45ce9d --- /dev/null +++ b/.github/workflows/ci.yml @@ -0,0 +1,31 @@ +name: CI - Test Install Requirements + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + test-install: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest] + python-version: [3.10, 3.9, 3.8] + + steps: + - name: Checkout code + uses: actions/checkout@v3 + + - name: Set up Python + uses: actions/setup-python@v4 + with: + python-version: ${{ matrix.python-version }} + + - name: Install dependencies + run: | + python -m pip install --upgrade pip + pip install -r requirements.txt From 5c1cd278acae608947384684f117ff4c2381a134 Mon Sep 17 00:00:00 2001 From: Bryan Hiestand Date: Sat, 17 Aug 2024 11:25:36 -0700 Subject: [PATCH 3/5] change python-versions --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d45ce9d..ca8a503 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest] - python-version: [3.10, 3.9, 3.8] + python-version: [3.11, 3.10, 3.9, 3.8] steps: - name: Checkout code From d6d29c5f7056425a1f89f8c6ddd9988639a4e2e4 Mon Sep 17 00:00:00 2001 From: Bryan Hiestand Date: Sat, 17 Aug 2024 11:29:23 -0700 Subject: [PATCH 4/5] stringify python-version --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index ca8a503..f800710 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ jobs: strategy: matrix: os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest] - python-version: [3.11, 3.10, 3.9, 3.8] + python-version: ["3.11", "3.10", "3.9"] steps: - name: Checkout code From 20e686f64bb4fc32aa88e75025c501a88d396ac9 Mon Sep 17 00:00:00 2001 From: Bryan Hiestand Date: Sat, 17 Aug 2024 11:37:08 -0700 Subject: [PATCH 5/5] remove support for ubuntu 18.04 --- .github/workflows/ci.yml | 2 +- README.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f800710..b1f199b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -13,7 +13,7 @@ jobs: runs-on: ${{ matrix.os }} strategy: matrix: - os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04, macos-latest, windows-latest] + os: [ubuntu-latest, ubuntu-22.04, ubuntu-20.04, macos-latest, windows-latest] python-version: ["3.11", "3.10", "3.9"] steps: diff --git a/README.md b/README.md index 0e3e4e6..19c0d65 100644 --- a/README.md +++ b/README.md @@ -21,8 +21,7 @@ as seen. Optionally downloads comics to ./comics/ ## Dependencies ## * python3 -* MacOS or Linux (not tested on Windows) -* see contents of requirements.txt +* MacOS or Ubuntu (tested on 20.04-24.04) ## Limitations ##