Maxime Desroches
35f321dc68
fix pytools ( #33076 )
...
fix
old-commit-hash: fb1ad1d26a74e4937801a8b70d8cdce40f2da359
2024-07-25 15:13:47 -07:00
Adeeb Shihadeh
dd7e41e326
new README ( #33073 )
...
* commonmark
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* Update README.md
* relock
* copy paste
* Update README.md
* looks better like this
* cleanup
old-commit-hash: ed86910536e7036020a0a54be02e267db36653fe
2024-07-25 14:20:00 -07:00
Maxime Desroches
83d6af5162
ci: bring back aarch64 ( #33017 )
...
* casadi wheel
* ci
* test 312
* test with new aarch64 build
* use release wheels
* assert
* bool
* try this
* maybe
* work
* use final wheel
old-commit-hash: dcdac84f0c7944433f262af903a39e6b5d3a026a
2024-07-22 11:45:39 -07:00
Maxime Desroches
91db4a0908
make pyproject.toml pep508 compliant ( #33021 )
...
pep508
old-commit-hash: 07fcc4825f7e669068024c12987120a7662b220f
2024-07-19 10:19:38 -07:00
Shane Smiskol
e8c4fb0177
Reapply "selfdrive/car: ban imports from external modules" ( #32993 ) ( #32994 )
...
* Reapply "selfdrive/car: ban imports from external modules" (#32993 )
This reverts commit 626d78ec548fe19acfdf3c2c3e063fac3b257dc6.
* controls will just use controls
* also these
* ignore
old-commit-hash: d684d8f0f6900d80a2a1618099b0b8e19e6492a2
2024-07-15 11:59:25 -07:00
Shane Smiskol
a878118b00
Revert "selfdrive/car: ban imports from external modules" ( #32993 )
...
Revert "selfdrive/car: ban imports from external modules (#32973 )"
This reverts commit c1e8ff2dbc47ccb07fb41a4e88bfb66af2669254.
old-commit-hash: 35a4a773f1ff6c7b171b7acdb2fd4a65279edebd
2024-07-15 11:14:04 -07:00
Dean Lee
58df39a2ba
selfdrive/car: ban imports from external modules ( #32973 )
...
* lint import
* Update selfdrive/car/__init__.py
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 83d4623590f87dcb7df2b458a8814d5ad6ea711b
2024-07-15 11:12:24 -07:00
Adeeb Shihadeh
4d20528d47
remove pygame ( #32981 )
...
old-commit-hash: e7388c3743242938d07694864f8db011c00554df
2024-07-13 13:41:38 -07:00
eFini
83bd7a786e
PC: added missing hexdump package for selfdrive/debug/dump.py ( #32959 )
...
added missing hexdump package
old-commit-hash: 0f34e6e3b6e3627416129c34e4b9ff463d87c2ac
2024-07-12 16:44:22 -07:00
Maxime Desroches
d0e2572507
switch cereal to pytest ( #32950 )
...
pytest
old-commit-hash: 133f25eecbd7be2343624c8ed3c426663bd027e5
2024-07-09 22:01:16 +00:00
Adeeb Shihadeh
2b873af75e
publish new docs ( #32922 )
...
* push new docs
* drop the new, just docs
* cleanup
old-commit-hash: 241fb902af49ca43bf343c60f7f96b85128a9db9
2024-07-07 19:13:48 -07:00
Adeeb Shihadeh
a048348104
remove old docs ( #32917 )
...
old-commit-hash: 4ef757c49fff362242bd212d46c1656966a6b3ba
2024-07-06 08:51:36 -07:00
Maxime Desroches
8adfc992e3
fix pytest tests ( #32867 )
...
* fix tests
* no dot
old-commit-hash: 6f10b8a20989031d4cc04e8b8ce38eaea4a4824e
2024-06-28 23:58:19 +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
Shane Smiskol
6cd2b2fb78
ruff: check shadowed variables ( #32851 )
...
* check shadowed variables
* fix
old-commit-hash: 69d4b0fdf0ff2856b7a2785d8210f42d654374da
2024-06-27 14:44:26 -07:00
Maxime Desroches
5ce4ea7a77
add core python deps ( #32794 )
...
add core deps
old-commit-hash: 77a8094f55d35c6f51af72c2928ffe109c9609f9
2024-06-20 05:29:17 +00:00
Mauricio Alvarez Leon
8d8c2a29c9
remove timezone from timed.py ( #32665 )
...
* use timezone from tilequery mapbox api
* add timezone into cereal
* better clean
* more
* one line
* poetry lock
old-commit-hash: 7013eed50cd350a9b329280b0eccfc9db051a72b
2024-06-19 20:34:57 -07:00
Adeeb Shihadeh
3b8ed67aa3
remove navigation ( #32773 )
...
* remove navigation
* lil more
* fix cabana
* revert for now
* fix docs
* move that over
* lock
* rm assets
old-commit-hash: e491c9d964a2aef07eeaa7b47f4aa9f992130482
2024-06-19 19:14:13 -07:00
Maxime Desroches
1b836bdb86
Ubuntu 24.04 ( #32624 )
...
* noble build
* workflow
* symlink
* map only for noble
* sym
* add qt to cppcheck
* cppcheck noreturn in non void funct
* get kaitai header
* kaitai header
* syntax
* try new pyopencl
* try this version
* install lsb-core manually
* support old 20.04 lsb-core
* try arm
* try latest pyopencl
* revert
* use pocl icd
* no lock
* no arm pyopencl
* new intel opencl runtime
* pin filelock
* undo
* glsl version
* new version
* build test
* remove test
* new metadrive
* remove glsl restrictions
* <optional>
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* cache
* new cache
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 5c4ea14a3cb7bcb443fbee8c5b1d52c10788c9e8
2024-06-18 03:30:32 +00:00
Maxime Desroches
2cdbfac5a6
Move zstd to normal deps ( #32741 )
...
move zstd
old-commit-hash: 6552d4ecb87211b91310ca5d7a7bcb918df36021
2024-06-13 21:46:19 +00:00
Maxime Desroches
7007dae556
Separate python dep into groups ( #32739 )
...
* split
* only zstd
old-commit-hash: 9ffd973be9bdfe1be1097f9a2618ba76991616e4
2024-06-13 20:41:32 +00:00
Shane Smiskol
e88cbb0162
add zstd Python library ( #32731 )
...
* add zstd
* fix
* uploader
* logreader: zst support
* caps
* only logreader
old-commit-hash: 04a93dd849461df7a3496706c6172d95e83149c9
2024-06-12 21:14:23 -07:00
Adeeb Shihadeh
9cfdd6200d
Remove setproctitle ( #32716 )
...
* Custom setproctitle (#32667 )
* add custom setproctitle
* add test
* Update poetry.lock
* fix lint
* support only Linux
* test only Linux
* final lint
* Update test_setproctitle.py
* Update setproctitle.py
* convert to threadnames
* delete proctitles
* Check str len and use PR_GET_NAME
* fix poetry.lock
* lint fix
* Update common/threadname.py
---------
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* revert that for now
* use last 15
* fix
* use name
* update those
* and modeld
* rm
---------
Co-authored-by: schlimeszn <138847413+schlimeszn@users.noreply.github.com >
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com >
Co-authored-by: Comma Device <device@comma.ai >
old-commit-hash: 83ac80c6c899dbf4b5b2d422947b02b57d83bccd
2024-06-11 21:57:32 -07:00
Mauricio Alvarez Leon
008008b03a
Update to Python 3.12 ( #32548 )
...
* 3.12
* pprofile is broken
* use modified metadrivepy3-12
* 0.3.0 metadrive
* add metadrive/commaai git dependency
* metadrive git set
* pin sounddevice 0.4.6
* datetime.utcnow() deprecation
* poetry lock
* make datetime not aware
* poetry lock
* pin pytools
* google_crc32c wheel
* unpin sounddevice
* clean metadrive
* use python crc
* mypy
* 3.12.4
* allow python3.11
* test
* no pip
* poetry
* better
* better
* merge
* remove
* try
* test
* try this
* snok
* python
* simpler
* setuptools
* lower
* try
* try
* work?
* ubuntu deps
* ubuntu
* try
* remove
* move
* remove this
* names
* Update .github/workflows/tools_tests.yaml
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* python<4
* <3.13
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com >
old-commit-hash: 148eaf8fa6c9b23cdd346e926f58fad61f79ff1d
2024-06-11 20:45:15 +00:00
Adeeb Shihadeh
e920e57530
Revert "Custom setproctitle ( #32667 )"
...
This reverts commit 1f45e163559baa2a6127d5a5e8deb7067e32f813.
old-commit-hash: 5b51f039675edbbdfbeac72cd9c518450a85bc04
2024-06-10 19:55:41 -07:00
Maxime Desroches
9233bc4965
Bump pyopencl and disable on arm64 ( #32695 )
...
bump pyopencl
old-commit-hash: 84dd8ad4a3c0542505f19f73cf95ebae7938b412
2024-06-10 19:26:48 -07:00
schlimeszn
afea57ae2a
Custom setproctitle ( #32667 )
...
* add custom setproctitle
* add test
* Update poetry.lock
* fix lint
* support only Linux
* test only Linux
* final lint
* Update test_setproctitle.py
* Update setproctitle.py
* convert to threadnames
* delete proctitles
* Check str len and use PR_GET_NAME
* fix poetry.lock
* lint fix
* Update common/threadname.py
---------
Co-authored-by: reddyn12 <nikhilr.ssm@gmail.com >
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 3365ed5effa48d34ffe0e2e9bbe9f6941336bed5
2024-06-10 18:59:01 -07:00
Maxime Desroches
49c036919f
Pin pytools ( #32684 )
...
* bump opencl
* pin pytools
old-commit-hash: 1f7c5bcd50ae64281ea9cb1de48131b59efdeb1f
2024-06-10 23:06:37 +00:00
Harald Schäfer
05ed3d8c15
Restructure msgq ( #32652 )
...
* Update ref
* Compiles
* compiles
* Refactor rest of libs
* import all
* small fiex
* cleanup import
* Need msgq simlink too
* Add to openpilot docker too
* try repo
* Updates
* Fix lint
* fix docs
* Try blank slate
* Revert "Try blank slate"
This reverts commit f078ce04acacfe115c19e23e86038b01e2b84a6d.
* Maybe scons needs this to clear cache
* fix tests
* Disable test for now
* Update SConstruct
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
* Fix whitespace
* Write skip normal
* small fixes
* add test path
* Revert repo
* linting
* whitespace
* Bump msgq
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: e70dc90a452e7c045d9a207f3680d846406ef789
2024-06-09 17:44:34 -07:00
Adeeb Shihadeh
a05ec1f4de
python dependency notes ( #32668 )
...
old-commit-hash: 284512b2cae581e004fb56291fb8c2eb7c737bf6
2024-06-08 16:29:41 -07:00
Adeeb Shihadeh
92ad30cbd6
Replace markdown-it-py with small function in common/ ( #32664 )
...
* Replace markdown-it-py with small function in common/
* simple test
* unused
* lock
* linting fixes
old-commit-hash: 5265d13fe087972311592febd4071c16cece65e0
2024-06-08 15:39:26 -07:00
Adeeb Shihadeh
30c41788dc
thermald is hardwared ( #32637 )
...
* thermald is deviced
* hardwared
* rename
old-commit-hash: 51fdf2330453fe863597db0eb8daf87c2ec4ff8d
2024-06-05 15:58:00 -07:00
Adeeb Shihadeh
2c6829ed67
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
old-commit-hash: 34e329649d7a388d4cd1f25dac9dda9d5409bf4a
2024-06-04 19:16:55 -07:00
Adeeb Shihadeh
43dd214f52
Revert "pytest: discover openpilot/ ( #32561 )" ( #32622 )
...
This reverts commit 9c272f9ef90b7c032884aa0ad54b8d5630de14fc.
old-commit-hash: 149238845c1ed98dc5b86446c5c6d49e53b5e340
2024-06-04 12:09:06 -07:00
Adeeb Shihadeh
b248bc4bb2
add pytest-repeat ( #32612 )
...
old-commit-hash: 57a976118638be4868fd969ea7dfe5e66b7516f2
2024-06-03 17:17:02 -07:00
Mauricio Alvarez Leon
ddd78718a6
pytest: discover openpilot/ (#32561 )
...
* pytest: discover everything in openpilot/
* ignore process replay
* remove --ignore=openpilot/
* ignore directories in root
* remove skip in selfdrive/test/process_replay
* use openpilot directory
* set openpilot directory for test_translations
* omit generated config.py files
* run ci
* cd into openpilot for test_translation
* &&
* remove rm main_test_en command
* remove echo
* increase shm-size to 2G
* remove rm
* test only cpp_files that are test_*.cc~
* add process_replay test skip
* use addopts in pyproject to ignore test_processes
* try --rootdir for pytest
* cleanups / add rootdir in PYTEST env
* add rm create_test_translations
* revert poetry.lock
* simplify
* no regen!
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
old-commit-hash: 00b10f3d9ad03a6695446aab7b3a34d86229549a
2024-06-02 14:53:32 -07:00
Hoang Bui
86e2641636
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
old-commit-hash: aa081f574833bcb1db4c234b9ee3d5bcd303a6de
2024-05-30 11:25:21 -07:00
Adeeb Shihadeh
f6d6d06523
Revert "pyproject: support >= 3.11"
...
This reverts commit d9b0b41a00492cbf4e55c4499080924fd91426ed.
old-commit-hash: ccbca2ac95027afefd5a5c7ab190bbb1c332ac61
2024-05-25 21:20:15 -07:00
Adeeb Shihadeh
68b6612159
pyproject: support >= 3.11
...
old-commit-hash: 390caeb01169c4213d097ec9ddda724a58a93634
2024-05-25 21:00:29 -07:00
Adeeb Shihadeh
4356b74cca
updated: finish system/ move ( #32535 )
...
* updated: finish system/ move
* add those back
* skip that
* skip whole file
* one more time
old-commit-hash: 73b02f2cda858d4ad08bc7fa4116d0d11ff79a02
2024-05-25 12:22:02 -07:00
Adeeb Shihadeh
75f86a0845
move rerun to dev dependencies ( #32534 )
...
old-commit-hash: b9244f103114607c0ca8e543660a284339c045f1
2024-05-25 11:09:08 -07:00
Adeeb Shihadeh
14e7c7d260
thermald: move to system/ ( #32494 )
...
* thermald: move to system/
* fix path
* revert
old-commit-hash: b2cf9b35f68061587fd6ab7a94a58f7b433b2da2
2024-05-20 22:51:29 -07:00
Adeeb Shihadeh
70d14c99e1
ruff: enable TRY
...
old-commit-hash: 0e3df5ae4d673c3644f04861a73e3aa599dd03ae
2024-05-20 17:47:48 -07:00
Adeeb Shihadeh
3358745103
ruff: enable UP
...
old-commit-hash: b2e4c64cf8fe3256d1e411e8715c29e2eb6f4f00
2024-05-20 17:43:54 -07:00
Adeeb Shihadeh
73e4aa24b9
ruff: enable NPY
...
old-commit-hash: 788c4edeecc0f35d8c74f486f664c1835098cdf4
2024-05-20 17:40:46 -07:00
Adeeb Shihadeh
18970afb0e
athena: move to system/ ( #32488 )
...
* athena: move to system/
* slash
old-commit-hash: 3279dbeff7d4f696804c94de1573be2b5f3f2f9d
2024-05-20 14:59:43 -07:00
Mauricio Alvarez Leon
1600939a38
deps: add rerun-sdk into pyproject.toml ( #32472 )
...
* add rerun-sdk into pyproject.toml
* install/wheel cleanup
* unpin version
old-commit-hash: bd6bea39bf9ff61ac0c5e942e929d12851c5c4b7
2024-05-18 17:21:04 -07:00
Adeeb Shihadeh
f3ce476452
control is still used
...
old-commit-hash: 4c558e45b99f1fc1cbafc08a58d639885552eeaf
2024-05-18 15:15:41 -07:00
Adeeb Shihadeh
c4ed6cc9ca
gc unused python deps
...
old-commit-hash: 1e08132cdf0e1b6182ac935295fafcea83bfbfbd
2024-05-18 14:51:49 -07:00
Adeeb Shihadeh
7dd13bde29
add [project] section to pyproject.toml
...
old-commit-hash: 985b22d4b77c20a81a6329fe8cf810103f871aa6
2024-05-17 21:43:57 -07:00