Adeeb Shihadeh
284512b2ca
python dependency notes ( #32668 )
1 year ago
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
1 year ago
Adeeb Shihadeh
51fdf23304
thermald is hardwared ( #32637 )
...
* thermald is deviced
* hardwared
* rename
1 year ago
Adeeb Shihadeh
34e329649d
boardd is pandad ( #32628 )
...
* boardd is pandad
* rename tests
1 year ago
Adeeb Shihadeh
149238845c
Revert "`pytest`: discover `openpilot/` ( #32561 )" ( #32622 )
...
This reverts commit 00b10f3d9a
.
1 year ago
Adeeb Shihadeh
57a9761186
add pytest-repeat ( #32612 )
1 year ago
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>
1 year ago
Hoang Bui
aa081f5748
Simulator: update MetaDrive to latest ( #32576 )
...
* bump metadrive
* comment
1 year ago
Adeeb Shihadeh
ccbca2ac95
Revert "pyproject: support >= 3.11"
...
This reverts commit 390caeb011
.
1 year ago
Adeeb Shihadeh
390caeb011
pyproject: support >= 3.11
1 year ago
Adeeb Shihadeh
73b02f2cda
updated: finish system/ move ( #32535 )
...
* updated: finish system/ move
* add those back
* skip that
* skip whole file
* one more time
1 year ago
Adeeb Shihadeh
b9244f1031
move rerun to dev dependencies ( #32534 )
1 year ago
Adeeb Shihadeh
b2cf9b35f6
thermald: move to system/ ( #32494 )
...
* thermald: move to system/
* fix path
* revert
1 year ago
Adeeb Shihadeh
0e3df5ae4d
ruff: enable TRY
1 year ago
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
1 year ago
Adeeb Shihadeh
788c4edeec
ruff: enable NPY
1 year ago
Adeeb Shihadeh
3279dbeff7
athena: move to system/ ( #32488 )
...
* athena: move to system/
* slash
1 year ago
Mauricio Alvarez Leon
bd6bea39bf
deps: add rerun-sdk into pyproject.toml ( #32472 )
...
* add rerun-sdk into pyproject.toml
* install/wheel cleanup
* unpin version
1 year ago
Adeeb Shihadeh
4c558e45b9
control is still used
1 year ago
Adeeb Shihadeh
1e08132cdf
gc unused python deps
1 year ago
Adeeb Shihadeh
985b22d4b7
add [project] section to pyproject.toml
1 year ago
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>
1 year ago
Shane Smiskol
84c15e9d31
Revert "python deps: add sortedcontainers" ( #32433 )
...
Revert "python deps: add sortedcontainers (#32428 )"
This reverts commit db8273823d
.
1 year ago
YassineYousfi
db8273823d
python deps: add sortedcontainers ( #32428 )
1 year ago
Adeeb Shihadeh
f3a49a29b7
unpin casadi ( #32316 )
1 year ago
Justin Newberry
257db40d57
ruff: Exclude body and cereal ( #31782 )
2 years ago
Clark934
997bb65e54
ruff: set tab size and quote style ( #31749 )
2 years ago
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
2 years ago
Justin Newberry
262b328ad7
ban pytest.main ( #31623 )
...
ban it!
2 years ago
Cameron Clough
80da3aee14
mypy: use implicit-optional ( #31590 )
...
* mypy: set implicit-optional = true
* find and replace '| None = None' -> '= None' in function args
2 years ago
Shane Smiskol
595406be67
ruff: fix deprecated top level linter settings ( #31367 )
...
fix deprecation
2 years ago
Justin Newberry
530902dfad
bump metadrive ( #31342 )
...
bump
2 years ago
Adeeb Shihadeh
eada51ec8e
pin pyopencl to fix aarch64 build ( #31184 )
...
* revert pyopencl
* revert that
2 years ago
Adeeb Shihadeh
1001becfa5
unpin sentry-sdk ( #31183 )
...
* unpin sentry-sdk
* update
2 years ago
Adeeb Shihadeh
fe4abaa6f6
add flaky package
2 years ago
Justin Newberry
3b618c4dfd
Simulator: pin metadrive + use pip version ( #31161 )
...
* pin metadrive
* pin
* not on git
2 years ago
Justin Newberry
e2ec5be6ee
test_ui: create test ui screenshots and html report ( #31147 )
...
* test ui
* report + common
* in ci
* fix
* dont enable in ci yet
2 years ago
Justin Newberry
d98b33adc8
replace pytest-timeouts with pytest-timeout ( #31053 )
...
* one timeout
* timeout
* higher timeout for now
* bump
2 years ago
YassineYousfi
86ac700805
update onnxruntime to 1.16.3 ( #31024 )
2 years ago
Adeeb Shihadeh
3e601b5e8f
camerad: move ae test to pytest/catch2 ( #30994 )
...
* mv ae gray test
* cleanup
2 years ago
Adeeb Shihadeh
90010754d6
unpin metadrive package ( #30944 )
...
* unpin metadrive package
* lock
2 years ago
Justin Newberry
cfc85f016b
Pytest: exclude teleoprtc ( #30829 )
...
exclude
2 years ago
Adeeb Shihadeh
b0b4ae9c15
run test_fuzzy.py with pytest
2 years ago
Adeeb Shihadeh
846be323d5
packages cleanup, part two
2 years ago
royjr
70624ffc81
dependency: remove pycurl package ( #30771 )
...
* Update qcomgpsd.py
* Update url_file.py
* remove pycurl
* requests -> urllib3
* unused
* redundant
* fix import
* Revert "requests -> urllib3"
This reverts commit 7ca39e618917986f50356519d2795a432e3a5280.
* headless
* fix trail
* use requests.exceptions.RequestException
* use fp.tell
* fix indents
* reorder imports
* change timeout
* fix debug timing
* remove exception
* add timeout
* missing headers
* move to constructor
* move import
* unused import
* fix debug
* try
* no retries
2 years ago
royjr
7f9e41ce2e
dependency: remove atomicwrites package ( #30769 )
...
* Update file_helpers.py
* remove dependency
* Revert "remove dependency"
This reverts commit e2bd5f4edab7d14b75f65c296631855d886e38d1.
* remove atomicwrites
* allow overwrite
* fix indents
* add type hints
* Update poetry.lock
* optional
* wrap
2 years ago
Adeeb Shihadeh
bc54ed794b
remove PyYAML package ( #30770 )
...
* remove PyYAML package
* remove those
* add comments back
* fix lock
* fix those
2 years ago
Adeeb Shihadeh
a7828eba3c
remove sconscontrib package ( #30767 )
...
* remove sconscontrib package
* lock
2 years ago
Adeeb Shihadeh
dfa2e9146f
cleanup python dependencies ( #30764 )
...
* less
* try to remove that
* little more
* update
* ugh still need this
2 years ago
Justin Newberry
5d668701cb
CI: move test_maprenderer to GH actions ( #30610 )
...
maprenderer to ci
2 years ago