-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
[WIP] Add test for pip installing pendulum failing #2262
Conversation
def test_can_install_pendulum_sdist(tmp_venv): | ||
installer = PipInstaller(tmp_venv, NullIO(), Pool()) | ||
|
||
installer.run("install", "--no-binary", ":all:", "pendulum") |
There was a problem hiding this comment.
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.
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.
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. |
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.
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. |
python-pendulum/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 addsetuptools
as a poetry installation dependency so it will have setuptools when 517 results in poetry installation. Or maybe thebuild-system
requires
for pendulum should just get a setuptools. I dunno...