From cc85406e536e13e9dfb245a279092bb3915f21e6 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 31 Oct 2023 14:09:36 +0000 Subject: [PATCH 1/9] Bump gitpython from 3.1.35 to 3.1.37 Bumps [gitpython](https://github.com/gitpython-developers/GitPython) from 3.1.35 to 3.1.37. - [Release notes](https://github.com/gitpython-developers/GitPython/releases) - [Changelog](https://github.com/gitpython-developers/GitPython/blob/main/CHANGES) - [Commits](https://github.com/gitpython-developers/GitPython/compare/3.1.35...3.1.37) --- updated-dependencies: - dependency-name: gitpython dependency-type: direct:production ... Signed-off-by: dependabot[bot] --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 1a8b945..2828756 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ }, install_requires=[ 'teamscale-client==7.1.1', - 'gitpython==3.1.35', + 'gitpython==3.1.37', 'gitdb2==4.0.2', From c50bf6cc8d0c9ad5dd20a98f006e1f64c5460fc2 Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Tue, 31 Oct 2023 17:21:06 +0100 Subject: [PATCH 2/9] Update github action setup-python to version 4.7.1 --- .github/workflows/actions.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 0263460..8a53310 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v4.3.0 + uses: actions/setup-python@v4.7.1 with: python-version: '3.x' architecture: 'x64' @@ -41,7 +41,7 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup Python - uses: actions/setup-python@v4.3.0 + uses: actions/setup-python@v4.7.1 with: python-version: '3.x' architecture: 'x64' From 05c3fa580a3fe5ad1e8c54f372ac9ef616223cad Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Thu, 2 Nov 2023 09:19:54 +0100 Subject: [PATCH 3/9] Include setuptools in required installs. --- setup.py | 1 + 1 file changed, 1 insertion(+) diff --git a/setup.py b/setup.py index 2828756..71be433 100644 --- a/setup.py +++ b/setup.py @@ -20,6 +20,7 @@ ] }, install_requires=[ + 'setuptools==68.2.2', 'teamscale-client==7.1.1', 'gitpython==3.1.37', From a1a2b70f645f8d5e03ae4ac590cfe811451e6cd7 Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Thu, 2 Nov 2023 09:29:12 +0100 Subject: [PATCH 4/9] Introduce Job Install setuptools --- .github/workflows/actions.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 8a53310..32f8654 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -18,6 +18,9 @@ jobs: with: python-version: '3.x' architecture: 'x64' + cache: 'pip' + - name: Install setuptools + run: python -m pip install setuptools - name: Run test run: python setup.py test # we do not use the available GitHub action as that does not support building From 6b173a7a178e74746b0d3d5cf4193940ccf9bbdb Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Thu, 2 Nov 2023 09:31:54 +0100 Subject: [PATCH 5/9] remove pip dependency caching for now --- .github/workflows/actions.yml | 8 -------- 1 file changed, 8 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 32f8654..ebc58c7 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -18,14 +18,6 @@ jobs: with: python-version: '3.x' architecture: 'x64' - cache: 'pip' - - name: Install setuptools - run: python -m pip install setuptools - - name: Run test - run: python setup.py test - # we do not use the available GitHub action as that does not support building - # entrypoints that are not located in the root folder of the repo at the moment - - name: Create binary run: | pip install . python -m nuitka --assume-yes-for-downloads --standalone --onefile --linux-onefile-icon=/usr/share/pixmaps/python3.xpm teamscale_precommit_client/precommit_client.py From e4e695e7671d4f786edfa589f2f7c31308a3a326 Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Thu, 2 Nov 2023 09:35:19 +0100 Subject: [PATCH 6/9] fix github actions --- .github/workflows/actions.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index ebc58c7..8a6b09f 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -18,6 +18,13 @@ jobs: with: python-version: '3.x' architecture: 'x64' + - name: Install setuptools + run: python -m pip install setuptools + - name: Run test + run: python setup.py test + # we do not use the available GitHub action as that does not support building + # entrypoints that are not located in the root folder of the repo at the moment + - name: Create binary run: | pip install . python -m nuitka --assume-yes-for-downloads --standalone --onefile --linux-onefile-icon=/usr/share/pixmaps/python3.xpm teamscale_precommit_client/precommit_client.py From 378e8b6daa68bf03a0de62c0eb29c1b80517dfca Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Thu, 2 Nov 2023 09:46:19 +0100 Subject: [PATCH 7/9] fix github action again --- .github/workflows/actions.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 8a6b09f..c0b334b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -18,15 +18,14 @@ jobs: with: python-version: '3.x' architecture: 'x64' - - name: Install setuptools - run: python -m pip install setuptools + - name: Install packages + run: pip install . - name: Run test run: python setup.py test # we do not use the available GitHub action as that does not support building # entrypoints that are not located in the root folder of the repo at the moment - name: Create binary run: | - pip install . python -m nuitka --assume-yes-for-downloads --standalone --onefile --linux-onefile-icon=/usr/share/pixmaps/python3.xpm teamscale_precommit_client/precommit_client.py mv precommit_client.bin teamscale-cli - name: 'Upload Artifact' From 709ef9d22ddac72b1efae9e3bdb0edd826113125 Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Thu, 2 Nov 2023 10:04:28 +0100 Subject: [PATCH 8/9] Update nuitka to 1.8.5 --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 71be433..7cee291 100644 --- a/setup.py +++ b/setup.py @@ -27,7 +27,7 @@ 'gitdb2==4.0.2', # Required to compile to a native binary - 'nuitka==1.8.2' + 'nuitka==1.8.5' ], tests_require=[ 'teamscale-client', From bd8ab12281cc46f97b42f726557044d10334661f Mon Sep 17 00:00:00 2001 From: Jonas Bogenberger Date: Thu, 2 Nov 2023 10:06:33 +0100 Subject: [PATCH 9/9] Fix python version to 3.11 --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index c0b334b..d50f529 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -16,7 +16,7 @@ jobs: - name: Setup Python uses: actions/setup-python@v4.7.1 with: - python-version: '3.x' + python-version: '3.11' architecture: 'x64' - name: Install packages run: pip install .