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:
Adeeb Shihadeh
2023-07-05 17:40:34 -07:00
committed by GitHub
parent facc147726
commit 52b83f9638
6 changed files with 2360 additions and 2683 deletions
+1 -1
View File
@@ -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
View File
@@ -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
+1 -1
View File
@@ -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"
+1 -1
View File
@@ -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
+2353 -2676
View File
File diff suppressed because it is too large Load Diff
+3 -3
View File
@@ -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 = "*"