From 56488d52d18f8d2f44565ab72b5e42f27373c434 Mon Sep 17 00:00:00 2001 From: Leonardo Giordani Date: Fri, 23 Dec 2022 10:28:07 +0000 Subject: [PATCH 1/3] Removed Python 3.6 --- .github/workflows/main.yml | 2 +- pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index c21809a..1017d0d 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.6, 3.7, 3.8, 3.9] + python-version: [3.7, 3.8, 3.9] steps: - uses: actions/checkout@v3 diff --git a/pyproject.toml b/pyproject.toml index f21d8ae..86d8b82 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -28,9 +28,9 @@ classifiers = [ "Issue Tracker" = "https://github.com/pelican-plugins/share-post/issues" [tool.poetry.dependencies] -python = ">=3.6.2,<4.0" +python = ">=3.7,<4.0" pelican = ">=4.5" -markdown = {version = ">=3.2", optional = true} +markdown = {version = ">=3.2.2", optional = true} beautifulsoup4 = "^4.9.3" [tool.poetry.dev-dependencies] From ab3cd4c3dd0d026fc0c829eb1d6674721a2fb1bd Mon Sep 17 00:00:00 2001 From: Leonardo Giordani Date: Fri, 23 Dec 2022 10:35:41 +0000 Subject: [PATCH 2/3] Fixed Black version --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 86d8b82..7797840 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -34,7 +34,7 @@ markdown = {version = ">=3.2.2", optional = true} beautifulsoup4 = "^4.9.3" [tool.poetry.dev-dependencies] -black = {version = "^21.4b2", allow-prereleases = true} +black = {version = ">=22.3.0", allow-prereleases = true} flake8 = "^3.9" flake8-black = "^0.2.0" invoke = "^1.3" From b46226f6ce332c2f50ea53cfca5534760b386b1c Mon Sep 17 00:00:00 2001 From: Leonardo Giordani Date: Fri, 23 Dec 2022 10:40:29 +0000 Subject: [PATCH 3/3] Trying to fix the CI tasks --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 1017d0d..1bafead 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -56,7 +56,7 @@ jobs: - name: Set up Python uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "3.9" - name: Set Poetry cache uses: actions/cache@v3 id: poetry-cache @@ -87,7 +87,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4 with: - python-version: "3.x" + python-version: "3.9" - name: Check release id: check_release run: |