Skip to content

setup: Upgrade the base Python version from 3.11.3 to 3.11.4 #16

setup: Upgrade the base Python version from 3.11.3 to 3.11.4

setup: Upgrade the base Python version from 3.11.3 to 3.11.4 #16

name: Check if a precompiled binary file exists in dependencies
on:
pull_request:
paths:
python.lock
jobs:
check-requirement:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check if a precompiled binary file exists in dependencies
run: |
cat python.lock | grep -v '^//' | jq -r '.locked_resolves[].locked_requirements[]
| select(any(.artifacts[].url; endswith(".whl")) | not) | .project_name' >> packages-missing-precompiled-wheels.txt
- run: |
if [ -s packages-missing-precompiled-wheels.txt ]; then
echo "There are some dependencies that do not have precompiled binary files."
echo "Please check the following dependencies:"
cat packages-missing-precompiled-wheels.txt
exit 1
fi