diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 0263460..d50f529 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -14,17 +14,18 @@ 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' + python-version: '3.11' architecture: 'x64' + - 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' @@ -41,7 +42,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' diff --git a/setup.py b/setup.py index 1a8b945..7cee291 100644 --- a/setup.py +++ b/setup.py @@ -20,13 +20,14 @@ ] }, install_requires=[ + 'setuptools==68.2.2', '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',