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

Use isolated build for tox #229

Merged
merged 2 commits into from
Mar 14, 2022
Merged

Use isolated build for tox #229

merged 2 commits into from
Mar 14, 2022

Conversation

bhrutledge
Copy link
Contributor

This resolves an error when running any tox environment:

% tox -e mypy
GLOB sdist-make: /Users/bhrutledge/Dev/readme_renderer/setup.py
...
running check
Traceback (most recent call last):
...
  File "/Users/bhrutledge/Dev/readme_renderer/readme_renderer/rst.py", line 19, in <module>
    from docutils.core import publish_parts
ModuleNotFoundError: No module named 'docutils'

% tox --version
3.24.5 imported from /Users/bhrutledge/.local/pipx/venvs/tox/lib/python3.8/site-packages/tox/__init__.py

See https://tox.wiki/en/latest/config.html#conf-isolated_build

This resolves an error when running any tox environment:

```
% tox -e mypy
GLOB sdist-make: /Users/bhrutledge/Dev/readme_renderer/setup.py
...
running check
Traceback (most recent call last):
...
  File "/Users/bhrutledge/Dev/readme_renderer/readme_renderer/rst.py", line 19, in <module>
    from docutils.core import publish_parts
ModuleNotFoundError: No module named 'docutils'

% tox --version
3.24.5 imported from /Users/bhrutledge/.local/pipx/venvs/tox/lib/python3.8/site-packages/tox/__init__.py
```

See https://tox.wiki/en/latest/config.html#conf-isolated_build
@bhrutledge bhrutledge requested a review from di March 12, 2022 10:41
@di di merged commit d30282f into pypa:main Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants