You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In tox.ini:
- Replace whitelist_externals with allowlist_externals because whitelist_externals is deprecated
- Added isolated_build = True
- Remove install_command where it calls tox_install.sh
- Drop tool.poetry.dev-dependencies and switch to using tool.poetry.extras in order for tox to detect them
In ci.yml
- Because now use tool.poetry.extras so when call `poetry install` need to incldue `—extras ‘test’` as argument
The last 2 points about dropping dev-dependencies and using extras are from https://github.com/orgs/python-poetry/discussions/4307#discussioncomment-1041658Fixestorchbox#212, torchbox#214, torchbox#215, torchbox#216, torchbox#218
Reproduced in https://stackoverflow.com/questions/75910092/how-to-fix-tox-ini-when-it-keeps-complaining-about-no-module-named-coverage
See the relevant PR #213
and related to #212 after allowlist_externals replaced whitelist_externals
The text was updated successfully, but these errors were encountered: