From 51c90a445dccd9b45883a49eabd381683299a636 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 22 May 2024 19:12:56 +0000 Subject: [PATCH 01/18] chore(deps): bump requests from 2.31.0 to 2.32.2 Bumps [requests](https://github.com/psf/requests) from 2.31.0 to 2.32.2. - [Release notes](https://github.com/psf/requests/releases) - [Changelog](https://github.com/psf/requests/blob/main/HISTORY.md) - [Commits](https://github.com/psf/requests/compare/v2.31.0...v2.32.2) --- updated-dependencies: - dependency-name: requests dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 89e97a6..ca72f45 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ html2text==2024.2.26 mail-parser==3.15.0 -requests==2.31.0 +requests==2.32.2 sentry-sdk==1.43.0 ipdb==0.13.13 html5lib==1.1 From 82a642bec296ba1295247c9da1a4e75eb7ff7dce Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 10:01:12 +0000 Subject: [PATCH 02/18] Add renovate.json --- renovate.json | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 renovate.json diff --git a/renovate.json b/renovate.json new file mode 100644 index 0000000..5db72dd --- /dev/null +++ b/renovate.json @@ -0,0 +1,6 @@ +{ + "$schema": "https://docs.renovatebot.com/renovate-schema.json", + "extends": [ + "config:recommended" + ] +} From 167f2529e56bbd1eadc9b1643a2d696a3a899bd0 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 10:04:49 +0000 Subject: [PATCH 03/18] chore(deps): update dependency flask to v3.0.3 --- mock/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mock/requirements.txt b/mock/requirements.txt index 2b0c9e3..95fef4e 100644 --- a/mock/requirements.txt +++ b/mock/requirements.txt @@ -1 +1 @@ -Flask==3.0.2 +Flask==3.0.3 From abd70c3d5a0dd6dbd0ebf0d79885ec4259fc466e Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 10:04:52 +0000 Subject: [PATCH 04/18] chore(deps): update dependency lxml to v5.2.2 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index ca72f45..15ee8fe 100644 --- a/requirements.txt +++ b/requirements.txt @@ -4,5 +4,5 @@ requests==2.32.2 sentry-sdk==1.43.0 ipdb==0.13.13 html5lib==1.1 -lxml==5.2.1 +lxml==5.2.2 cssselect==1.2.0 \ No newline at end of file From a99bf02aadaaeb3944026f8c3a35ed60b46da36c Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:07:58 +0000 Subject: [PATCH 05/18] chore(deps): update dependency pre-commit to v3.7.1 --- requirements.dev.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.dev.txt b/requirements.dev.txt index 6837283..a93b8c1 100644 --- a/requirements.dev.txt +++ b/requirements.dev.txt @@ -1 +1 @@ -pre-commit==3.7.0 +pre-commit==3.7.1 From 2a2c4ef7d797c6eebfddf01284b8e5f8ffcd0539 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:08:01 +0000 Subject: [PATCH 06/18] chore(deps): update pre-commit/action action to v2.0.3 --- .github/workflows/pre-commit-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-check.yml b/.github/workflows/pre-commit-check.yml index c9528bf..32bda77 100644 --- a/.github/workflows/pre-commit-check.yml +++ b/.github/workflows/pre-commit-check.yml @@ -14,4 +14,4 @@ jobs: steps: - uses: actions/checkout@v3 - name: Run pre-commit hooks - uses: pre-commit/action@v2.0.0 + uses: pre-commit/action@v2.0.3 From 9cdc271886fbd9e2ff751aa556a89dd4d39d0591 Mon Sep 17 00:00:00 2001 From: PiotrIw Date: Mon, 27 May 2024 13:35:38 +0000 Subject: [PATCH 07/18] feat: use python 3.12 --- Dockerfile | 3 ++- Dockerfile.production | 3 ++- pyproject.toml | 4 ++-- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7129417..c8d1a9e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim as build +FROM python:3.12-slim as build LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl" WORKDIR /usr/src/app @@ -13,6 +13,7 @@ RUN apt-get update \ && pip install --no-cache-dir -r requirements.dev.txt \ && apt-get remove -y g++ && apt-get autoremove -y ENV PYTHONUNBUFFERED=1 +RUN git config --global --add safe.directory /usr/src/app COPY . . # Testing diff --git a/Dockerfile.production b/Dockerfile.production index c0c8e57..6a115ac 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -1,4 +1,4 @@ -FROM python:3.10-slim as build +FROM python:3.12-slim as build LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl" WORKDIR /usr/src/app @@ -11,5 +11,6 @@ RUN apt-get update \ && pip install --no-cache-dir -r requirements.txt \ && apt-get remove -y g++ && apt-get autoremove -y ENV PYTHONUNBUFFERED=1 +RUN git config --global --add safe.directory /usr/src/app COPY . . CMD [ "python", "./daemon.py" ] diff --git a/pyproject.toml b/pyproject.toml index 1cb1e3f..fd83f30 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,10 +1,10 @@ [tool.black] line-length = 88 -target-version = ['py310'] +target-version = ['py312'] exclude = ''' /( node_modules | docs )/ -''' \ No newline at end of file +''' From 10ede9e3ab43980ba6f9320334583785a7b63e1f Mon Sep 17 00:00:00 2001 From: PiotrIw Date: Mon, 27 May 2024 13:36:29 +0000 Subject: [PATCH 08/18] chore: version bumpup --- version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.py b/version.py index 1cd440f..00ca24e 100644 --- a/version.py +++ b/version.py @@ -1,4 +1,4 @@ -__version__ = "1.1.0" +__version__ = "1.1.1" if __name__ == "__main__": print(f"v{__version__}") From d3f59c9f5d93f4608f1b505c075d9a5c0759fa7d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:39:55 +0000 Subject: [PATCH 09/18] chore(deps): update dependency sentry-sdk to v1.45.0 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 15ee8fe..487158d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ html2text==2024.2.26 mail-parser==3.15.0 requests==2.32.2 -sentry-sdk==1.43.0 +sentry-sdk==1.45.0 ipdb==0.13.13 html5lib==1.1 lxml==5.2.2 From a2fdf865b05c904fdd1b7a0bdf0afa0a08509a8b Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:42:12 +0000 Subject: [PATCH 10/18] chore(deps): update python docker tag to v3.12 --- Dockerfile | 2 +- Dockerfile.production | 2 +- mock/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7129417..36f7500 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim as build +FROM python:3.12-slim as build LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl" WORKDIR /usr/src/app diff --git a/Dockerfile.production b/Dockerfile.production index c0c8e57..289b577 100644 --- a/Dockerfile.production +++ b/Dockerfile.production @@ -1,4 +1,4 @@ -FROM python:3.10-slim as build +FROM python:3.12-slim as build LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl" WORKDIR /usr/src/app diff --git a/mock/Dockerfile b/mock/Dockerfile index 86e1840..bdc0f32 100644 --- a/mock/Dockerfile +++ b/mock/Dockerfile @@ -1,4 +1,4 @@ -FROM python:3.10-slim +FROM python:3.12-slim LABEL maintainer="adam.dobrawy{at}siecobywatelska.pl" WORKDIR /usr/src/app From 6f7db0445334f1c219e8a07ad1e22bd4b962bf7f Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:42:16 +0000 Subject: [PATCH 11/18] chore(deps): update actions/checkout action to v4 --- .github/workflows/daemon_image_buil_and_push.yml | 2 +- .github/workflows/pre-commit-check.yml | 2 +- .github/workflows/python-app-test.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/daemon_image_buil_and_push.yml b/.github/workflows/daemon_image_buil_and_push.yml index 4dd09a9..cc550bb 100644 --- a/.github/workflows/daemon_image_buil_and_push.yml +++ b/.github/workflows/daemon_image_buil_and_push.yml @@ -15,7 +15,7 @@ jobs: # yamllint enable rule:line-length steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Get version from script id: get_version diff --git a/.github/workflows/pre-commit-check.yml b/.github/workflows/pre-commit-check.yml index 32bda77..424136a 100644 --- a/.github/workflows/pre-commit-check.yml +++ b/.github/workflows/pre-commit-check.yml @@ -12,6 +12,6 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Run pre-commit hooks uses: pre-commit/action@v2.0.3 diff --git a/.github/workflows/python-app-test.yml b/.github/workflows/python-app-test.yml index 1f0d5d1..9ec5817 100644 --- a/.github/workflows/python-app-test.yml +++ b/.github/workflows/python-app-test.yml @@ -12,7 +12,7 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Pull python image run: docker pull python:3.10-slim - name: Build app container From 2dcbf2f316bb59316915e2b2d9036e38ab0a2f61 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:45:34 +0000 Subject: [PATCH 12/18] chore(deps): update dependency sentry-sdk to v2 --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 487158d..dfa873d 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,7 +1,7 @@ html2text==2024.2.26 mail-parser==3.15.0 requests==2.32.2 -sentry-sdk==1.45.0 +sentry-sdk==2.3.1 ipdb==0.13.13 html5lib==1.1 lxml==5.2.2 From db2b29bfb67048d8c60b5631ef6a1f30dc9c4384 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:49:06 +0000 Subject: [PATCH 13/18] chore(deps): update docker/build-push-action action to v5 --- .github/workflows/daemon_image_buil_and_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/daemon_image_buil_and_push.yml b/.github/workflows/daemon_image_buil_and_push.yml index cc550bb..b570a69 100644 --- a/.github/workflows/daemon_image_buil_and_push.yml +++ b/.github/workflows/daemon_image_buil_and_push.yml @@ -49,7 +49,7 @@ jobs: password: ${{ secrets.DOCKER_PAT }} - name: Build and push Docker image - uses: docker/build-push-action@v4 + uses: docker/build-push-action@v5 with: context: . file: ./Dockerfile.production From ecfe6dbe8657cc9508a092d1d81345d5b4c4498d Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:50:43 +0000 Subject: [PATCH 14/18] chore(deps): update docker/login-action action to v3 --- .github/workflows/daemon_image_buil_and_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/daemon_image_buil_and_push.yml b/.github/workflows/daemon_image_buil_and_push.yml index b570a69..18df899 100644 --- a/.github/workflows/daemon_image_buil_and_push.yml +++ b/.github/workflows/daemon_image_buil_and_push.yml @@ -43,7 +43,7 @@ jobs: uses: docker/setup-buildx-action@v2 - name: Login to Docker Hub - uses: docker/login-action@v2 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PAT }} From a3ad9c3bfe2a14ca40242e2199ccea0bb4fa0422 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:52:12 +0000 Subject: [PATCH 15/18] chore(deps): update docker/setup-buildx-action action to v3 --- .github/workflows/daemon_image_buil_and_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/daemon_image_buil_and_push.yml b/.github/workflows/daemon_image_buil_and_push.yml index 18df899..06b1025 100644 --- a/.github/workflows/daemon_image_buil_and_push.yml +++ b/.github/workflows/daemon_image_buil_and_push.yml @@ -40,7 +40,7 @@ jobs: uses: docker/setup-qemu-action@v2 - name: Set up Docker Buildx - uses: docker/setup-buildx-action@v2 + uses: docker/setup-buildx-action@v3 - name: Login to Docker Hub uses: docker/login-action@v3 From 42d13a7e844a57cc752a887f98377e9dca0f86bc Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:53:25 +0000 Subject: [PATCH 16/18] chore(deps): update docker/setup-qemu-action action to v3 --- .github/workflows/daemon_image_buil_and_push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/daemon_image_buil_and_push.yml b/.github/workflows/daemon_image_buil_and_push.yml index 06b1025..3e18c35 100644 --- a/.github/workflows/daemon_image_buil_and_push.yml +++ b/.github/workflows/daemon_image_buil_and_push.yml @@ -37,7 +37,7 @@ jobs: env - name: Set up QEMU - uses: docker/setup-qemu-action@v2 + uses: docker/setup-qemu-action@v3 - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 From a128e3acc3310f7b4262c06379d6040e010a0e05 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Mon, 27 May 2024 13:53:28 +0000 Subject: [PATCH 17/18] chore(deps): update pre-commit/action action to v3 --- .github/workflows/pre-commit-check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pre-commit-check.yml b/.github/workflows/pre-commit-check.yml index 424136a..c0e112b 100644 --- a/.github/workflows/pre-commit-check.yml +++ b/.github/workflows/pre-commit-check.yml @@ -14,4 +14,4 @@ jobs: steps: - uses: actions/checkout@v4 - name: Run pre-commit hooks - uses: pre-commit/action@v2.0.3 + uses: pre-commit/action@v3.0.1 From 442b6e7ebd60e0f78944beb20969ad076385b338 Mon Sep 17 00:00:00 2001 From: PiotrIw Date: Mon, 27 May 2024 16:07:21 +0200 Subject: [PATCH 18/18] fix: version number --- version.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.py b/version.py index 00ca24e..f0d2cbf 100644 --- a/version.py +++ b/version.py @@ -1,4 +1,4 @@ -__version__ = "1.1.1" +__version__ = "1.1.01" if __name__ == "__main__": print(f"v{__version__}")