Commit Graph

77 Commits

Author SHA1 Message Date
Shane Smiskol
6156911322 hypothesis: fix too slow health check (#30001)
* update hypothesis

* change less
old-commit-hash: fb8f7ba847
2023-09-21 17:40:14 -07:00
Adeeb Shihadeh
46f3493e40 add ruff package
old-commit-hash: 844b2815d5
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: 5cb4e83528
2023-09-16 15:11:09 -07:00
Justin Newberry
1ef92c57f2 update metadrive (#29938)
old-commit-hash: ad7432b45d
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: 2c1dfc2f34
2023-09-11 14:01:50 -07:00
Adeeb Shihadeh
52752a3131 jenkins speedup (#29869)
* jenkins speedup

* cleanup
old-commit-hash: d036148550
2023-09-10 16:47:07 -07:00
Justin Newberry
759ab03b03 Ruff: disallow non-openpilot imports (#29841)
old-commit-hash: 110cfef1c2
2023-09-08 10:43:02 -07:00
Adeeb Shihadeh
bc6367bdf9 Revert "add pytest-cpp package (#29828)"
This reverts commit 9e739aa27d8eb163de74320cfb2f3ea43ca2cb48.

old-commit-hash: 0d042624ae
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: 773d0944d8
2023-09-07 19:42:30 -07:00
Kacper Rączy
2092a38bde disable metadrive on linux/aarch64 (#29802)
old-commit-hash: 2487db14b0
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: 7b6afbc162
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: 16c99e3e7f
2023-09-05 14:06:03 -07:00
Adeeb Shihadeh
3eb6774ce3 add metadrive sim package (#29736)
old-commit-hash: d344ed9be9
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: d3befb2e04
2023-08-29 17:04:42 -07:00
Adeeb Shihadeh
7111ce6ce8 pycurl is no longer just a dev dependency (#29684)
old-commit-hash: 17bd792eee
2023-08-28 14:49:59 -07:00
Adeeb Shihadeh
cc29c6640d pytest: strict config (#29676)
* pytest: strict config

* collection works

* fixes
old-commit-hash: 72e2e2c9ec
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: c9e227a9c0
2023-08-25 22:01:10 +01:00
Justin Newberry
1a29920369 CI: enable missing tests (#29538)
old-commit-hash: 979c96167d
2023-08-22 16:48:02 -07:00
Adeeb Shihadeh
581c26152c add pytest-subtests package (#29536)
old-commit-hash: 2cd311da29
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: 3492e80d19
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: ff068dd722
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: 62a88e504d
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: 766b5e6e8b
2023-08-16 14:11:45 -07:00
Adeeb Shihadeh
ca96941da8 add PyQt5 package (#29400)
old-commit-hash: 6c3e5c4362
2023-08-14 15:13:42 -07:00
Harald Schäfer
d0da0850cc Rm poetry from packages (#29361)
no poetry dep needed
old-commit-hash: 0dacba96eb
2023-08-14 09:50:39 -07:00
Adeeb Shihadeh
9a7e8e931a cleanup unused python packages (#29353)
* rm unused python packages

* lock
old-commit-hash: d6857996d3
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: 00a11a1a2b
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: 0ced56b2ea
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: e4ead4f183
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: 62c1e65924
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: 8793cbff40
2023-08-10 18:58:22 -07:00
Adeeb Shihadeh
6854d6abd0 ruff: check for unused noqa
old-commit-hash: 01273d6224
2023-08-10 17:11:48 -07:00
Justin Newberry
d7ece3b8fc Ruff: Disallow implicit string concat (#29316)
* ruff enable isc

* also disallow multiline
old-commit-hash: 69deed1f1a
2023-08-10 16:43:39 -07:00
Justin Newberry
a14f162bc7 Ruff: comprehensions conventions (#29317)
ignore c408
old-commit-hash: 4a9afd7554
2023-08-10 16:40:30 -07:00
Justin Newberry
7d6d3dc9ea Ruff: flake8 pie (misc lints) (#29318)
flake8 pie
old-commit-hash: af3ed37c5c
2023-08-10 15:28:51 -07:00
Adeeb Shihadeh
b7f6b6dc95 pytest unit test running (#29261)
* setup config

* collect passes

* pytest system/ works
old-commit-hash: 670fa9af5f
2023-08-10 08:23:19 -07:00
Harald Schäfer
7797d908a0 Poetry lock: no poetry recursion (#29304)
* Poetry lock: no poetry recursion

* Make tests pass

* Update poetry

* Update pip too

* Update lock with new pip

* Needed for xx
old-commit-hash: 4b57e71e93
2023-08-10 03:34:24 -07:00
Adeeb Shihadeh
cb8dec39b5 ruff: fix running outside pre-commit
old-commit-hash: e9e0661771
2023-08-09 16:45:09 -07:00
Justin Newberry
3ee0786de3 CI: Pylint to ruff (#29294)
* pylint to riff

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad

* set line length

* pylint exclusions to ruff

* same excludes as old linter

* fix tools QA

* remove unrequired check

* revert linting third_party

* ignore e402
old-commit-hash: 7fdd9fc37c
2023-08-09 13:26:54 -07:00
Justin Newberry
ff96892511 Revert "CI: pylint to ruff (#29276)" (#29284)
This reverts commit ffad7279cbad3c4f2ea786287b4624d3a3aa18d7.
old-commit-hash: a91764954b
2023-08-08 14:24:04 -07:00
Justin Newberry
99006365a3 CI: pylint to ruff (#29276)
* pylint to riff

* pylint to riff

* pylint to riff

* revert more

* undo exclude removal

* exclude tinygrad
old-commit-hash: cb31a53d8a
2023-08-08 13:41:30 -07:00
mitchellgoffpc
08ee4ec85e Revert "special opencv is only for xx (#29161)"
old-commit-hash: 4a40bde5aa
2023-08-04 17:02:03 -07:00
Vivek Aithal
e8d84e11f5 [commabody] Add body packages to op (#29162)
* add body packages

* update poetry lock
old-commit-hash: 156c7a84e8
2023-07-26 23:08:23 -07:00
Adeeb Shihadeh
9ccb51a633 special opencv is only for xx (#29161)
old-commit-hash: fb70913ffd
2023-07-26 20:31:52 -07:00
YassineYousfi
69b4fc489b add apex to dependencies (#29139)
* apex back

* update lock

---------

Co-authored-by: ZwX1616 <zwx1616@gmail.com>
old-commit-hash: 2a027b9179
2023-07-25 14:57:06 -07:00
Harald Schäfer
04d0ebdc07 Python packages: unpin (#29089)
* update scikit

* Unpin openpilot

* Unpin dev

* Unpin xx

* pin parametrized

* Poetry lock

* accidentally deleted
old-commit-hash: a13cab302e
2023-07-24 19:01:09 -07:00
Adeeb Shihadeh
2295bc3848 remove unused python packages (#29099)
old-commit-hash: 128f261173
2023-07-22 14:12:28 -07:00
Adeeb Shihadeh
b0c3778aae agnos 8 (#28843)
* agnos 8

* update to python 3.11.4 (#27452)

* rebase

* optional

* lower cython

* TEMP don't pull cl to use python3.11

* Revert "lower cython"

This reverts commit c5132f8a2727c212bdfc01e77aa53e50a17ead9d.

* fix cython

* remove tensorrt

* carla + opencv

* macos

* update timm and smp

* pynvc

* https

* downgrade numpy

* pin scipy

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>

* revert that

* fix linter

---------

Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
Co-authored-by: Yassine <yassine.y10@gmail.com>
old-commit-hash: 1945c356c2
2023-07-20 21:56:57 -07:00
Adeeb Shihadeh
33e6aad83b Revert "Update pycapnp and Cython (#29021)"
This reverts commit 9f80430d3958cbcf4fb9b67a428f45fd034c5649.

old-commit-hash: 9c307f2550
2023-07-18 18:47:35 -07:00
Maxime Desroches
6ba97408e9 Update pycapnp and Cython (#29021)
* cython + pycapnp

* from_bytes with context

* poetry lock

* limit numpy

* force build

* Revert "force build"

This reverts commit 8c7cb00421da9d0f1b7da2c94f75e9c43733f840.

---------

Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
old-commit-hash: 76ef1b9b9f
2023-07-18 16:40:36 -07:00