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

Fix editable installs with modern pip #652

Closed
Juanlu001 opened this issue Apr 25, 2019 · 2 comments

Comments

@Juanlu001
Copy link
Member

commented Apr 25, 2019

From #650:

ERROR: Error installing 'file:///home/circleci/repo': editable mode is not supported for pyproject.toml-style projects. pip is processing this project as pyproject.toml-style because it has a pyproject.toml file. Since the project has a setup.py and the pyproject.toml has no "build-backend" key for the "build_system" value, you may pass --no-use-pep517 to opt out of pyproject.toml-style processing. See PEP 517 for details on pyproject.toml-style projects.

We need to specify that we are still using setuptools as the build backend in https://github.com/poliastro/poliastro/blob/master/pyproject.toml.

@Juanlu001 Juanlu001 added the bug label Apr 25, 2019

@Juanlu001

This comment has been minimized.

Copy link
Member Author

commented Apr 25, 2019

Rather: --no-use-pep517

see: pypa/pip#6314 (comment)

I'd take a hardline view here. Given that PEP 517 doesn't support editable installs, projects shouldn't be using PEP 517 if they want to support them.

@Juanlu001

This comment has been minimized.

Copy link
Member Author

commented Apr 25, 2019

Alternative: jaraco/skeleton@32b254d

Which... is not documented anywhere?

Juanlu001 added a commit to Juanlu001/poliastro that referenced this issue Apr 25, 2019

@Juanlu001 Juanlu001 closed this in dbbb24d Apr 25, 2019

vedang08 added a commit to vedang08/poliastro that referenced this issue May 3, 2019

Sedictious added a commit to Sedictious/poliastro that referenced this issue Jun 25, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
1 participant
You can’t perform that action at this time.