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

Editable mode is not supported for pyproject.toml-style projects. #2006

Closed
decentral1se opened this issue Apr 24, 2019 · 4 comments · Fixed by #2009
Closed

Editable mode is not supported for pyproject.toml-style projects. #2006

decentral1se opened this issue Apr 24, 2019 · 4 comments · Fixed by #2009
Labels

Comments

@decentral1se
Copy link
Contributor

decentral1se commented Apr 24, 2019

For Tox 3.9.0, I see now the following when running the unit tests:

ERROR: Error installing 'file:///home/decentral1se/ansible/molecule': editable mode is not supported for pyproject.toml-style projects. This project is being processed as pyproject.toml-style because it has a pyproject.toml file with a "build-backend" key in the "build_system" value. See PEP 517 for the relevant specification.

The fix is to set usedevelop = False and not do any pip install -e stuff.

What do you think @webknjaz.

@decentral1se
Copy link
Contributor Author

decentral1se commented Apr 24, 2019

Wait a second, this is a Pip thing which Tox is reporting. Pip version 19.1

Working on #1811, I've had to temporarily delete the pyproject.toml file and pass --no-use-pep517 to pip install -e . in order to the get cookiecutter template to be passed into the generated role path.

@decentral1se decentral1se changed the title Tox 3.9.0: editable mode is not supported for pyproject.toml-style projects. Editable mode is not supported for pyproject.toml-style projects. Apr 24, 2019
@decentral1se
Copy link
Contributor Author

CI on #1811 is blocked by this.

@webknjaz
Copy link
Member

webknjaz added a commit to webknjaz/molecule that referenced this issue Apr 24, 2019
@helpr helpr bot added the pr-available label Apr 24, 2019
@webknjaz
Copy link
Member

@decentral1se let's just have #2009 for now. Hopefully, tox will provide a native workaround soon and we'll just remove this hack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants