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

[WIP] Add test for pip installing pendulum failing #2262

Conversation

altendky
Copy link
Contributor

@altendky altendky commented Apr 3, 2020

sdispater/pendulum#458

This PR is most likely going to be deleted but I wanted to provide a reproducible scenario for ... well, the --no-binary part is what I did in #458 but the error is what is reported in #454.

I will explicitly point out that this would _not_ use the master source of poetry but rather whatever pendulum claims to depend on. Again, this is a publicly running demonstration, not a proposed test or solution. My guess at the solution is to add setuptools as a poetry installation dependency so it will have setuptools when 517 results in poetry installation. Or maybe the build-system requires for pendulum should just get a setuptools. I dunno...

def test_can_install_pendulum_sdist(tmp_venv):
installer = PipInstaller(tmp_venv, NullIO(), Pool())

installer.run("install", "--no-binary", ":all:", "pendulum")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This will fail today because poetry-core 1.0.0a5 cannot be installed from source. When pendulum is attempted to be built using PEP-517.

Using pip install --no-binary pendulum should progress further. But will fail when we hit pendulum. Which again attempts to install using setuptools.

This should be resolved once python-poetry/poetry-core#24 is merged.

Julian added a commit to Julian/dotfiles that referenced this pull request Jun 7, 2020
Installing it has been broken for a few months -- not
sure what the status is or whether there's a desire to
fix it (see sdipater/pendulum#454 and python-poetry/poetry#2262)
but it's annoying enough that I think it's easier to just
axe, given I haven't really gotten enough time to review the two
issue tickets.
@abn
Copy link
Member

abn commented Mar 21, 2021

I suspect this is no longer an issue. Closing this for now. Feel free to re-open if this still needs to be added into the codebase.

@abn abn closed this Mar 21, 2021
Julian added a commit to Julian/dotfiles that referenced this pull request Jun 18, 2022
Installing it has been broken for a few months -- not
sure what the status is or whether there's a desire to
fix it (see sdipater/pendulum#454 and python-poetry/poetry#2262)
but it's annoying enough that I think it's easier to just
axe, given I haven't really gotten enough time to review the two
issue tickets.
Copy link

github-actions bot commented Mar 1, 2024

This pull request 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 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants