Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Bump gitpython from 3.1.35 to 3.1.37 #36

Merged
merged 7 commits into from
Nov 6, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 8 additions & 5 deletions .github/workflows/actions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@ jobs:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.x'
python-version: '3.11'
architecture: 'x64'
- name: Install dependencies
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'
Expand All @@ -43,19 +44,21 @@ jobs:
- name: Setup Python
uses: actions/[email protected]
with:
python-version: '3.x'
python-version: '3.11'
architecture: 'x64'
- name: Install dependencies
run: pip install .
- name: Run test
run: python setup.py test
- name: Set up MinGW
uses: egor-tensin/setup-mingw@v2
# as long as the following pull request is not merged, we need to use its branch instead of the official release.
uses: e-t-l/setup-mingw@patch-1 #official release: egor-tensin/[email protected]
with:
platform: x64
# We do not use --onefile for Windows builds as unpacking the exe to a temp directory
# is _super_ slow on Windows and performance is key for precommit
- name: Create binary
run: |
pip install .
python -m nuitka --assume-yes-for-downloads --mingw64 --standalone teamscale_precommit_client/precommit_client.py
mv ./precommit_client.dist ./teamscale-cli
mv ./teamscale-cli/precommit_client.exe ./teamscale-cli/teamscale-cli.exe
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@
},
install_requires=[
'teamscale-client==7.1.1',
'gitpython==3.1.35',
'gitpython==3.1.37',

'gitdb2==4.0.2',

# Required to compile to a native binary
'nuitka==1.8.2'
'nuitka==1.8.5'
],
tests_require=[
'teamscale-client',
Expand Down