Commit Graph

206 Commits

Author SHA1 Message Date
Shane Smiskol
592778ab29 inputs is real dependency (#33524)
inputs is real dep
2024-09-09 14:11:07 -07:00
Maxime Desroches
7a5a70b6b3 pytest: add default fixture option for pytest-asyncio (#33442)
add default
old-commit-hash: ffc089c4a2ef4fe49996a21fb51a3e5ee60c2cc1
2024-09-03 15:26:07 -07:00
Adeeb Shihadeh
f0f24b4265 ruff: exclude notebooks (#33438)
old-commit-hash: 88677360cfcea0ecfd1d265e9a2419a005e9f0c0
2024-09-02 15:45:51 -07:00
Maxime Desroches
6a36e1d05f reduce metadrive size (#33391)
* minimal

* uv.lock

* remove anisotropic filtering

* new wheel
old-commit-hash: 629dcdcfca5a408b3812b23198797a13367961b0
2024-08-30 20:08:03 -07:00
Shane Smiskol
69e30a5a40 remove import linter (#33319)
* rm import linter, we're done!

* revert

* uv lock

* Revert "uv lock"

This reverts commit 5e46f48e8a5738ea5121da6f2d1c7210dcefe053.
old-commit-hash: bf68eeb596f873f3e6ab497ea42a079c98835f97
2024-08-16 23:57:42 -07:00
Adeeb Shihadeh
11986ddc7f rerun: update to 0.18 (#33316)
old-commit-hash: 4baf6c1be9b4e53ea0a6373d2ddfca4ba853f9f1
2024-08-16 10:46:26 -07:00
Shane Smiskol
9b0adebec8 docs: remove common import (#33310)
* add opcar

* fix references

* actually better to split this so opendbc will test docs conventions, and openpilot will test diffing

* not exe

* clean up
old-commit-hash: 424b657376d91d27fdc73d95862c1bbbe4de2b74
2024-08-14 20:29:14 -07:00
Maxime Desroches
74d5352cb4 metadrive: use main branch (#33278)
use main branch
old-commit-hash: 4cb1c665e0d6590e80309ab2d4f3856ce274511b
2024-08-12 16:58:11 -07:00
Maxime Desroches
5b82b7c65e op.sh: lint (#33217)
* redo

* better

* fix this

* clean everything

* all files

* test

* debug

* get info

* revert

* only good files

* allow skip

* also this

* help section
old-commit-hash: f8f6c399158651f72fa78b0a2dc518f5bd5fbc23
2024-08-07 17:23:33 -07:00
Maxime Desroches
b63698c376 more codespell errors (#33223)
more spell
old-commit-hash: 184519834c99291ddbaa0f92842bda3ab89d797d
2024-08-07 16:02:09 -07:00
Maxime Desroches
dbccf5c922 Revert "pre-commit: bring back some checks (#33196)" (#33216)
This reverts commit 4b356147185aa1d772947e4ec7b54a3e6e523f9d.
old-commit-hash: 3af774725f568ab2289fed92b820e89929950136
2024-08-06 21:48:56 -07:00
Maxime Desroches
5baf136b11 pre-commit: bring back some checks (#33196)
* add this

* add this

* nice ...

* 120

* remove

* no remote

* 0

* this

* no submodules

* like this

* try this

* validate

* like this

* split

* pass files

* no par

* check exist

* no build

* fix

* 24.04

* default

* test failure

* continue

* actually fail

* clean

* import

* fix

* line

* mypy

* clean

* simpler

* final

* better

* final clean

* not true
old-commit-hash: 30467b44cd82973576c8073136dede6aa2fa60f0
2024-08-06 21:39:18 -07:00
Adeeb Shihadeh
fc469e5f80 Revert "Remove setproctitle (#32716)" (#33195)
* Revert "Remove `setproctitle` (#32716)"

This reverts commit 9020d1931f4cd72f8162e4402278bdf76e3746f2.

* uv lock

* old name
old-commit-hash: 29b58d4f2fcc982d5c06ed8391e368b1b293a96c
2024-08-05 16:42:22 -07:00
Maxime Desroches
df13b36638 fix all codespell issues (#33194)
* bring back

* remove 2020 dictionary
old-commit-hash: 44c7144e1c5f5aa66596c8d240b64827148b960d
2024-08-05 15:25:02 -07:00
commaci-public
0907814b1b [bot] Update Python packages (#33185)
pin numpy :(

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
old-commit-hash: 3b3ffb7b2b783dcdc23bcbae20b155378a96417a
2024-08-05 10:35:58 -07:00
Adeeb Shihadeh
f2299dfcb2 back to pypi casadi (#33182)
old-commit-hash: 8e0a4f2faf9db787affe2bcd053d81119018cd73
2024-08-04 16:13:18 -07:00
Adeeb Shihadeh
1feb6d671a remove pre-commit (explorations) (#33172)
* remove pre-commit (explorations)

* lint.sh

* remove rest

* add to release files

* no source

* 1min is all you need
old-commit-hash: 13511e383c1679d17843e8cbf1bcb0a926f74c35
2024-08-01 22:16:13 -07:00
Maxime Desroches
80e23d1593 Remove hexdump package (#33155)
* remove hexdump

* uv lock

* cleanup
old-commit-hash: 1dd8bdc7912bef693c112816a5ac5066b036337b
2024-07-31 13:34:14 -07:00
Maxime Desroches
6c1d7358f0 unpin numpy (#33132)
* unlock numpy

* remove old cache

* sheel

* lock

* remove temp

* depends

* export

* put this back

* use __version__

* move this

---------

Co-authored-by: quebec <quebec@quebec.attlocal.net>
old-commit-hash: 9536dd07c6b0f972db70b344ae2f676e031ea038
2024-07-30 13:11:05 -07:00
Maxime Desroches
a78c63cf7b Remove control usage (#33103)
* manual matrix exp

* remove control
old-commit-hash: 01c07569741a84fae9a7fe9c8ef1830d59822f63
2024-07-29 11:52:33 -07:00
Adeeb Shihadeh
5bc7684d2b docs: readthedocs theme (#33116)
* docs: read the docs theme

* nav depth
old-commit-hash: 691b948ad02a20e507d5059707f8cde51a94a703
2024-07-28 16:07:39 -07:00
Adeeb Shihadeh
1ce6573141 docs: fix nested structure (#33114)
* docs: fix nested structure

* test ci

* that too

* update that

* not common mark anymore
old-commit-hash: 4fbac089f81079595df9852eace44cea9de3dd03
2024-07-28 15:38:38 -07:00
Shane Smiskol
7b67994a05 use zstandard library (#33110)
* use zstandard

* run 10

* bye bye

* this was a little overzealous

* clean up
old-commit-hash: 1b3b5ab75857465f58ec8a687db04c8ee0470e05
2024-07-28 02:03:47 -07:00
Adeeb Shihadeh
488e08507a remove opencv-python-headless (#33082)
old-commit-hash: f39c5c22e80740700aa3c9bd8cba2a684903e9d2
2024-07-25 19:30:40 -07:00
Adeeb Shihadeh
81ca279fb9 cleanup python dependencies (#33077)
* cleanup python dependencies

* fix ruff
old-commit-hash: e5b803f28eb3c63105c3560b2fe07b5fddffbee6
2024-07-25 16:07:59 -07:00
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