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
tox cannot detect tool.poetry.dev-dependencies, so the solution adopted is to use tool.poetry.extras instead. Drawback is whenever use poetry install in the normal poetry virtual environment an extra call to poetry install --extras 'test' is required. See https://github.com/orgs/python-poetry/discussions/4307#discussioncomment-1041658 for details
Recommend that tox_install.sh to be deleted, but this is not necessary for now.
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
Related issues:
poetry install
in the normal poetry virtual environment an extra call to poetry install --extras 'test' is required. See https://github.com/orgs/python-poetry/discussions/4307#discussioncomment-1041658 for detailsThis is related to #214, #215, #216.
Detected when trying to solve #212 and #213
The text was updated successfully, but these errors were encountered: