-
Notifications
You must be signed in to change notification settings - Fork 48
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
possible MacOs issue #408
Comments
What do you see when you run: pip freeze --local We also have a QuickStart tutorial that walks through setup steps in detail, if helpful. |
@keltik85 were you able to resolve this issue on your own? |
I'm seeing the same issue on a vanilla Debian 12 Bookworm freshly provisioned in Azure. $ cat /etc/debian_version $ dpkg -l | grep ^ii | grep dotnet $ pip freeze --local | grep stock $ python
File name: '/home/edlang/src/repos/dummy/env/lib/python3.11/site-packages/stock_indicators/_cslib/lib/Skender.Stock.Indicators.dll, Culture=neutral, PublicKeyToken=null' $ ls -lart /home/edlang/src/repos/dummy/env/lib/python3.11/site-packages/stock_indicators/_cslib/lib/Skender.Stock.Indicators.dll |
Some more details: it seems to be a compatibility issue with the .NET 9 runtime / SDK. The module imports correctly when using the .NET 8 runtime and SDK. |
Helpful! Thank you. This DLL was built with .NET 8 and the internals for CLR must depend on that particular SDK. This poses an interesting dilemma about maintaining environment compatibility — we could update that DLL to the latest version built on .NET 9, but that’d be a breaking change for people who’ve not upgraded their environment accordingly. Tip Workaround: install .NET 8 SDK |
@DaveSkender The target version of distributed dll is stock-indicators-python/stock_indicators/_cslib/__init__.py Lines 5 to 8 in 78b9656
|
That might work, let's update our build workflows to first just use .NET 9 SDK to see if it breaks similarly on MacOS builds (it should); then we can update use the |
I just met the same issue on MacOS and .Net 9. Hope the version compatibility could be fixed soon. Thanks in advance! |
What happened?
and it does exist.
Code usage
Log output
The text was updated successfully, but these errors were encountered: