Adeeb Shihadeh
e7388c3743
remove pygame ( #32981 )
2024-07-13 13:41:38 -07:00
eFini
0f34e6e3b6
PC: added missing hexdump package for selfdrive/debug/dump.py ( #32959 )
...
added missing hexdump package
2024-07-12 16:44:22 -07:00
Maxime Desroches
133f25eecb
switch cereal to pytest ( #32950 )
...
pytest
2024-07-09 22:01:16 +00:00
Adeeb Shihadeh
241fb902af
publish new docs ( #32922 )
...
* push new docs
* drop the new, just docs
* cleanup
2024-07-07 19:13:48 -07:00
Adeeb Shihadeh
4ef757c49f
remove old docs ( #32917 )
2024-07-06 08:51:36 -07:00
Maxime Desroches
6f10b8a209
fix pytest tests ( #32867 )
...
* fix tests
* no dot
2024-06-28 23:58:19 +00:00
Maxime Desroches
12d5afba73
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
2024-06-28 00:04:05 +00:00
Shane Smiskol
69d4b0fdf0
ruff: check shadowed variables ( #32851 )
...
* check shadowed variables
* fix
2024-06-27 14:44:26 -07:00
Maxime Desroches
77a8094f55
add core python deps ( #32794 )
...
add core deps
2024-06-20 05:29:17 +00:00
Mauricio Alvarez Leon
7013eed50c
remove timezone from timed.py ( #32665 )
...
* use timezone from tilequery mapbox api
* add timezone into cereal
* better clean
* more
* one line
* poetry lock
2024-06-19 20:34:57 -07:00
Adeeb Shihadeh
e491c9d964
remove navigation ( #32773 )
...
* remove navigation
* lil more
* fix cabana
* revert for now
* fix docs
* move that over
* lock
* rm assets
2024-06-19 19:14:13 -07:00
Maxime Desroches
5c4ea14a3c
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 >
2024-06-18 03:30:32 +00:00
Maxime Desroches
6552d4ecb8
Move zstd to normal deps ( #32741 )
...
move zstd
2024-06-13 21:46:19 +00:00
Maxime Desroches
9ffd973be9
Separate python dep into groups ( #32739 )
...
* split
* only zstd
2024-06-13 20:41:32 +00:00
Shane Smiskol
04a93dd849
add zstd Python library ( #32731 )
...
* add zstd
* fix
* uploader
* logreader: zst support
* caps
* only logreader
2024-06-12 21:14:23 -07:00
Adeeb Shihadeh
83ac80c6c8
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 >
2024-06-11 21:57:32 -07:00
Mauricio Alvarez Leon
148eaf8fa6
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 >
2024-06-11 20:45:15 +00:00
Adeeb Shihadeh
5b51f03967
Revert "Custom setproctitle ( #32667 )"
...
This reverts commit 3365ed5eff .
2024-06-10 19:55:41 -07:00
Maxime Desroches
84dd8ad4a3
Bump pyopencl and disable on arm64 ( #32695 )
...
bump pyopencl
2024-06-10 19:26:48 -07:00
schlimeszn
3365ed5eff
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 >
2024-06-10 18:59:01 -07:00
Maxime Desroches
1f7c5bcd50
Pin pytools ( #32684 )
...
* bump opencl
* pin pytools
2024-06-10 23:06:37 +00:00
Harald Schäfer
e70dc90a45
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 >
2024-06-09 17:44:34 -07:00
Adeeb Shihadeh
284512b2ca
python dependency notes ( #32668 )
2024-06-08 16:29:41 -07:00
Adeeb Shihadeh
5265d13fe0
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
2024-06-08 15:39:26 -07:00
Adeeb Shihadeh
51fdf23304
thermald is hardwared ( #32637 )
...
* thermald is deviced
* hardwared
* rename
2024-06-05 15:58:00 -07:00
Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
2024-06-04 19:16:55 -07:00
Adeeb Shihadeh
149238845c
Revert "pytest: discover openpilot/ ( #32561 )" ( #32622 )
...
This reverts commit 00b10f3d9a .
2024-06-04 12:09:06 -07:00
Adeeb Shihadeh
57a9761186
add pytest-repeat ( #32612 )
2024-06-03 17:17:02 -07:00
Mauricio Alvarez Leon
00b10f3d9a
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 >
2024-06-02 14:53:32 -07:00
Hoang Bui
aa081f5748
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
2024-05-30 11:25:21 -07:00
Adeeb Shihadeh
ccbca2ac95
Revert "pyproject: support >= 3.11"
...
This reverts commit 390caeb011 .
2024-05-25 21:20:15 -07:00
Adeeb Shihadeh
390caeb011
pyproject: support >= 3.11
2024-05-25 21:00:29 -07:00
Adeeb Shihadeh
73b02f2cda
updated: finish system/ move ( #32535 )
...
* updated: finish system/ move
* add those back
* skip that
* skip whole file
* one more time
2024-05-25 12:22:02 -07:00
Adeeb Shihadeh
b9244f1031
move rerun to dev dependencies ( #32534 )
2024-05-25 11:09:08 -07:00
Adeeb Shihadeh
b2cf9b35f6
thermald: move to system/ ( #32494 )
...
* thermald: move to system/
* fix path
* revert
2024-05-20 22:51:29 -07:00
Adeeb Shihadeh
0e3df5ae4d
ruff: enable TRY
2024-05-20 17:47:48 -07:00
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
2024-05-20 17:43:54 -07:00
Adeeb Shihadeh
788c4edeec
ruff: enable NPY
2024-05-20 17:40:46 -07:00
Adeeb Shihadeh
3279dbeff7
athena: move to system/ ( #32488 )
...
* athena: move to system/
* slash
2024-05-20 14:59:43 -07:00
Mauricio Alvarez Leon
bd6bea39bf
deps: add rerun-sdk into pyproject.toml ( #32472 )
...
* add rerun-sdk into pyproject.toml
* install/wheel cleanup
* unpin version
2024-05-18 17:21:04 -07:00
Adeeb Shihadeh
4c558e45b9
control is still used
2024-05-18 15:15:41 -07:00
Adeeb Shihadeh
1e08132cdf
gc unused python deps
2024-05-18 14:51:49 -07:00
Adeeb Shihadeh
985b22d4b7
add [project] section to pyproject.toml
2024-05-17 21:43:57 -07:00
cl0cks4fe
dd9d5d4528
Unittest to pytest ( #32366 )
...
* add pytest-asyncio
* switch common
* switch selfdrive
* switch system
* switch tools
* small fixes
* fix setUp and valgrind pytest
* switch to setup
* fix random
* switch mock
* switch test_lateral_limits
* revert test_ui
* fix poetry.lock
* add unittest to banned-api
* add inline ignores to remaining unittest imports
* revert test_models
* revert check_can_parser_performance
* one more skip
---------
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com >
2024-05-17 11:01:44 -07:00
Shane Smiskol
84c15e9d31
Revert "python deps: add sortedcontainers" ( #32433 )
...
Revert "python deps: add sortedcontainers (#32428 )"
This reverts commit db8273823d .
2024-05-14 16:40:15 -07:00
YassineYousfi
db8273823d
python deps: add sortedcontainers ( #32428 )
2024-05-14 09:31:09 -07:00
Adeeb Shihadeh
f3a49a29b7
unpin casadi ( #32316 )
2024-04-29 16:35:49 -07:00
Justin Newberry
257db40d57
ruff: Exclude body and cereal ( #31782 )
2024-03-07 14:58:36 -08:00
Clark934
997bb65e54
ruff: set tab size and quote style ( #31749 )
2024-03-06 19:15:14 -08:00
Justin Newberry
ac77129041
updated: basic e2e update tests ( #31742 )
...
* e2e update test
* that too
* fix
* fix
* fix running in docker
* don't think GHA will work
* also test switching branches
* it's a test
* lets not delete that yet
* comment
* space
2024-03-06 15:24:46 -08:00