Skip to content

Commit

Permalink
use pipx
Browse files Browse the repository at this point in the history
  • Loading branch information
hendrikmuhs committed Nov 25, 2024
1 parent e3d2bc0 commit 8df1df9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
6 changes: 2 additions & 4 deletions .github/workflows/python-cibuildwheel-pybind.yml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ jobs:
- name: install Linux deps
run: |
sudo apt-get update && \
sudo apt-get install -y libsnappy-dev libzzip-dev zlib1g-dev libboost-all-dev ccache ninja-build
sudo apt-get install -y libsnappy-dev libzzip-dev zlib1g-dev libboost-all-dev ccache ninja-build pipx
- name: ccache
uses: hendrikmuhs/[email protected]
with:
Expand All @@ -152,9 +152,7 @@ jobs:
- name: Build SDist
run: |
export PATH="/usr/lib/ccache:/usr/local/opt/ccache/libexec:$PATH"
python -m pip install --upgrade build && \
python -m pip install . && \
python -m build --sdist
pipx run build --sdist
python -m pip install dist/*.tar.gz -v && \
python -m pip install pytest && \
python -m pytest python-pybind/tests && \
Expand Down
2 changes: 1 addition & 1 deletion python-pybind/tests/match_object_test.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# -*- coding: utf-8 -*-
# Usage: py.test tests

import keyvi_pybind11 as keyvi
import keyvi_scikit_core as keyvi
#from test_tools import tmp_dictionary
import warnings

Expand Down

0 comments on commit 8df1df9

Please sign in to comment.