Skip to content

Commit

Permalink
Fix setuptools regression (#134)
Browse files Browse the repository at this point in the history
* Fix setuptools regression

See pypa/setuptools#4374

Fixes #133

Updating actions and pyinstaller
  • Loading branch information
erikbosch authored Jul 12, 2024
1 parent 558e7d2 commit 4e53bba
Show file tree
Hide file tree
Showing 7 changed files with 21 additions and 11 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/check-licenses.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,17 +45,19 @@ jobs:
generate-dash: true

- name: Setup Java JDK
- uses: actions/setup-java@v4
uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: '11.0.19'

- name: Run dash
shell: bash
continue-on-error: true
run: |
wget -O dash.jar "https://repo.eclipse.org/content/repositories/dash-licenses/org/eclipse/dash/org.eclipse.dash.licenses/1.0.2/org.eclipse.dash.licenses-1.0.2.jar"
java -jar dash.jar clearlydefined.input -summary DEPENDENCIES
java -jar dash.jar clearlydefined.input -summary DEPENDENCIES > dash.out 2>&1 || true
echo -e "Dash output: \n\`\`\` " >> $GITHUB_STEP_SUMMARY
cat dash.out >> $GITHUB_STEP_SUMMARY
echo -e "\n\`\`\`"
- name: Upload dash input/output as artifacts
uses: actions/upload-artifact@v4
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ jobs:
python3 -m pip install tox-gh-actions
- name: Run Linters
uses: pre-commit/action@v3.0.0
uses: pre-commit/action@v3.0.1

- name: Run the databroker binary
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ jobs:

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
Expand All @@ -67,7 +67,7 @@ jobs:
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 https://git.io/JvXDl
Expand All @@ -81,4 +81,4 @@ jobs:
# make release

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
uses: github/codeql-action/analyze@v3
8 changes: 8 additions & 0 deletions .github/workflows/project-creation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ on:
pull_request:
branches:
- main
# Scheduled build to fetch regressions, if any
schedule:
- cron: "0 4 * * *"

jobs:
check-project-creation:
Expand Down Expand Up @@ -89,6 +92,11 @@ jobs:
CREATE_ARGS="-e ${{ matrix.example }}"
fi
velocitas create -c vapp-core-python $CREATE_ARGS
# Velocitas CLI fetches an older merged/released version of the example
# But we want to check the one in this repository so lets copy it
if [ "${{ matrix.example }}" != "no-example" ]; then
cp -r ../sdk/examples/${{ matrix.example }}/* ../app/app
fi
- name: Install dependencies
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .project-creation/.skeleton/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN /bin/bash -c 'set -ex && \
pip3 install --no-cache-dir scons; \
fi'

RUN pip3 install --no-cache-dir pyinstaller==5.9.0 \
RUN pip3 install --no-cache-dir pyinstaller==6.9 \
&& pip3 install --no-cache-dir patchelf==0.17.0.0 \
&& pip3 install --no-cache-dir staticx \
&& pip3 install --no-cache-dir -r ./workspace/app/requirements.txt \
Expand Down
4 changes: 2 additions & 2 deletions NOTICE-3RD-PARTY-CONTENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
|actions/upload-artifact|v4|MIT License|
|danielpalme/ReportGenerator-GitHub-Action|5.2.0|Apache License 2.0|
|devcontainers/ci|v0.3|MIT License|
|github/codeql-action|v2|MIT License|
|github/codeql-action|v3|MIT License|
|mikepenz/action-junit-report|v4|Apache License 2.0|
|pre-commit/action|v3.0.0|MIT License|
|pre-commit/action|v3.0.1|MIT License|
|softprops/action-gh-release|v1|MIT License|
2 changes: 1 addition & 1 deletion examples/seat-adjuster/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ RUN /bin/bash -c 'set -ex && \
pip3 install --no-cache-dir scons; \
fi'

RUN pip3 install --no-cache-dir pyinstaller==5.9.0 \
RUN pip3 install --no-cache-dir pyinstaller==6.9 \
&& pip3 install --no-cache-dir patchelf==0.17.0.0 \
&& pip3 install --no-cache-dir staticx \
&& pip3 install --no-cache-dir -r ./workspace/app/requirements.txt \
Expand Down

0 comments on commit 4e53bba

Please sign in to comment.