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: 4baf6c1be9b4e53ea0a6373d2ddfca4ba853f9f1
2024-08-16 10:46:26 -07:00
Maxime Desroches
4ece8b6bb1 retry uv with cache (#33297)
try uv with cache
old-commit-hash: 2bc5d2b6351d82e3cb44379c7592e65bdd56c209
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: 5909bcde62d0a007669098ad9f650cf67c09f174
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: 13511e383c1679d17843e8cbf1bcb0a926f74c35
2024-08-01 22:16:13 -07:00
Maxime Desroches
e34c6db18c don't lock when installing python packages (#33051)
frozen
old-commit-hash: 1e9738131d7737cbc9af161cf829c83c67577970
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: 66e1810c0de88f4b927b7a46d12ba96304052ace
2024-06-28 03:55:15 +00:00
Maxime Desroches
bc046a3074 retry uv update (#32858)
retry
old-commit-hash: 579b131a6efe67463d5b2d06abe743302c9cdc08
2024-06-28 03:29:11 +00:00
Maxime Desroches
43895b3098 uv: don't use cache (#32854)
* no cache

* update
old-commit-hash: a74f79421360b62840624bb84215981b51c6858d
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: 12d5afba731b193b6992304c9e31b87603602ae6
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: de75372880cb354df2bcb2e0f36e769213bf7072
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: 987b0d9e030ec2191e422e7ca8d059b8a02ef08a
2024-06-18 11:27:28 -07:00
Adeeb Shihadeh
632060c0dc remove .python-version (#32714)
* remove .python-version

* no cp
old-commit-hash: ddfb31f1bfa241aee1c250f5da5f2d364c51f610
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: 1eb938b8e81a3321adf1064e8ef348b8c7073d4c
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: f4322666c6adc4dd2da569f483f6e108f18fe32a
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: f5752121f8a2029050c63cfa04f2533901ae4f3a
2024-05-23 07:56:18 -07:00
Mauricio Alvarez Leon
8c69ae5381 update pip/poetry versions (#32289)
old-commit-hash: bbbd510fcc37b507010c9499edbb3622574dcf4b
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: 991d02ba27cf84e7140aedd5ca4173ffe5cb0d58
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: 13bf8c26f35073cdadc7d3d5e38e06c776a362f1
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: 39d2517d3d9de8175aa2c95491b043580e28500f
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: 0f7be5b1e6efa04c59ce2a45afacd650b2e4d417
2023-08-21 13:30:48 -07:00
Greg Hogan
349359d488 venv in code directory (#29452)
put venv in code directory
old-commit-hash: 282fd778aa303542d5752b0edc3e40db8de10696
2023-08-17 15:43:02 -07:00
Justin Newberry
1988b4805e Revert "setup cleanup (#29419)" (#29451)
This reverts commit bc9c60a3f955bb5b96dc41e6072cab47191f8896.
old-commit-hash: 1944945d9dfee6f42a875b119a5cf60daf8ade09
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: ad32816fd6bdd744e7f596209822707494d3ba5e
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: 0ced56b2ea7e0800f309c4e77d9a78bb90d89fb6
2023-08-11 20:05:44 -07:00