Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add simple option to tox.ini to fix PyPi build #5612

Merged
merged 2 commits into from
Feb 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ jobs:
- name: env setup
run: |
conda activate test-environment
doit develop_install $CHANS_DEV -o flakes
doit develop_install $CHANS_DEV
pip uninstall -y holoviews
doit pip_on_conda
- name: doit env_capture
Expand All @@ -93,7 +93,7 @@ jobs:
- name: pip build
run: |
conda activate test-environment
doit ecosystem=pip package_build --test-group=flakes
doit ecosystem=pip package_build --test-group=simple
- name: pip upload
if: github.event_name == 'push'
run: |
Expand Down
8 changes: 7 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@

[tox]
# python version test group extra envs extra commands
envlist = {py37,py38,py39,py310,py311}-{unit,examples,all_recommended}-{default}-{dev,pkg}
envlist = {py37,py38,py39,py310,py311}-{unit,examples,all_recommended,simple}-{default}-{dev,pkg}

[_simple]
description = Install holoviews without any optional dependencies
deps = .
commands = python -c "import holoviews as hv; print(hv.__version__)"

[_unit_core]
description = Run unit tests with coverage but no optional test dependency
Expand Down Expand Up @@ -47,6 +52,7 @@ commands = examples-pkg: {[_pkg]commands}
unit: {[_unit]commands}
unit_core: {[_unit_core]commands}
unit_gpu: {[_unit_gpu]commands}
simple: {[_simple]commands}
examples: {[_examples]commands}
all_recommended: {[_all_recommended]commands}

Expand Down