Justin Newberry
b28343e276
Revert "Pytest: run tests in random order" ( #30469 )
...
Revert "Pytest: run tests in random order (#30134 )"
This reverts commit bdc0624d0320e75b521a8edcf4aebacb6ab96a75.
old-commit-hash: ba3067a560dca8d94ebf2c63b0d5fab7922c56e4
2023-11-15 10:41:11 -08:00
Justin Newberry
586fe682e4
Pytest: run tests in random order ( #30134 )
...
* enable random order
* logprint info
* revert that
* better logging
* go to dfu
* try to flash every panda if not up to date
* revert panda debugging
old-commit-hash: a5d99e0ebbfdad405ec86ca4907325926f3e0bfb
2023-11-15 10:16:51 -08:00
Kacper Rączy
7cac430ecc
Remove laika submodule ( #30453 )
...
* Remove laika submodule
* Remove laika check for minimal builds
* Fix minimal build check
* Bring back exclude for opendbc in codespell
* Fix typo
* Copy GNSS indices from laika
* Delete laika dependencies
old-commit-hash: 2de13bea91d7c095491d9f3f21cb71d995c63bb4
2023-11-15 10:06:37 +01:00
Justin Newberry
337b156518
Pytest: load by group by default ( #30466 )
...
* wip
* use a class marker
* this one should be grouped too
old-commit-hash: 31c682d40743f4b102a70d72e6993b383d85a040
2023-11-14 17:33:47 -08:00
Justin Newberry
efaa3ea500
Pytest: default settings on PC improvements ( #30441 )
...
* always multithreaded
* multithreaded
* pkill correct process
* escape more
* load for interfaces
old-commit-hash: 2ad82cbfb064676401876a20e49e3965c40344a0
2023-11-13 10:45:24 -08:00
Justin Newberry
a0b0c1c4e7
CI: codecov for multiprocessing ( #30432 )
...
old-commit-hash: 26294173207cd5e3c586ca71a88fdd3a09fc7345
2023-11-10 10:02:05 -08:00
Justin Newberry
0a901ebe02
Revert "CI: codecov for multiprocessing" ( #30431 )
...
Revert "CI: codecov for multiprocessing (#30428 )"
This reverts commit 3b07eefe35677ba9cd35680864b88d5eacd3a25e.
old-commit-hash: 863fdec50e6e222b4b50157c7fe2e254de3435bd
2023-11-09 15:52:28 -08:00
Justin Newberry
81e3076dc6
CI: codecov for multiprocessing ( #30428 )
...
* concurrencty codecov
* its a list
* retrigger ci
* increase delay
old-commit-hash: 1e91cf92a180f7093279d19e4a8694c353910d15
2023-11-09 15:19:10 -08:00
Justin Newberry
3027a428cb
Pytest: tici mark for skipping on-device tests ( #30412 )
...
* mark tici
* not those ones
* missed that one
* add those
* add pypoetry
* oops
old-commit-hash: aec7cea30d48dc8915eea38c86de7d4effa0548d
2023-11-07 17:35:44 -08:00
Dean Lee
3a637fe455
athenad: fix memory leak in _do_upload() ( #30237 )
...
* fix memory leak
* test: stash
* clean up
* clean up
* ruff
* rm
* add py memory profiler
* test compress and no compress
* proper test
* comment
---------
Co-authored-by: Shane Smiskol <shane@smiskol.com >
old-commit-hash: 61288dfe068e6127dcff64b8e7ac81844f7c31ff
2023-10-29 07:08:28 -10: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
Justin Newberry
5b16fda00c
add random order plugin ( #30166 )
...
add random order
old-commit-hash: 2048808827bff61977465939297b9d5941e91cb7
2023-10-04 11:51:24 -07:00
Adeeb Shihadeh
a24af381f7
remove some python packages ( #30135 )
...
* less dependencies
* rm that
* add that back for now
* revert for now
old-commit-hash: 0694d3b8f6727a5a83cb52e978c7e3743eb928ab
2023-10-02 17:13:45 -07:00
Justin Newberry
07c27071a4
remove carla dependency ( #30139 )
...
* only docs and default
* remove carla dependency
* remove carla dependency
old-commit-hash: 3c55f76790a5663a62892581c9554391aebae1de
2023-10-02 16:11:56 -07:00
Justin Newberry
fb4e774a2e
Update metadrive ( #30128 )
...
update metadrive
old-commit-hash: f32294772d15d5797f087c006601d2aa783e6088
2023-10-02 13:18:03 -07:00
Justin Newberry
eb33a751f6
Revert "run unit tests in a random order ( #29799 )" ( #30116 )
...
This reverts commit 36bcfb117d12049be554ec0f82684827fc99f68a.
old-commit-hash: 2dd13c60ccdd513821cad4570fe140c9749d06f3
2023-09-30 17:23:38 -07:00
Adeeb Shihadeh
f7d5a2b216
run unit tests in a random order ( #29799 )
...
* run unit tests in a random order by default
* bump panda
* fix startup
* re-add random order plugin
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: b483efe764c001454b0fe917ce0b1023bc08ab88
2023-09-30 15:56:23 -07:00
Kacper Rączy
fedd4a886d
aarch64: onnxruntime ( #30095 )
...
base onnxruntime for aarch64
old-commit-hash: bfddcdaf891b76ac0eb1e7aa781ef07f80ceb85f
2023-09-28 22:32:21 -07:00
Justin Newberry
ef75f0ab12
CI: use "slow" marker for pytest ( #30063 )
...
* skip to mark
* fix quotes
old-commit-hash: 0251742079b206ce40a3b4d8ae9cec1381494d4a
2023-09-26 13:44:18 -07:00
Shane Smiskol
6156911322
hypothesis: fix too slow health check ( #30001 )
...
* update hypothesis
* change less
old-commit-hash: fb8f7ba8477e8243d9811bce941a2b11e180e033
2023-09-21 17:40:14 -07:00
Adeeb Shihadeh
46f3493e40
add ruff package
...
old-commit-hash: 844b2815d535b444534c33e841a1f0fab2470b53
2023-09-17 15:44:34 -07:00
Shane Smiskol
9a28d2a59d
ruff: check mutable default values for data class attributes ( #29945 )
...
* Update pyproject.toml
* Update pyproject.toml
old-commit-hash: 5cb4e8352885aec86b800f3e981571a175f3b931
2023-09-16 15:11:09 -07:00
Justin Newberry
1ef92c57f2
update metadrive ( #29938 )
...
old-commit-hash: ad7432b45d00cf05fb9635a850bae878d3b686b9
2023-09-15 14:55:08 -07:00
Adeeb Shihadeh
1f8459d285
use pytest for cpp tests ( #29833 )
...
* add pytest-cpp package (#29828 )
* add pytest-cpp package
* disable for now
* use in ci
* use pytest cpp
* use my branch
* add missing tests
* that doesn't make sense
* it was merged upstream
* replace TEST_RLOG_URL with a publicly accessible url
* PR Cleanup
* assert instead
* update poetry lock
* add comment about pytest-cpp
---------
Co-authored-by: Justin Newberry <jnewberry0502@gmail.com >
Co-authored-by: Justin Newberry <justin@comma.ai >
Co-authored-by: deanlee <deanlee3@gmail.com >
old-commit-hash: 2c1dfc2f341b09381af2cc7872c4092df28dc9d5
2023-09-11 14:01:50 -07:00
Adeeb Shihadeh
52752a3131
jenkins speedup ( #29869 )
...
* jenkins speedup
* cleanup
old-commit-hash: d0361485504fe5af47a9e8ffaf0b64cfcdf03ac9
2023-09-10 16:47:07 -07:00
Justin Newberry
759ab03b03
Ruff: disallow non-openpilot imports ( #29841 )
...
old-commit-hash: 110cfef1c2a56b333b684cd7ae98b321ae0e72eb
2023-09-08 10:43:02 -07:00
Adeeb Shihadeh
bc6367bdf9
Revert "add pytest-cpp package ( #29828 )"
...
This reverts commit 9e739aa27d8eb163de74320cfb2f3ea43ca2cb48.
old-commit-hash: 0d042624ae236fa9b58448a1eaeba841d4eff73e
2023-09-07 20:40:25 -07:00
Adeeb Shihadeh
01ee6fd1bb
add pytest-cpp package ( #29828 )
...
* add pytest-cpp package
* disable for now
old-commit-hash: 773d0944d8b51fe2a64c13f0a9b6b0ff9457cf4f
2023-09-07 19:42:30 -07:00
Kacper Rączy
2092a38bde
disable metadrive on linux/aarch64 ( #29802 )
...
old-commit-hash: 2487db14b06df91d43d277c4e4a35cce2baa1bc6
2023-09-06 21:29:36 +02:00
Adeeb Shihadeh
53e0f5eb49
pytest: use a clean environment for all tests ( #29788 )
...
* pytest: use a clean environment for all tests
* rm that
* fix pj
* put build back
* fix params
* fix that
* handle no key
* that was removed
---------
Co-authored-by: Justin Newberry <justin@comma.ai >
old-commit-hash: 7b6afbc1623b8c159a92f6a5a951fb4d688045ee
2023-09-05 18:52:40 -07:00
Justin Newberry
1ed42179c3
Pytest: don't rerun cereal unittests ( #29781 )
...
pytest don't rerun cereal
old-commit-hash: 16c99e3e7febdac58cc67726768f6413a6cbf74f
2023-09-05 14:06:03 -07:00
Adeeb Shihadeh
3eb6774ce3
add metadrive sim package ( #29736 )
...
old-commit-hash: d344ed9be9a263fc69c066692e111ae7ed871d8d
2023-08-31 13:38:30 -07:00
Justin Newberry
debd00f9e5
CI: prepare for pytest by adding marker and avoiding duplicated tests ( #29682 )
...
prepare for pytest
old-commit-hash: d3befb2e04dfd12752fc98599800e911ef6a15d4
2023-08-29 17:04:42 -07:00
Adeeb Shihadeh
7111ce6ce8
pycurl is no longer just a dev dependency ( #29684 )
...
old-commit-hash: 17bd792eee36ff678b2c2a4376e0e5cf53468b2a
2023-08-28 14:49:59 -07:00
Adeeb Shihadeh
cc29c6640d
pytest: strict config ( #29676 )
...
* pytest: strict config
* collection works
* fixes
old-commit-hash: 72e2e2c9ec4e3a42cf35c23dfc0d66ea0565ace6
2023-08-28 10:26:19 -07:00
Adeeb Shihadeh
34edef6a60
update azure-storage-blob ( #29411 )
...
Co-authored-by: Cameron Clough <cameronjclough@gmail.com >
old-commit-hash: c9e227a9c062aa5e9569472e88d720d1160819de
2023-08-25 22:01:10 +01:00
Justin Newberry
1a29920369
CI: enable missing tests ( #29538 )
...
old-commit-hash: 979c96167d5ba2f07a7e0dee7c059c3a2ee4757b
2023-08-22 16:48:02 -07:00
Adeeb Shihadeh
581c26152c
add pytest-subtests package ( #29536 )
...
old-commit-hash: 2cd311da29241501ef93c15e7de563cb3bfe3070
2023-08-22 14:31:03 -07:00
Justin Newberry
3e6ce7d6cd
CI: use xdist for car model tests ( #29514 )
...
* bump panda
* try multithreaded for car models
* need pytest-cov
* upgraded to poetry 1.5.1 and regenerated
old-commit-hash: 3492e80d19a4395d9481076c916f9ab96a8fb004
2023-08-21 20:51:27 -07:00
Adeeb Shihadeh
bd27be2b78
move mypy config into pyproject.toml ( #29501 )
...
* move mypy config into pyproject.toml
* rm reference
old-commit-hash: ff068dd722b31078b9356d3f55e4898cf00a89cb
2023-08-20 21:08:04 -07:00
Kacper Rączy
eb87a31bc5
Unpin numpy ( #29421 )
...
* Unpin numpy
* Update lock file
* leave acados comment
* Fix warnings
* Fix more paramsd warnings
old-commit-hash: 62a88e504d9ad82f6d070a11a3499bf89c19d08e
2023-08-17 15:36:14 -07:00
Kacper Rączy
b0877c92e7
Disable pyqt5 on aach64 ( #29430 )
...
* Make pyqt5 x64 only
* Add comment regarding pyqt5 wheels
old-commit-hash: 766b5e6e8b4985007d582d30dc062816657f5caa
2023-08-16 14:11:45 -07:00
Adeeb Shihadeh
ca96941da8
add PyQt5 package ( #29400 )
...
old-commit-hash: 6c3e5c43623d32210298378cd752c363b6f93c76
2023-08-14 15:13:42 -07:00
Harald Schäfer
d0da0850cc
Rm poetry from packages ( #29361 )
...
no poetry dep needed
old-commit-hash: 0dacba96eba5269922e815d99427b542c91fa47e
2023-08-14 09:50:39 -07:00
Adeeb Shihadeh
9a7e8e931a
cleanup unused python packages ( #29353 )
...
* rm unused python packages
* lock
old-commit-hash: d6857996d3376aa757acdc697d33eb82088f523e
2023-08-11 21:34:47 -07:00
Adeeb Shihadeh
cf1d402531
remove fastcluster ( #29352 )
...
* remove fastcluster
* lock
* rm there
* and from release files
old-commit-hash: 00a11a1a2b1258f043f7675215e528a0c08185dc
2023-08-11 21:08:49 -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
Justin Newberry
f33b4de80b
Ruff: b905 (strict zip) ( #29336 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
* b905
old-commit-hash: e4ead4f1830618f5f61978491930cb0b8d36ab26
2023-08-11 16:13:51 -07:00
Justin Newberry
d487c0501f
Ruff: enable most of bugbear ( #29320 )
...
* added mutable default args
* most of the Bs
* add comment about lrucache
old-commit-hash: 62c1e6592439119f360dd64b854e7047f35222ba
2023-08-11 15:33:49 -07:00
Justin Newberry
715f028a0e
Ruff: enable flake8-builtins ( #29315 )
...
* enable flake8-builtins
* replace any with contains
* fix typo in pack
* fix type
* format is from the parent module, has to be enabled
* item_id
* fix item_id
* disable for id since that's what the remote server returns
old-commit-hash: 8793cbff40662a92bff16d75b51479c80517305a
2023-08-10 18:58:22 -07:00