Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit c55ad0f

Browse files
dependabot[bot]Jonas Bogenberger
andauthored
Bump gitpython from 3.1.35 to 3.1.37 (#36)
* 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](gitpython-developers/GitPython@3.1.35...3.1.37) --- updated-dependencies: - dependency-name: gitpython dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com> * Fix python version to 3.11 and update nuitka to 1.8.5 * Fix python version to 3.11 in windows build job * Move dependency installation before tests to prepare for update to Python 3.12 * Fixing build-windows * Update setup-mingw action * Use alternative branch for github action setup-mingw --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Jonas Bogenberger <bogenberger@cqse.eu>
1 parent e7633cb commit c55ad0f

2 files changed

Lines changed: 10 additions & 7 deletions

File tree

.github/workflows/actions.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,15 +16,16 @@ jobs:
1616
- name: Setup Python
1717
uses: actions/setup-python@v4.3.0
1818
with:
19-
python-version: '3.x'
19+
python-version: '3.11'
2020
architecture: 'x64'
21+
- name: Install dependencies
22+
run: pip install .
2123
- name: Run test
2224
run: python setup.py test
2325
# we do not use the available GitHub action as that does not support building
2426
# entrypoints that are not located in the root folder of the repo at the moment
2527
- name: Create binary
2628
run: |
27-
pip install .
2829
python -m nuitka --assume-yes-for-downloads --standalone --onefile --linux-onefile-icon=/usr/share/pixmaps/python3.xpm teamscale_precommit_client/precommit_client.py
2930
mv precommit_client.bin teamscale-cli
3031
- name: 'Upload Artifact'
@@ -43,19 +44,21 @@ jobs:
4344
- name: Setup Python
4445
uses: actions/setup-python@v4.3.0
4546
with:
46-
python-version: '3.x'
47+
python-version: '3.11'
4748
architecture: 'x64'
49+
- name: Install dependencies
50+
run: pip install .
4851
- name: Run test
4952
run: python setup.py test
5053
- name: Set up MinGW
51-
uses: egor-tensin/setup-mingw@v2
54+
# as long as the following pull request is not merged, we need to use its branch instead of the official release.
55+
uses: e-t-l/setup-mingw@patch-1 #official release: egor-tensin/setup-mingw@v2.2.0
5256
with:
5357
platform: x64
5458
# We do not use --onefile for Windows builds as unpacking the exe to a temp directory
5559
# is _super_ slow on Windows and performance is key for precommit
5660
- name: Create binary
5761
run: |
58-
pip install .
5962
python -m nuitka --assume-yes-for-downloads --mingw64 --standalone teamscale_precommit_client/precommit_client.py
6063
mv ./precommit_client.dist ./teamscale-cli
6164
mv ./teamscale-cli/precommit_client.exe ./teamscale-cli/teamscale-cli.exe

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,12 +21,12 @@
2121
},
2222
install_requires=[
2323
'teamscale-client==7.1.1',
24-
'gitpython==3.1.35',
24+
'gitpython==3.1.37',
2525

2626
'gitdb2==4.0.2',
2727

2828
# Required to compile to a native binary
29-
'nuitka==1.8.2'
29+
'nuitka==1.8.5'
3030
],
3131
tests_require=[
3232
'teamscale-client',

0 commit comments

Comments
 (0)