* 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
* 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>
* Try poetry
* Remove casadi for now
* Update docker
* Copy pipfiles
* add casadi back
* Too many slashes
* New poetry api
* Install system
* Try again
* No more pipenv
* new dependencies
* updates
* poetry 1.2.1, install dev dependencies
* keep install pipenv for xx for now?
* add pre-commit checks for poetry
* poetry lock is too slow
* update pip
* migrate to poetry groups
* update lockfile
* don't need to specify dev group unless it is made optional
* always install poetry
* set POETRY_VIRTUALENVS_CREATE instead, and use pipenv for xx
* use env for docs docker image
* alphabetical
* poetry 1.2.2
* add dev dependencies for typing
added in 4e310b80
* remove constraint
* fix PIPENV_SYSTEM
* remove constraint
* don't need this here
* bump
* bump pipenv
adds support for installing local pyprojects (can add openpilot as dependency of xx)
* README improvements
* probably not necessary
* bump pip
* maybe not necessary?
* revert
* don't install openpilot itself into the virtual env
* remove PySide2 and shiboken2
reverts c6b749fb96
* remove Pipenv, add xx dependencies, sync system python
* add pipenv as xx dep
* semver package constraints, use old lockfile versions
* fix casadi
* remove whitespace
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* disable poetry cache
* cleanup
* prefer config file
Co-authored-by: Cameron Clough <cameronjclough@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
* rework mac_setup.sh
* ignore casadi and onnx runtime in pipfile for Darwin
* remove rust stuff
* build and install casadi
* add wget
* explicit python3. dont do onnx just yet
* resource compiler
* replace acados Darwin lib w universal2 libs
* relock Pipfile using linux machine
* Update update_requirements.sh
brackets
* Update update_requirements.sh
oops
* ci: re-enable mac build
* attempt to fix ci build:
* pip stuff?
* move rcc bin path to env script
* oops
* only mac
* k im lazy. does ci like this??
* huh??
* * use curl
* avoid casadi rebuilds
* add comment to remove protobuf
* host detect typo
* python version
* how did the builds not use swig?
* better reinstall check
* sometimes mac clang complain abt error limit
* ci: build OP in venv
* ci: bump to Big Sur
* retry? idk why it failed @ acados link
* * use macos-latest
* move rcc path to scons
* add extra paths for odd homebrew installs
* acados source change
* update macOS README
* uh, maybe?
* k nvm
* ci: ok this is strange. might be scons bug?
* fix conflicts: bump
* just add cppcheck for pre-commit stuff
* agane
* cleanup
* try that
* fix path
* no pyenv update on mac
* source
* fix rpath prefix?
* no examples
* fix exit
* let's get this cached
* add virtualenvs to cache
* why did we cache that
* let's see what's big
* more
* always ruyn
* cache scons cache
* better cache key
* fix for partial hit
* why so long
Co-authored-by: Andrew Tec <andrest@trabus.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
Co-authored-by: Bruce Wayne <batman@openpilot-mac-mini.local>
* CI: use ubuntu_setup.sh
* works?
* need to fix paths
* set paths
* no batman for now
* pyenv version
* rehash after install packages
* unify python install
* revert that
* fix pyenv path
* no pipenv
* flip that
* fix rehash
* skip that
* revert panda
* tools/setup: do not change global state
1. download packages in the venv
2. never change global python version
* update_requirements.sh: install to system if used by comma employees
* bump pip & pipenv versions
* no --upgrade
* run pre-commmit install in venv
* for consistency
Co-authored-by: predicate@bonzo <noreply@example.com>
Co-authored-by: Willem Melching <willem.melching@gmail.com>