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

poetry install pendulum --git #434

Closed
3 tasks done
nackjicholson opened this issue Sep 14, 2018 · 9 comments
Closed
3 tasks done

poetry install pendulum --git #434

nackjicholson opened this issue Sep 14, 2018 · 9 comments
Labels
area/installer Related to the dependency installer kind/bug Something isn't working as expected

Comments

@nackjicholson
Copy link

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
Poetry
======

 * Version: 0.11.4
 * Python:  3.6.5


Virtualenv
==========

 * Python:         3.6.5
 * Implementation: CPython
 * Path:           /Users/nackjicholson/Library/Caches/pypoetry/virtualenvs/source-data-service-py3.6


System
======

 * Platform: darwin
 * OS:       posix

Issue

Can't install pendulum from git because it doesn't have a setup.py...

[VenvCommandError]                                                                                                                                                                
Command ['pip', 'install', '--no-deps', 'git+https://github.com/sdispater/pendulum.git@7de6f28de967ea51d1f283125ecf0f578b35e185#egg=pendulum'] errored with the following outpu   
t:                                                                                                                                                                                
Collecting pendulum from git+https://github.com/sdispater/pendulum.git@7de6f28de967ea51d1f283125ecf0f578b35e185#egg=pendulum                                                      
  Cloning https://github.com/sdispater/pendulum.git (to 7de6f28de967ea51d1f283125ecf0f578b35e185) to /private/var/folders/49/7rty082j7y3gp2_804j7bpbc0000gn/T/pip-build-_dtdo8i   
a/pendulum                                                                                                                                                                        
  Could not find a tag or branch '7de6f28de967ea51d1f283125ecf0f578b35e185', assuming commit.                                                                                     
    Complete output from command python setup.py egg_info:                                                                                                                        
    Traceback (most recent call last):                                                                                                                                            
      File "<string>", line 1, in <module>                                                                                                                                        
      File "/usr/local/Cellar/python/3.6.5/Frameworks/Python.framework/Versions/3.6/lib/python3.6/tokenize.py", line 452, in open                                                 
        buffer = _builtin_open(filename, 'rb')                                                                                                                                   
    FileNotFoundError: [Errno 2] No such file or directory: '/private/var/folders/49/7rty082j7y3gp2_804j7bpbc0000gn/T/pip-build-_dtdo8ia/pendulum/setup.py'                      
                                                                                                                                                                                 
    ----------------------------------------                                                                                                                                     
Command "python setup.py egg_info" failed with error code 1 in /private/var/folders/49/7rty082j7y3gp2_804j7bpbc0000gn/T/pip-build-_dtdo8ia/pendulum/                             
You are using pip version 9.0.3, however version 18.0 is available.                                                                                                              
You should consider upgrading via the 'pip install --upgrade pip' command.
@Patristo
Copy link

I believe your issue is the same as #321 - it should be resolved when pip supports PEP 517

@nackjicholson
Copy link
Author

Okay, closing then. Perhaps this should be stated as "expectedly broken" somewhere. All documentation and examples led me to believe poetry could do this already and wasn't waiting on a PEP.

@sdispater
Copy link
Member

This was actually a bug in my opinion since Poetry should be able to handle itself.

It's has been fixed in commit 58e3676 and this something that will land in the next 0.12 release.

@Patristo
Copy link

Thanks for the clarification!

@timonbimon
Copy link

I am still getting the same error when using poetry 0.12.4 (the FileNotFoundError for the setup.py) - is this my mistake or has it not been fixed with the 0.12 release yet?

@sdispater
Copy link
Member

@timonbimon There is still an issue actually. I know where it's coming from and it should be an easy fix. I will keep you posted.

@sdispater sdispater reopened this Oct 22, 2018
@sdispater sdispater added kind/bug Something isn't working as expected area/installer Related to the dependency installer labels Oct 22, 2018
@timonbimon
Copy link

timonbimon commented Oct 23, 2018

awesome thanks a lot for the quick reply. and thanks even more for all the hard work, poetry is really the best :)

@sdispater
Copy link
Member

Release 0.12.5 should fix the issue.

Copy link

github-actions bot commented Mar 3, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area/installer Related to the dependency installer kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

4 participants