Commit Graph

146 Commits

Author SHA1 Message Date
commaci-public 359ca9883f [bot] Update Python packages and pre-commit hooks (#32770)
Update Python packages and pre-commit hooks

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: b99fe718ecfbc6044cb5fa53f34e077b9d9a2a4f
2024-06-17 09:26:22 -07: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 0d7286a7c4 update poetry lock
old-commit-hash: 3e332071e7c6b2ba975de301567e9d25e40d65b5
2024-06-10 21:52:36 -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
commaci-public 0ee93c6a90 [bot] Update Python packages and pre-commit hooks (#32682)
* Update Python packages and pre-commit hooks

* fix linter

* poetry lock

---------

Co-authored-by: Vehicle Researcher <user@comma.ai>
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 71063d66cd526bf1e498618e1aec3440736ab5b7
2024-06-10 17:19: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
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 b248bc4bb2 add pytest-repeat (#32612)
old-commit-hash: 57a976118638be4868fd969ea7dfe5e66b7516f2
2024-06-03 17:17:02 -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 75f86a0845 move rerun to dev dependencies (#32534)
old-commit-hash: b9244f103114607c0ca8e543660a284339c045f1
2024-05-25 11:09:08 -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
cl0cks4fe 639a634f7c 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>
old-commit-hash: dd9d5d4528ff0a61c7699abc1b63ba8fd282632f
2024-05-17 11:01:44 -07:00
Shane Smiskol 8143e49ad1 Revert "python deps: add sortedcontainers" (#32433)
Revert "python deps: add sortedcontainers (#32428)"

This reverts commit b7d9690b1c84af21314af1fc452373542f6d8ee3.
old-commit-hash: 84c15e9d316a5e9686160c85b79c193b5ebb58d2
2024-05-14 16:40:15 -07:00
YassineYousfi 6e8e119638 python deps: add sortedcontainers (#32428)
old-commit-hash: db8273823d5fea3c8a66fd428bb642f61e69a3c9
2024-05-14 09:31:09 -07:00
commaci-public 6281b1da26 [bot] Update Python packages and pre-commit hooks (#32411)
Update Python packages and pre-commit hooks

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 6a9be0185792955fa3f1211b3a314c9f3273e76c
2024-05-13 08:40:23 -07:00
commaci-public a0237f00e3 [bot] Update Python packages and pre-commit hooks (#32355)
Update Python packages and pre-commit hooks

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: 3c32585a9262847049e5cbf879d87b409a495c43
2024-05-06 13:46:58 -07:00
Adeeb Shihadeh 1cf55e7416 unpin casadi (#32316)
old-commit-hash: f3a49a29b73e319fdded6aa28ad40071dfd7f922
2024-04-29 16:35:49 -07:00
commaci-public 19fcfc7d57 [bot] Update Python packages and pre-commit hooks (#32314)
Update Python packages and pre-commit hooks

Co-authored-by: Vehicle Researcher <user@comma.ai>
old-commit-hash: fa7edadaa7113387bd107aab568f23176975c3a3
2024-04-29 09:10:03 -07:00
commaci-public 1e945bbd98 [bot] Update Python packages and pre-commit hooks (#32276)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <9648890+jnewb1@users.noreply.github.com>
old-commit-hash: 5d7b01bbe0eaecce2e81df4e819b7933d72cc427
2024-04-22 08:42:22 -07:00
Adeeb Shihadeh be4581a027 [bot] Update Python packages and pre-commit hooks (#32123)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 16e0864f3808ca4ef0e05873c42705cf0d5dd60c
2024-04-08 11:35:04 -07:00
Adeeb Shihadeh f545575bf9 [bot] Update Python packages and pre-commit hooks (#32071)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: b743e5cff588b8d80aa18758bdeb0e13c1f3e874
2024-04-01 10:03:26 -07:00
Adeeb Shihadeh 0095ed059f [bot] Update Python packages and pre-commit hooks (#31998)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: de8df59748505799aceb8c822697c93c59b0922e
2024-03-25 08:59:56 -07:00
Adeeb Shihadeh b0349d9c40 [bot] Update Python packages and pre-commit hooks (#31906)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 881b38d061e6ae516a6069e216725a228591ddf6
2024-03-18 09:56:37 -07:00
Adeeb Shihadeh 7b03aaea80 [bot] Update Python packages and pre-commit hooks (#31824)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 72cab4342f447b96ab006b40fd7b4d41b48050e2
2024-03-11 10:56:38 -07:00
Adeeb Shihadeh 50a34d5ac6 [bot] Update Python packages and pre-commit hooks (#31595)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: a1fefabbca852923dee83b5ee58c748ce861cdad
2024-02-26 09:08:24 -08:00
Adeeb Shihadeh c925fd2d89 [bot] Update Python packages and pre-commit hooks (#31508)
* Update Python packages and pre-commit hooks

* remove that

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
Co-authored-by: Justin Newberry <justin@comma.ai>
old-commit-hash: be4bbca9a32f3bd3f65eaf26f4f5b65d2fc14608
2024-02-19 10:45:10 -08:00
Adeeb Shihadeh 548ec4c545 [bot] Update Python packages and pre-commit hooks (#31413)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 5f087010a9898443628f848bcce7cd7f20bdcdc1
2024-02-12 09:34:15 -08:00
Justin Newberry b610cb8356 bump metadrive (#31342)
bump
old-commit-hash: 530902dfadb2cd17d8739cdd9c56b0c0c4192871
2024-02-06 19:23:37 -08:00
Adeeb Shihadeh 9205780c13 [bot] Update Python packages and pre-commit hooks (#31300)
Update Python packages and pre-commit hooks

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: f0b591e345f6523c6c0534a90df192e5d10a7eb4
2024-02-05 10:06:18 -08:00
Adeeb Shihadeh 49e251266e Update Python packages and pre-commit hooks (#31208)
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 5f3a425015fd82899cb876014e7d4f8b568e751d
2024-01-29 09:43:18 -08:00
Adeeb Shihadeh 36c2a0bb30 pin pyopencl to fix aarch64 build (#31184)
* revert pyopencl

* revert that
old-commit-hash: eada51ec8ed570a4efe70909760460c976cd4f04
2024-01-26 16:00:33 -08:00
Adeeb Shihadeh 42f2592b28 unpin sentry-sdk (#31183)
* unpin sentry-sdk

* update
old-commit-hash: 1001becfa59fb7208ecd69e98a3f60f5efa37a1d
2024-01-26 14:33:59 -08:00
Adeeb Shihadeh 9488aafba4 add flaky package
old-commit-hash: fe4abaa6f693b000056d2ce8c2492fb64c3e313d
2024-01-25 17:38:09 -08:00
Justin Newberry fe38a7e1a9 Simulator: pin metadrive + use pip version (#31161)
* pin metadrive

* pin

* not on git
old-commit-hash: 3b618c4dfd81238c8e76524cbedb073d70d69794
2024-01-25 12:44:01 -08:00
Justin Newberry d3ead5e4ff test_ui: create test ui screenshots and html report (#31147)
* test ui

* report + common

* in ci

* fix

* dont enable in ci yet
old-commit-hash: e2ec5be6eec73f6455727313ba2b9c5bb01cce8c
2024-01-24 13:54:31 -08:00
Adeeb Shihadeh 1795861884 Update Python packages and pre-commit hooks (#31108)
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: eb04935b95e424b0cad526c0067542401e64c892
2024-01-22 09:15:22 -08:00
Justin Newberry 934225a448 replace pytest-timeouts with pytest-timeout (#31053)
* one timeout

* timeout

* higher timeout for now

* bump
old-commit-hash: d98b33adc8aaf10d0174d59e4065802c70a3413a
2024-01-18 16:19:49 -08:00
YassineYousfi 2742a6d3f4 update onnxruntime to 1.16.3 (#31024)
old-commit-hash: 86ac700805ef1ca913cfc859b6bfb1c528d83605
2024-01-16 20:22:05 -08:00
Adeeb Shihadeh e9e1d4559b Update Python packages and pre-commit hooks (#31003)
* Update Python packages and pre-commit hooks

* fix

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: a8afaf39d4d8c1b1b2b4070441d05aed14f982f5
2024-01-15 10:34:25 -08:00
Adeeb Shihadeh c0cd180e01 unpin metadrive package (#30944)
* unpin metadrive package

* lock
old-commit-hash: 90010754d6da2fa62c1b19d660510fc53af8c7da
2024-01-08 17:16:15 -08:00
Adeeb Shihadeh 8b1a12644e Update Python packages and pre-commit hooks (#30939)
Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 6743487d78f607b482a498518472b1e6c55d159f
2024-01-08 13:54:09 -08:00
Adeeb Shihadeh 8d11c3b742 Update Python packages and pre-commit hooks (#30597)
* Update Python packages and pre-commit hooks

* fix

---------

Co-authored-by: jnewb1 <jnewb1@users.noreply.github.com>
old-commit-hash: 46f3fdc090cef3b4b1b8bb4938ad68e1ca7cb280
2024-01-05 15:17:49 -08:00