Skip to content

Commit

Permalink
chore: fix wheel tests
Browse files Browse the repository at this point in the history
  • Loading branch information
RomanBredehoft committed Aug 8, 2024
1 parent 9aec9c3 commit e89ead0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/make_utils/check_installation_with_all_python.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ do
rm -rf dist

# Build the wheel file
poetry build -f wheel --dev
poetry build -f wheel

# Install the dependencies as PyPI would do using the wheel file
PYPI_WHEEL=$(find dist -type f -name "*.whl")
Expand Down
5 changes: 4 additions & 1 deletion script/make_utils/pytest_pypi_cml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,15 @@ if ${USE_PIP_WHEEL}; then
rm -rf dist

# Build the wheel file
poetry build -f wheel --dev
poetry build -f wheel

# Install the dependencies as PyPI would do using the wheel file as well as the given
# Concrete-Python version
PYPI_WHEEL=$(find dist -type f -name "*.whl")
python -m pip install --extra-index-url https://pypi.zama.ai/cpu "${PYPI_WHEEL}"

# Install dev dependencies for testing
poetry install --only dev
else
if [ -z "${VERSION}" ]; then
python -m pip install concrete-ml[dev]
Expand Down

0 comments on commit e89ead0

Please sign in to comment.