Mauricio Alvarez Leon
148eaf8fa6
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>
11 months ago
Adeeb Shihadeh
b2e4c64cf8
ruff: enable UP
11 months ago
Justin Newberry
4086795c29
Pytest: more post-test path cleanup ( #30556 )
...
* test cleanup
* missed this one
* remove that
* static class
1 year ago
Adeeb Shihadeh
a9626f95b6
add openpilot prefix to imports ( #29498 )
...
* add openpilot prefix to imports
* more
* more
* fix docs
* fix linter
* bump submodules
* fix patched tests
* update dynamic imports
* debug
* Revert "debug"
This reverts commit db5e13b991
.
* fix pm test
2 years ago
Adeeb Shihadeh
0fce5d9045
Move a bunch of stuff to system/ part 3 ( #24829 )
...
* move swaglog.py
* timezoned
* logmessaged
* version.py
* fix linter
3 years ago
Willem Melching
e72d6b5689
navd: rewrite in python ( #24621 )
...
* navd: start python rewrite
* use enum
* send empty instruction packet
* parse banner
* cleanup
* switch to coordinate class
* add segment transition logic
* add recompute logic
* cleanup old navd code
* split out helpers
* cleanup release files
* fix typo
* fix docs
* add typing to helpers
* small fixes
* move outside of ui
* get last pos from param
* add ui restart detection
* check running
* send route
* set navInstruction to invalid with no active route
* whitespace
* do not overwrite response and use ratekeeper
* reuse params object
* remove navd exception
3 years ago
Willem Melching
f7c46c6949
Do not run code on version.py import ( #23063 )
...
* Do not run code on version.py import
* fix athena
3 years ago
Willem Melching
267a0b343b
api_get: keep same api ( #21838 )
4 years ago
Dean Lee
543e019f71
api: use API_HOST env variable everywhere ( #21814 )
...
* api base url to global constant
* update api/__init__.py
4 years ago
Shubham Dhumal
236743a4e2
Fix jwt.encode return type ( #19776 ) ( #19958 )
...
* Fix for issue #19776
PyJWT 2.0.0 does not return `bytes` for `encode()` instead returns `str`. So converted the `str` to `bytes` and returned the resulting value
* added check for jwt.encode return type
* Update __init__.py
* Updated with suggested change
* Test to check return type of get_token()
The `get_token()` must return a `str` but for PyJWT version < 2.0.0 the `jwt.encode()` returns `bytes`. This test is to make sure if token returned by `get_token()` is `str`.
* Update test_get_token.py
* Update test_get_token.py
* Delete test_get_token.py
Co-authored-by: Willem Melching <willem.melching@gmail.com>
4 years ago
Adeeb Shihadeh
ebed2d1dcc
enable flake8 E251: unexpected spaces around keyword / parameter equals
5 years ago
Adeeb
d9bf9f0a40
Enable more flake8 checks ( #1602 )
...
* enable some more flake8 checks
* some more quick ones
* bump opendbc
* e401
* e711 e712
* e115 e116
* e222
* e301
* remove that
* e129
* e701 e702
* e125 e131
* e227
* e306
* e262
* W503
* e713
* e704
* e731
* bump opendbc
* fix some e722
5 years ago
George Hotz
c42e2ecc50
manager runs on Mac, and other openpilot for PC fixes ( #1037 )
...
* use the openpilot/persist directory on PC
* manager runs on mac
* sim runs w/o carla
* fix params location in test
* that rmtree can fail and it's okay
* refactor params clear functionality
* set PARAMS_PATH
5 years ago
George Hotz
e8d888c45b
common folder
5 years ago