diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1658cda..4cf7345 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -14,7 +14,7 @@ on: jobs: testing: - name: Unit Testing (Python ${{ matrix.python }}) + name: Unit Testing (Python ${{ matrix.python }}, ipywidgets${{ matrix.ipywidgets }}) runs-on: ubuntu-20.04 strategy: matrix: @@ -23,6 +23,9 @@ jobs: - "3.8" - "3.9" - "3.10" + ipywidgets: + - "<8" + - "==8.0.0rc0" steps: - name: Checkout repository @@ -35,6 +38,7 @@ jobs: - name: Install package and development dependencies run: | + python -m pip install "ipywidgets${{ matrix.ipywidgets }}" python -m pip install . python -m pip install -r requirements-dev.txt diff --git a/ipywidgets_jsonschema/__init__.py b/ipywidgets_jsonschema/__init__.py index 3ebd6e0..2dbe7ee 100644 --- a/ipywidgets_jsonschema/__init__.py +++ b/ipywidgets_jsonschema/__init__.py @@ -1,3 +1,3 @@ from ipywidgets_jsonschema.form import Form -__version__ = "0.8.0" +__version__ = "0.8.1" diff --git a/ipywidgets_jsonschema/form.py b/ipywidgets_jsonschema/form.py index ee4ffb8..674f0c1 100644 --- a/ipywidgets_jsonschema/form.py +++ b/ipywidgets_jsonschema/form.py @@ -11,7 +11,7 @@ # We are providing some compatibility for ipywidgets v7 and v8 -IS_VERSION_8 = version.parse(ipywidgets.__version__) >= version.parse("8") +IS_VERSION_8 = version.parse(ipywidgets.__version__).major == 8 class FormError(Exception):