Skip to content

Commit

Permalink
CI: Adjust configuration to install all extra
Browse files Browse the repository at this point in the history
The `all` extra bundles all optional dependencies, like, in this case,
`numpy`, added to support the `FLOAT_VECTOR` data type.
  • Loading branch information
amotl committed Dec 21, 2023
1 parent 544b434 commit 82a9734
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 9 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,16 +54,13 @@ jobs:
cache-dependency-path:
pyproject.toml

- name: Set up project
- name: Update setuptools
run: |
# `setuptools 0.64.0` adds support for editable install hooks (PEP 660).
# https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400
pip install "setuptools>=64" --upgrade
# Install package in editable mode.
pip install --use-pep517 --prefer-binary --editable='.[develop,test]'
- name: Invoke tests
run: |
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,16 +64,13 @@ jobs:
cache-dependency-path:
pyproject.toml

- name: Set up project
- name: Update setuptools
run: |
# `setuptools 0.64.0` adds support for editable install hooks (PEP 660).
# https://github.com/pypa/setuptools/blob/main/CHANGES.rst#v6400
pip install "setuptools>=64" --upgrade
# Install package in editable mode.
pip install --use-pep517 --prefer-binary --editable='.[develop,test]'
- name: Invoke tests
run: |
Expand Down
2 changes: 1 addition & 1 deletion bootstrap.sh
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ function setup_package() {
fi

# Install package in editable mode.
pip install ${PIP_OPTIONS} --editable='.[develop,test]'
pip install ${PIP_OPTIONS} --use-pep517 --prefer-binary --editable='.[all,develop,test]'

# Install designated SQLAlchemy version.
if [ -n "${SQLALCHEMY_VERSION}" ]; then
Expand Down

0 comments on commit 82a9734

Please sign in to comment.