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

treat isolated_build as an alias for wheel_pep517 #6

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

graingert
Copy link
Contributor

the isolated_build flag is documented as enabling pep517 already: Activate isolated build environment. tox will use a virtual environment to build a source distribution from the source tree. For build tools and arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.

the isolated_build flag is documented as enabling pep517 already: Activate isolated build environment. tox will use a virtual environment to build a source distribution from the source tree. For build tools and arguments use the pyproject.toml file as specified in PEP-517 and PEP-518.
reporter.warning("Disabling isolated_build, not supported with wheels.")
pep517 = venv.envconfig.wheel_pep517
if pep517:
if config.isolated_build or venv.envconfig.wheel_pep517:
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

@graingert graingert Sep 24, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did I put that warning I wonder ...

@ionelmc I'm not sure, it seems sensible to me to process the flag for its stated purpose rather than claim to disable it while not disabling it

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I presume the warning predates wheel_pep517?

@ionelmc
Copy link
Owner

ionelmc commented Sep 24, 2020

Why did I put that warning I wonder ...

@ionelmc ionelmc merged commit 97a9e89 into ionelmc:master Sep 28, 2020
@ionelmc
Copy link
Owner

ionelmc commented Sep 28, 2020

Alright. I guess I put it there because isolated_builds don't work with the legacy wheel building, nor it makes sense.

@graingert graingert deleted the patch-1 branch September 28, 2020 07:01
@ionelmc
Copy link
Owner

ionelmc commented Oct 28, 2020

Actually, now that I think a bit this is wrong - having a plugin installed shouldn't change behavior if there wasn't any opt-in the configuration (eg: wheel=true). Might need to revert this to prevent surprising behavior. @graingert

@graingert
Copy link
Contributor Author

@ionelmc this doesn't trigger without wheel=True

TeoZosa added a commit to TeoZosa/structlog-sentry-logger that referenced this pull request Sep 11, 2021
TeoZosa added a commit to TeoZosa/structlog-sentry-logger that referenced this pull request Sep 11, 2021
TeoZosa added a commit to TeoZosa/structlog-sentry-logger that referenced this pull request Sep 11, 2021
TeoZosa added a commit to TeoZosa/cookiecutter-cruft-poetry-tox-pre-commit-ci-cd that referenced this pull request Sep 11, 2021
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