Update Python packages and pre-commit hooks (#30269)

* Update Python packages and pre-commit hooks

* fix pyqt

---------

Co-authored-by: adeebshihadeh <adeebshihadeh@users.noreply.github.com>
old-commit-hash: 13bf8c26f3
testing-closet
Adeeb Shihadeh 2 years ago committed by GitHub
parent a544533476
commit 58df021bd7
  1. 2
      .pre-commit-config.yaml
  2. 4
      poetry.lock
  3. 4
      pyproject.toml
  4. 4
      tools/install_python_dependencies.sh

@ -41,7 +41,7 @@ repos:
args: ['--explicit-package-bases'] args: ['--explicit-package-bases']
exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)' exclude: '^(third_party/)|(cereal/)|(opendbc/)|(panda/)|(laika/)|(laika_repo/)|(rednose/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)|(xx/)'
- repo: https://github.com/astral-sh/ruff-pre-commit - repo: https://github.com/astral-sh/ruff-pre-commit
rev: v0.0.292 rev: v0.1.0
hooks: hooks:
- id: ruff - id: ruff
exclude: '^(third_party/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(laika_repo/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)' exclude: '^(third_party/)|(cereal/)|(rednose/)|(panda/)|(laika/)|(laika_repo/)|(rednose_repo/)|(tinygrad/)|(tinygrad_repo/)'

4
poetry.lock generated

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1 version https://git-lfs.github.com/spec/v1
oid sha256:3e9b9bda9871d24ea24eda2b30078ad87b20eb57e00296c0170bb6aa6df10510 oid sha256:d033a318c61874aa3a228cef58720bb818476a2d69f0270b5fcd7123a6829a8b
size 454526 size 455011

@ -162,7 +162,9 @@ types-pycurl = "*"
types-PyYAML = "*" types-PyYAML = "*"
types-requests = "*" types-requests = "*"
types-tabulate = "*" types-tabulate = "*"
pyqt5 = { version = "*", markers = "platform_machine == 'x86_64'" } # no aarch64 wheels for macOS/linux
# this is only pinned since 5.15.11 is broken
pyqt5 = { version = "==5.15.2", markers = "platform_machine == 'x86_64'" } # no aarch64 wheels for macOS/linux
[tool.poetry.group.carla] [tool.poetry.group.carla]
optional = true optional = true

@ -54,8 +54,8 @@ fi
eval "$(pyenv init --path)" eval "$(pyenv init --path)"
echo "update pip" echo "update pip"
pip install pip==23.2.1 pip install pip==23.3
pip install poetry==1.5.1 pip install poetry==1.6.1
poetry config virtualenvs.prefer-active-python true --local poetry config virtualenvs.prefer-active-python true --local
poetry config virtualenvs.in-project true --local poetry config virtualenvs.in-project true --local

Loading…
Cancel
Save