Skip to content

Commit

Permalink
python 3.11
Browse files Browse the repository at this point in the history
  • Loading branch information
YassineYousfi committed Jul 19, 2023
1 parent d8c6758 commit 5536005
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ WORKDIR $HOME
# Install python
ENV PATH="${HOME}/.pyenv/bin:${HOME}/.pyenv/shims:${PATH}"
RUN curl -L https://github.com/pyenv/pyenv-installer/raw/master/bin/pyenv-installer | bash && \
CONFIGURE_OPTS="--enable-shared" pyenv install 3.8.10 && \
pyenv global 3.8.10 && \
CONFIGURE_OPTS="--enable-shared" pyenv install 3.11.4 && \
pyenv global 3.11.4 && \
pyenv rehash

# Note: We can upgrade to the latest version of scikit-build after the next opencv-python release
Expand Down
2 changes: 1 addition & 1 deletion auditwheel-min.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from auditwheel.policy import _POLICIES as POLICIES
from auditwheel.lddtree import lddtree

ldd_tree = lddtree('_skbuild/linux-x86_64-3.8/cmake-install/cv2/cv2.abi3.so')
ldd_tree = lddtree('_skbuild/linux-x86_64-3.11/cmake-install/cv2/cv2.abi3.so')
exclude_libs = [x for x in ldd_tree['libs'].keys() if not x.startswith('libopencv_')]

for p in POLICIES:
Expand Down
2 changes: 1 addition & 1 deletion verify-libs.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Make sure we didn't include any libraries except libopencv
# Make sure we didn't include any libraries except libopencv
import sys
import zipfile

Expand Down

0 comments on commit 5536005

Please sign in to comment.