From 08b1ef5a1dec95ce9b9002f3319a8619b2f6b9ae Mon Sep 17 00:00:00 2001 From: eric vz Date: Fri, 25 Oct 2024 07:12:58 -0500 Subject: [PATCH] Dependency updates 2024-10-24 (#169) * Bump python from 3.11-bookworm to 3.13-bookworm Bumps python from 3.11-bookworm to 3.13-bookworm. --- updated-dependencies: - dependency-name: python dependency-type: direct:production ... Signed-off-by: dependabot[bot] * Bump docker/login-action from 2 to 3 Bumps [docker/login-action](https://github.com/docker/login-action) from 2 to 3. - [Release notes](https://github.com/docker/login-action/releases) - [Commits](https://github.com/docker/login-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/login-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump docker/setup-qemu-action from 2 to 3 Bumps [docker/setup-qemu-action](https://github.com/docker/setup-qemu-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-qemu-action/releases) - [Commits](https://github.com/docker/setup-qemu-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/setup-qemu-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump actions/checkout from 3 to 4 Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v3...v4) --- updated-dependencies: - dependency-name: actions/checkout dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump docker/build-push-action from 4 to 6 Bumps [docker/build-push-action](https://github.com/docker/build-push-action) from 4 to 6. - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/v4...v6) --- updated-dependencies: - dependency-name: docker/build-push-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * Bump docker/setup-buildx-action from 2 to 3 Bumps [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) from 2 to 3. - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/v2...v3) --- updated-dependencies: - dependency-name: docker/setup-buildx-action dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] * don't try to build and push dependabot commits * update python dependencies --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: eric vz --- .github/workflows/build-to-dockerhub.yml | 39 +++++++++++++----------- Dockerfile | 2 +- requirements.txt | 15 ++++----- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/.github/workflows/build-to-dockerhub.yml b/.github/workflows/build-to-dockerhub.yml index 2920953..f88d908 100644 --- a/.github/workflows/build-to-dockerhub.yml +++ b/.github/workflows/build-to-dockerhub.yml @@ -7,15 +7,18 @@ on: tags: - "v*.*.*" + + + jobs: - docker: + docker-build-and-push: runs-on: ubuntu-latest + if: ${{ github.actor != 'dependabot[bot]' }} steps: - - - name: Checkout - uses: actions/checkout@v3 - - - name: Docker meta + - name: Checkout + uses: actions/checkout@v4 + + - name: Docker meta id: meta uses: docker/metadata-action@v4 with: @@ -28,22 +31,22 @@ jobs: type=semver,pattern={{version}} type=semver,pattern={{major}}.{{minor}} type=semver,pattern={{major}} - - - name: Set up QEMU - uses: docker/setup-qemu-action@v2 - - - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 - - - name: Login to Docker Hub + + - name: Set up QEMU + uses: docker/setup-qemu-action@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + + - name: Login to Docker Hub if: github.event_name != 'pull_request' - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USERNAME }} password: ${{ secrets.DOCKERHUB_TOKEN }} - - - name: Build and push - uses: docker/build-push-action@v4 + + - name: Build and push + uses: docker/build-push-action@v6 with: context: . push: ${{ github.event_name != 'pull_request' }} diff --git a/Dockerfile b/Dockerfile index a261e1f..b620628 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.11-bookworm +FROM python:3.13-bookworm WORKDIR /app COPY requirements.txt . diff --git a/requirements.txt b/requirements.txt index 5a419f1..e021f80 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,15 +1,16 @@ -aiohappyeyeballs==2.3.7 -aiohttp==3.10.4 +aiohappyeyeballs==2.4.3 +aiohttp==3.10.10 aiosignal==1.3.1 async-timeout==4.0.3 attrs==24.2.0 -charset-normalizer==3.3.2 +charset-normalizer==3.4.0 discord.py==2.4.0 docopt==0.6.2 -frozenlist==1.4.1 -idna==3.7 +frozenlist==1.5.0 +idna==3.10 irc3==1.1.10 -multidict==6.0.5 +multidict==6.1.0 +propcache==0.2.0 venusian==3.1.0 -yarl==1.9.4 +yarl==1.16.0 zstandard==0.23.0