workaround for mypy/setuptools incompatibility
New (>=64) setuptools has changed the way editable installs work, but unfortunately the new method is not compatible with static type checkers (mypy)
@@ -16,8 +16,7 @@ jobs:
- name: Install napari
run: |
pip install mypy types-PyYAML types-setuptools
- pip install -e .[all]
+ SETUPTOOLS_ENABLE_FEATURES="legacy-editable" pip install -e .[all]
- name: Run mypy on typed modules
- if: ${{ false }}
run: make typecheck
