slingdata-io / sling-python

Python wrapper for the Sling CLI tool
https://docs.slingdata.io/
MIT License
29 stars 7 forks source link

Wrong platform with Poetry #17

Open tomsej opened 3 months ago

tomsej commented 3 months ago

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 commented 3 months ago

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

Links:

tomsej commented 3 months ago

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 commented 3 months ago

I am also facing this same problem since today