Commit Graph

31 Commits

Author SHA1 Message Date
Adeeb Shihadeh
368947c88c msgq on macOS (#36958)
* msgq on macOS

* clean that up
2025-12-27 16:49:30 -08:00
Adeeb Shihadeh
1391434f54 setup: fix uv install fail (#36839)
* pipefail

* curl retry
2025-12-11 11:22:08 -08:00
Adeeb Shihadeh
4a4f3fce94 rm PYTHONPATH (#35579)
* rm PYTHONPATH

* still need that one for now
2025-06-19 12:36:38 -07:00
Adeeb Shihadeh
17647f99a4 setup: try removing uv update loop 2025-02-02 21:45:13 -08:00
Adeeb Shihadeh
2e0c91c295 uv from brew doesn't have self update 2024-12-24 17:21:34 -08:00
Maxime Desroches
5b0994c53c setup: fix uv (#33975)
* fix

* fix

* fix

* fix
2024-11-09 22:16:41 -08:00
fishnux
3dd127c5ad tools: fix setup for directories with spaces (#33769)
Now handles $DIR with spaces. Also fixes UV_BIN variable
2024-10-13 09:55:06 -07:00
Adeeb Shihadeh
11986ddc7f rerun: update to 0.18 (#33316)
old-commit-hash: 4baf6c1be9
2024-08-16 10:46:26 -07:00
Maxime Desroches
4ece8b6bb1 retry uv with cache (#33297)
try uv with cache
old-commit-hash: 2bc5d2b635
2024-08-14 12:11:39 -07:00
Hoang Bui
83cbd93d3b tools/rerun: new image API for rerun 0.18 (#33186)
* change api for video

* install prerelease 0.18
old-commit-hash: 5909bcde62
2024-08-06 14:22:25 -07:00
Adeeb Shihadeh
1feb6d671a remove pre-commit (explorations) (#33172)
* remove pre-commit (explorations)

* lint.sh

* remove rest

* add to release files

* no source

* 1min is all you need
old-commit-hash: 13511e383c
2024-08-01 22:16:13 -07:00
Maxime Desroches
e34c6db18c don't lock when installing python packages (#33051)
frozen
old-commit-hash: 1e9738131d
2024-07-23 14:52:08 -07:00
Maxime Desroches
bf892f6bcc uv: don't exit if update fails (#32859)
dont exit if fails
old-commit-hash: 66e1810c0d
2024-06-28 03:55:15 +00:00
Maxime Desroches
bc046a3074 retry uv update (#32858)
retry
old-commit-hash: 579b131a6e
2024-06-28 03:29:11 +00:00
Maxime Desroches
43895b3098 uv: don't use cache (#32854)
* no cache

* update
old-commit-hash: a74f794213
2024-06-28 00:47:13 +00:00
Maxime Desroches
a1a0e9e8a0 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
2024-06-28 00:04:05 +00:00
Maxime Desroches
4558fbd824 Remove pyenv (#32786)
* no pyenv

* better

* check poetry

* docker

* syntax

* manual env

* pre-commit

* revert

* format
old-commit-hash: de75372880
2024-06-19 16:55:23 +00:00
royjr
5f0c5f5616 Ubuntu 24.04 fix setup (#32783)
* fix tk-dev

* fix missing pip

* Update tools/install_python_dependencies.sh

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 987b0d9e03
2024-06-18 11:27:28 -07:00
Adeeb Shihadeh
632060c0dc remove .python-version (#32714)
* remove .python-version

* no cp
old-commit-hash: ddfb31f1bf
2024-06-11 16:25:24 -07:00
Adeeb Shihadeh
549bc535cd Revert no pyenv (#32547)
* Revert "`ubuntu_setup`: fix `No module apt_pkg` error when setting up (#32526)"

This reverts commit d850f07acb58e4fc6d530241a31c0917c2b6613e.

* Revert "Removal of pyenv (#32512)"

This reverts commit 41f72d5ca75aab9a9beb3181aca9f177e5a003f8.
old-commit-hash: 1eb938b8e8
2024-05-26 21:21:50 -07:00
Mauricio Alvarez Leon
f90655a1ff ubuntu_setup: fix No module apt_pkg error when setting up (#32526)
* no apt_pkg fix

* check arch

* fix if

* cleanup

* reorder

* increase shm size for selfdrive tests

* add comment explaining reinstall

* refine
old-commit-hash: f4322666c6
2024-05-24 21:38:23 -07:00
Mauricio Alvarez Leon
e665f05efe Removal of pyenv (#32512)
* initial removal of pyenv

* remove .python-version copy in dockerfile

* successful image build with ppa

* update prompt

* pip install scons

* apt install scons

* finally fix dockerfile to work with venv

* cleanup userflow

* increase memory to 100m

* typos

* wrong variable

* lmao
old-commit-hash: f5752121f8
2024-05-23 07:56:18 -07:00
Mauricio Alvarez Leon
8c69ae5381 update pip/poetry versions (#32289)
old-commit-hash: bbbd510fcc
2024-04-24 19:47:22 -07:00
Jason Young
af9122c799 fix pre-commit install process (#31445)
* fix pre-commit install process

* only install pre-commit from a git repo
old-commit-hash: 991d02ba27
2024-02-14 08:19:20 -08:00
Adeeb Shihadeh
58df021bd7 Update Python packages and pre-commit hooks (#30269)
* Update Python packages and pre-commit hooks

* fix pyqt

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 13bf8c26f3
2023-10-18 20:18:08 -07:00
Kacper Rączy
41fd8b51e7 macOS: generate .pyenvrc during setup (#29698)
* Create .pyenvrc if it does not exist

* Replace source zshrc with pyenvrc

* Remove unnecessary variables if pyenv wasn't installed

* Add check fo PYENV_SHELL

* source instead of eval

* printf instead of echo

* leave previous pyenvrc path to source

* Add newline

* Change shebang

* Dont source the file after setup

* eval virtualenv-init too

* modify comment

* Just unset broken function on macos
old-commit-hash: 39d2517d3d
2023-08-29 16:01:04 -07:00
Kacper Rączy
1d47429f8e Setup cleanup vol. 2 (#29456)
* code from setup cleanup #29419

update ci

update ci

export variables for mac os

check env

what is in the profile script?

install pyenv the same everywhere

temporarily disable brew cache

temporarily disable brew cache

try fixing pyenv virtualenv-init

try this

inject shims path earlier

try alternate install method

switch back to brew install

try         eval "$(pyenv init --path)"

add eval "\$(pyenv init --path)"

* Add local .env file to the cache list

* Change .env paths

* debug line

* order?

* remove .env

* Add .venv to caches

---------

Co-authored-by: Greg Hogan <gregjhogan@gmail.com>
old-commit-hash: 0f7be5b1e6
2023-08-21 13:30:48 -07:00
Greg Hogan
349359d488 venv in code directory (#29452)
put venv in code directory
old-commit-hash: 282fd778aa
2023-08-17 15:43:02 -07:00
Justin Newberry
1988b4805e Revert "setup cleanup (#29419)" (#29451)
This reverts commit bc9c60a3f955bb5b96dc41e6072cab47191f8896.
old-commit-hash: 1944945d9d
2023-08-17 13:23:06 -07:00
Greg Hogan
cce2c732c6 setup cleanup (#29419)
* setup cleanup

* update ci

* update ci

* export variables for mac os

* check env

* what is in the profile script?

* install pyenv the same everywhere

* temporarily disable brew cache

* temporarily disable brew cache

* try fixing pyenv virtualenv-init

* try this

* inject shims path earlier

* try alternate install method

* switch back to brew install

* try         eval "$(pyenv init --path)"

* add eval "\$(pyenv init --path)"
old-commit-hash: ad32816fd6
2023-08-17 08:51:16 -07:00
Adeeb Shihadeh
b3f734283d remove xx dependencies (#29263)
* rm xx deps

* mv that

* fix

* fix a path

* relock

* relock

* update

* update sentry

* update

* revert sentry

* Update lock

* Dummy pip package

* Not needed with poetry

* dont need dummy

---------

Co-authored-by: Bruce Wayne <harald.the.engineer@gmail.com>
old-commit-hash: 0ced56b2ea
2023-08-11 20:05:44 -07:00