From 4afa664de2b67eb0cf24d78b0dc64893a7d5dbfa Mon Sep 17 00:00:00 2001 From: pseusys Date: Fri, 17 Feb 2023 22:45:25 +0100 Subject: [PATCH] required python version updated to 3.8 (3.6 is pretty old though) --- .github/workflows/codestyle.yml | 6 +++--- CONTRIBUTING.md | 2 +- Makefile | 2 +- requirements.txt | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml index bc13463..174ca6c 100644 --- a/.github/workflows/codestyle.yml +++ b/.github/workflows/codestyle.yml @@ -6,16 +6,16 @@ on: jobs: lint: name: Run codestyle check - runs-on: ubuntu-20.04 + runs-on: ubuntu-latest steps: - name: Checkout 🛎️ uses: actions/checkout@v3 - - name: Setup Python 3.6 🐍 + - name: Setup Python 3.8 🐍 uses: actions/setup-python@v3 with: - python-version: 3.6.7 + python-version: 3.8 - name: Install Dependencies 📥 run: pip install -r requirements.txt diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 76ea883..4489c75 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -21,7 +21,7 @@ Once you've worked on your feature/bugfix etc, you can open a pull request using ### Setting up development environment -This project is written in Python, requires **Python 3.6 or higher**, and uses `pip` . +This project is written in Python, requires **Python 3.8 or higher**, and uses `pip` . To set it up, just fork + clone it, install all the dependencies: diff --git a/Makefile b/Makefile index 88ec394..baa64a9 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ help: @ # Print help commands echo "Welcome to 'waka-readme-stats' GitHub Actions!" echo "The action can be tested locally with: 'make run'." - echo "NB! For local testing Python version 3.6+ is required." + echo "NB! For local testing Python version 3.8+ is required." echo "The action image can be built locally with: 'make container'." echo "NB! For local container building Docker version 20+ is required." echo "The action directory and image can be cleaned with: 'make clean'." diff --git a/requirements.txt b/requirements.txt index 1ce01ef..c191e13 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ # GitHub integration modules: -PyGithub~=1.56 +PyGithub~=1.57 # Markdown visualization modules: pytz~=2022.7