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

Can not install 'stylus': EnvCommandError #4903

Closed
3 tasks done
amhndu opened this issue Dec 16, 2021 · 3 comments · Fixed by #5767
Closed
3 tasks done

Can not install 'stylus': EnvCommandError #4903

amhndu opened this issue Dec 16, 2021 · 3 comments · Fixed by #5767
Labels
kind/bug Something isn't working as expected

Comments

@amhndu
Copy link

amhndu commented Dec 16, 2021

  • 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).

Issue

I can not install stylus with poetry on Linux. (tried on both opensuse and ubuntu). It appears to try installing some macos package and fails. Using regular pip install stylus however works. Also, explicitly adding the source tar.gz link works.

Steps to reproduce:

$ mkdir stylusmvp && cd stylusmvp
$ poetry init -n
$ poetry add stylus

Verbose logs: here

@amhndu amhndu added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Dec 16, 2021
@finswimmer
Copy link
Member

Hello @amhndu,

seems to the same issue as in #3649.

Can you test my PR #3656?

pix install poetry --suffix=@fix 'poetry @ git+https://github.com/finswimmer/poetry.git@issue/3649-package-types'
poetry@fix init -n
poetry@fix add stylus

@amhndu
Copy link
Author

amhndu commented Dec 17, 2021

That works!
(Aside: had to remove that suffix flag).

Closing this issue since it's a duplicate.

@amhndu amhndu closed this as completed Dec 17, 2021
@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
neersighted pushed a commit that referenced this issue Sep 7, 2022
Only follow and lock links for packages of type `sdist` or `bdist_wheel`
in PyPi repository.

Closes: #3649
Closes: #4903

(This is a port of #3656.)
poetry-bot bot pushed a commit that referenced this issue Sep 7, 2022
Only follow and lock links for packages of type `sdist` or `bdist_wheel`
in PyPi repository.

Closes: #3649
Closes: #4903

(This is a port of #3656.)

(cherry picked from commit a38abcf)
neersighted pushed a commit that referenced this issue Sep 7, 2022
Only follow and lock links for packages of type `sdist` or `bdist_wheel`
in PyPi repository.

Closes: #3649
Closes: #4903

(This is a port of #3656.)

(cherry picked from commit a38abcf)
Copy link

github-actions bot commented Mar 2, 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 2, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants