diff --git a/.github/workflows/python-ci.yml b/.github/workflows/python-ci.yml index c8cdbcc58a..1be60dc688 100644 --- a/.github/workflows/python-ci.yml +++ b/.github/workflows/python-ci.yml @@ -64,6 +64,12 @@ jobs: run: make install-dependencies - name: Run linters run: make lint + - name: Check if .so file exists + run: ls -lh pyiceberg/avro/ + - name: Print PYTHONPATH and files + run: | + echo $PYTHONPATH + find . -name "decoder_fast*" - name: Run unit tests with coverage run: COVERAGE=1 make test - name: Generate coverage report (85%) # Coverage threshold should only increase over time — never decrease it! diff --git a/Makefile b/Makefile index 859d8dfa23..94ad14c0d9 100644 --- a/Makefile +++ b/Makefile @@ -48,12 +48,12 @@ help: ## Display this help message install-poetry: ## Ensure Poetry is installed at the specified version @if ! command -v poetry &> /dev/null; then \ echo "Poetry not found. Installing..."; \ - pip install --user poetry==$(POETRY_VERSION); \ + python -m pip install --user poetry==$(POETRY_VERSION); \ else \ - INSTALLED_VERSION=$$(pip show poetry | grep Version | awk '{print $$2}'); \ + INSTALLED_VERSION=$$(python -m pip show poetry | grep Version | awk '{print $$2}'); \ if [ "$$INSTALLED_VERSION" != "$(POETRY_VERSION)" ]; then \ echo "Updating Poetry to version $(POETRY_VERSION)..."; \ - pip install --user --upgrade poetry==$(POETRY_VERSION); \ + python -m pip install --user --upgrade poetry==$(POETRY_VERSION); \ else \ echo "Poetry version $(POETRY_VERSION) already installed."; \ fi; \