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

Wrong platform with Poetry #17

Open
tomsej opened this issue Mar 18, 2024 · 3 comments
Open

Wrong platform with Poetry #17

tomsej opened this issue Mar 18, 2024 · 3 comments

Comments

@tomsej
Copy link

tomsej commented Mar 18, 2024

When I use Poetry on MacOS (Darwin platform), the package dependencies are set to sling-linux-amd64-1.1.14.tar.gz so it will not work.

@flarco
Copy link
Contributor

flarco commented Mar 18, 2024

Thanks, have not tested with poetry. Any clue why that is happening?
In the meantime, feel free to use brew or pip

Links:

@tomsej
Copy link
Author

tomsej commented Mar 19, 2024

Thank you, yeah pip somewhat works, but it still not ideal. Think the problem is that you are not publishing platform specific wheels. Let's say I am developing on MacOS, I use pip to install dependencies. Than I want to build a Docker container based on Linux distribution, so I export requirements.txt but inside of requirements there is a platform specific package sling-mac-universal==1.1.14 so it will not work. It would be best to have multiple platform specific wheel in PyPI, similarly to Polars

@ShahBinoy
Copy link

I am also facing this same problem since today

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

3 participants