From a33ff9960d1db82e21e5d57d08dcd9ca0b382699 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jan 2024 01:59:42 +0000 Subject: [PATCH 1/5] Update dependencies --- setup.cfg | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.cfg b/setup.cfg index be79565..b097849 100644 --- a/setup.cfg +++ b/setup.cfg @@ -22,12 +22,12 @@ packages = find: install_requires = click==8.1 click-spinner==0.1.10 - docker==6.1.2 + docker==7.0.0 packaging==21.3 python-dotenv==0.19.1 requests==2.26.0 requests-cache==0.9.1 - tabulate==0.8.9 + tabulate==0.9.0 toml==0.10.2 python_requires = >=3.8 From 8aec1474dcaec4b168d1b2e73acd29f56bb3decc Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jan 2024 07:35:46 +0000 Subject: [PATCH 2/5] Remove unneeded dependency (dotenv) --- setup.cfg | 1 - 1 file changed, 1 deletion(-) diff --git a/setup.cfg b/setup.cfg index b097849..2a67270 100644 --- a/setup.cfg +++ b/setup.cfg @@ -24,7 +24,6 @@ install_requires = click-spinner==0.1.10 docker==7.0.0 packaging==21.3 - python-dotenv==0.19.1 requests==2.26.0 requests-cache==0.9.1 tabulate==0.9.0 From 8857d872851e06704edce858fe862271b2cde269 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jan 2024 00:25:22 +0000 Subject: [PATCH 3/5] Fold pre-commit into dev extras --- README.md | 2 +- setup.cfg | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/README.md b/README.md index 68a24af..47fb216 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ This package follows the Python compatibility and deprecation schedule specified ### Setting up a development environment -To develop this package, first clone it and then install the development dependencies with `pip install -e '.[dev,pre_commit]'`. +To develop this package, first clone it and then install the development dependencies with `pip install -e '.[dev]'`. We recommend to install the [pre-commit](https://pre-commit.com/) hooks to avoid unnecessary iterations when pushing new changes. To install the pre-commit hooks, switch into the repository root directly and execute: ```console diff --git a/setup.cfg b/setup.cfg index 2a67270..46693a6 100644 --- a/setup.cfg +++ b/setup.cfg @@ -38,7 +38,6 @@ console_scripts = dev = bumpver==2023.1129 dunamai==1.19.0 -pre_commit = pre-commit==3.5.0 tests = pytest~=7.4.3 From 51d784332af4890755245c259ce5b79ce56ebf71 Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jan 2024 08:08:26 +0000 Subject: [PATCH 4/5] Bump GH actions --- .github/workflows/ci.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 113a1e6..407a0b5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,10 +15,10 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Set up Python 3.10 + - name: Set up Python uses: actions/setup-python@v4 with: - python-version: '3.10' + python-version: '3.11' - uses: pre-commit/action@v3.0.0 test-package: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3a1ab8b..8e25468 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,7 +35,7 @@ jobs: --outdir dist/ - name: Upload distribution artifact - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v4 with: name: release path: dist/ @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/download-artifact@v2 + - uses: actions/download-artifact@v4 name: Download distribution artifact with: name: release From 2e6b4ee82035830bc0b290a81ce213a4fac9157c Mon Sep 17 00:00:00 2001 From: Daniel Hollas Date: Wed, 24 Jan 2024 09:10:56 +0000 Subject: [PATCH 5/5] Remove pre-commit action --- .github/workflows/ci.yml | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 407a0b5..fc073ed 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -9,22 +9,8 @@ on: jobs: - pre-commit: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v4 - - name: Set up Python - uses: actions/setup-python@v4 - with: - python-version: '3.11' - - uses: pre-commit/action@v3.0.0 - test-package: - needs: [pre-commit] - runs-on: ubuntu-latest timeout-minutes: 15 @@ -65,8 +51,6 @@ jobs: test-installation-with-pipx: - needs: [pre-commit] - runs-on: ubuntu-latest timeout-minutes: 10