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

kaleido 0.2.1.post1 is not installable via pip #156

Open
maksbotan opened this issue Jan 25, 2023 · 4 comments
Open

kaleido 0.2.1.post1 is not installable via pip #156

maksbotan opened this issue Jan 25, 2023 · 4 comments

Comments

@maksbotan
Copy link

0.2.1.post1 version on pypi has whells only for arm, and does not have a source distribution at all. Therefore it can't be installed on non-arm systems. And some tools (e.g. poetry) will pick this version as latest and try to use it on all platforms.

Perhaps it would make sense to add source distribution and wheels for other platforms to that version on pypi?

@lainisourgod
Copy link

lainisourgod commented May 25, 2023

I can't install on mac m1 either. very annoying as it's a sub-dependency I need to hardcode install with pip install kaleido (that successfully finds kaleido-0.2.1-py2.py3-none-macosx_11_0_arm64.whl) after when my main installation fails

@ClementPinard
Copy link

I second this problem

See a discussion about it on poetry : python-poetry/poetry#4046

They say it's kaleido's fault for not providing wheels for all platforms in last version.

Any thoughts on that ?

@lainisourgod I have the same solution (other than pinpointing to 0.2.1 explicitly), so it is possible to search for the latest version with compatible wheels since pip succeeds in doing that. I guess poetry does not want to be compatible with the usage of wheels kaleido is doing here.

I don't know who is right and who is wrong, I just hope we can solve this problem so that I can stop pinpointing exact version number of this library that is merely a dependency of another package in my own poetry project.

@NeilGirdhar
Copy link

NeilGirdhar commented Jul 12, 2023

@jonmmease This is breaking all of the packages that depend on kaleido. See this comment from the thread:

kaleido is doing the wrong thing here -- they should build wheels for all supported platforms with every version, or publish a sdist so they can be built on platforms they do not provide wheels for. If they need to add a single wheel to an existing release, that should be done by simply uploading another file; .postX releases are for metadata-only changes but are otherwise not special in any way.

NeilGirdhar added a commit to NeilGirdhar/orion that referenced this issue Jul 12, 2023
Due to plotly/Kaleido#156, Kaleido doesn't work with package managers like Poetry.  It also hasn't seen a release in 2 years and the package manager seems to hav forgotten about it.  Could we pin the version to solve this problem?
NeilGirdhar added a commit to NeilGirdhar/orion that referenced this issue Jul 12, 2023
Kaleido doesn't work with package managers like Poetry.  It also hasn't
seen a release in 2 years and the package manager seems to have
forgotten about it. Therefore, pin the kaleido version to solve
plotly/Kaleido#156.
Delaunay added a commit to Epistimio/orion that referenced this issue Aug 10, 2023
Pin the Kaleido version to work around bad release

Kaleido doesn't work with package managers like Poetry.  It also hasn't
seen a release in 2 years and the package manager seems to have
forgotten about it. Therefore, pin the kaleido version to solve
plotly/Kaleido#156.

Co-authored-by: Setepenre <pierre.delaunay.tr@gmail.com>
NeilGirdhar added a commit to NeilGirdhar/orion that referenced this issue Oct 22, 2023
Pin the Kaleido version to work around bad release

Kaleido doesn't work with package managers like Poetry.  It also hasn't
seen a release in 2 years and the package manager seems to have
forgotten about it. Therefore, pin the kaleido version to solve
plotly/Kaleido#156.

Co-authored-by: Setepenre <pierre.delaunay.tr@gmail.com>
NeilGirdhar added a commit to NeilGirdhar/orion that referenced this issue Nov 16, 2023
Pin the Kaleido version to work around bad release

Kaleido doesn't work with package managers like Poetry.  It also hasn't
seen a release in 2 years and the package manager seems to have
forgotten about it. Therefore, pin the kaleido version to solve
plotly/Kaleido#156.

Co-authored-by: Setepenre <pierre.delaunay.tr@gmail.com>
@goroderickgo
Copy link

Is there any update on this? It's been over a year since this issue was identified, and it doesn't seem like this has been resolved?

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

No branches or pull requests

5 participants