mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-02-18 23:33:58 +08:00
switch to uv (#32853)
* switch to uv
* pin back numpy
* remove lock
* try without cache
* test with no cache
* no cache for all
* debug
* remove debug
* remove pygame dep
* Update README.md
* remove lower bound
* update repo maintenance job
* upgradable
* repo maintenance
* copy poetry api
* build system
* unpin pygame
* readd cache
* readd cache
* basic command
* lower delay
* macos
* fix authors
* macos fix
* use uv
* preview
* other way
* new metadrive
* uv sync
* cp lock in docker
* fix docker
* use hatchling
* fix devcontainer
* fix container
* path
* uv run
* cleanup
* pre-commit
* format
* release_file
old-commit-hash: 12d5afba73
This commit is contained in:
5
.github/workflows/selfdrive_tests.yaml
vendored
5
.github/workflows/selfdrive_tests.yaml
vendored
@@ -62,7 +62,6 @@ jobs:
|
||||
cd $GITHUB_WORKSPACE
|
||||
cp .pre-commit-config.yaml $STRIPPED_DIR
|
||||
cp pyproject.toml $STRIPPED_DIR
|
||||
cp poetry.lock $STRIPPED_DIR
|
||||
cd $STRIPPED_DIR
|
||||
${{ env.RUN }} "unset PYTHONWARNINGS && SKIP=check-added-large-files,check-hooks-apply,check-useless-excludes pre-commit run --all && chmod -R 777 /tmp/pre-commit"
|
||||
|
||||
@@ -86,7 +85,7 @@ jobs:
|
||||
docker_hub_pat: ${{ secrets.DOCKER_HUB_PAT }}
|
||||
- uses: ./.github/workflows/compile-openpilot
|
||||
timeout-minutes: ${{ ((steps.restore-scons-cache.outputs.cache-hit == 'true') && 15 || 30) }} # allow more time when we missed the scons cache
|
||||
|
||||
|
||||
build_mac:
|
||||
name: build macos
|
||||
runs-on: macos-latest
|
||||
@@ -102,7 +101,7 @@ jobs:
|
||||
# package install has DeprecationWarnings
|
||||
PYTHONWARNINGS: default
|
||||
- name: Test openpilot environment
|
||||
run: poetry run scons -h
|
||||
run: . .venv/bin/activate && scons -h
|
||||
|
||||
static_analysis:
|
||||
name: static analysis
|
||||
|
||||
Reference in New Issue
Block a user