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

Installation using pip 19.3.1 using git+ fails #10

Open
jayvdb opened this issue Dec 26, 2019 · 3 comments
Open

Installation using pip 19.3.1 using git+ fails #10

jayvdb opened this issue Dec 26, 2019 · 3 comments

Comments

@jayvdb
Copy link
Contributor

jayvdb commented Dec 26, 2019

./bin/pip install 'git+https://github.com/dephell/dephell works, but the same doesnt work here 'git+https://github.com/dephell/dephell_archive' because it doesnt have a setup.py/.cfg/etc. I appreciate that you likely dont want to create these files for all repos, but maybe there is a workaround, or possibly a new dephell tool?.

./bin/pip install 'git+https://github.com/dephell/dephell_archive'
Collecting git+https://github.com/dephell/dephell_archive
  Cloning https://github.com/dephell/dephell_archive to /tmp/pip-req-build-ozd9kiqg
  Running command git clone -q https://github.com/dephell/dephell_archive /tmp/pip-req-build-ozd9kiqg
  Installing build dependencies ... done
  Getting requirements to build wheel ... done
    Preparing wheel metadata ... done
Building wheels for collected packages: UNKNOWN
  Building wheel for UNKNOWN (PEP 517) ... done
  Created wheel for UNKNOWN: filename=UNKNOWN-0.0.0-cp37-none-any.whl size=1788 sha256=2fbed720ce0681e2e09b4da90a395e31ee224dd3ad086344d4fd1b83b12fa6f0
  Stored in directory: /tmp/pip-ephem-wheel-cache-mfoqfw4o/wheels/1d/e9/34/a547e91f29439fb316449bcc47f1738c9264b2706e352fd0d9
Successfully built UNKNOWN
Installing collected packages: UNKNOWN
Successfully installed UNKNOWN-0.0.0

lib/python3.7/site-packages/UNKNOWN-0.0.0.dist-info/top_level.txt is empty, so nothing was installed.

Likely there is an upstream issue in pip project about it, worth finding and tracking.

@jayvdb
Copy link
Contributor Author

jayvdb commented Jan 3, 2020

I will have an update for this in a few days.
(related to dephell/dephell_specifier#13, dephell/dephell_pythons#8 and dephell/dephell_shells#3)

@orsinium
Copy link
Member

orsinium commented Jan 4, 2020

I'm going to make PEP-518 interface for DepHell, it will solve such cases

@jayvdb
Copy link
Contributor Author

jayvdb commented Mar 29, 2020

@orsinium , any progress with the PEP-518 interface? Is it an existing issue/PR for that?

I guess this could be solved by adding adding a poetry PEP-517 handler into pyproject.toml for each @dephell project, like

[build-system]
requires = ["poetry>=0.12"]
build-backend = "poetry.masonry.api"

fwiw, I have built https://github.com/jayvdb/pypidb to make it possible to generically build tools that bridge the gap between PyPI name and SCM.

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

No branches or pull requests

2 participants