mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-09-29 02:43:50 +08:00
update python to 3.11.4 (#120)
* 3.11.4
* pre-commit
* revert pycapnp
* revert pycapnp
* update pyqt
* try this
* unpin
* Revert "unpin"
This reverts commit d97316717d.
* comment
---------
Co-authored-by: Maxime Desroches <desroches.maxime@gmail.com>
This commit is contained in:
@@ -12,6 +12,6 @@ jobs:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.8'
|
||||
python-version: '3.11.4'
|
||||
- run: 'pip install pre-commit'
|
||||
- run: 'pre-commit run --all'
|
||||
|
||||
+1
-1
@@ -83,7 +83,7 @@ RUN export PATH="/usr/local/pyenv/bin:/usr/local/pyenv/shims:$PATH" && \
|
||||
eval "$(pyenv init -)" && \
|
||||
eval "$(pyenv virtualenv-init -)" && \
|
||||
export MAKEFLAGS="-j40" && \
|
||||
pip install pyqt5-sip==12.9.0 && \
|
||||
pip install pyqt5-sip==12.12.1 && \
|
||||
pip install pyqt5==5.15.9 --verbose --config-settings --confirm-license= && \
|
||||
pyenv rehash
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@ export QT_QPA_PLATFORM="wayland-egl"
|
||||
# python setup
|
||||
export PYTHONPATH="/data/pythonpath"
|
||||
export PATH="/usr/local/pyenv/bin:$PATH"
|
||||
export PYENV_VERSION="3.8.10"
|
||||
export PYENV_VERSION="3.11.4"
|
||||
export PYENV_ROOT="/usr/local/pyenv"
|
||||
|
||||
# output of "pyenv init - --no-rehash"
|
||||
|
||||
@@ -8,7 +8,7 @@ curl https://pyenv.run | bash
|
||||
export PATH="$PYENV_ROOT/bin:$PATH"
|
||||
eval "$(pyenv init -)"
|
||||
|
||||
PYTHON_VERSION="3.8.10"
|
||||
PYTHON_VERSION="3.11.4"
|
||||
if [ "$(uname -p)" == "aarch64" ]; then
|
||||
pyenv install --verbose $PYTHON_VERSION
|
||||
else
|
||||
|
||||
Generated
+2353
-2676
File diff suppressed because it is too large
Load Diff
@@ -5,13 +5,13 @@ authors = ["Vehicle Researcher <user@comma.ai>"]
|
||||
description = ""
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
python = "^3.8"
|
||||
python = "~3.11"
|
||||
atomicwrites = "*"
|
||||
cffi = "*"
|
||||
crcmod = "*"
|
||||
hexdump = "*"
|
||||
libusb1 = "*"
|
||||
numpy = "*"
|
||||
numpy = "==1.24.2" # can be unpinned once acados is updated
|
||||
psutil = "*"
|
||||
pycapnp = "==1.1.0"
|
||||
cryptography = "*"
|
||||
@@ -51,7 +51,7 @@ onnxruntime = "*"
|
||||
pyopencl = "*"
|
||||
pytest = "*"
|
||||
hatanaka = "==2.4"
|
||||
protobuf = "==3.20.1" # need to pin this one explicitly since onnx doesn't do it properly
|
||||
protobuf = "*"
|
||||
torch = "*"
|
||||
spidev = "*"
|
||||
spidev2 = "*"
|
||||
|
||||
Reference in New Issue
Block a user