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

[42.0.6] "DLL Load Failed" On Windows 7 With Python 3.8 #10944

Closed
GaneJ opened this issue May 6, 2024 · 4 comments · Fixed by #10949
Closed

[42.0.6] "DLL Load Failed" On Windows 7 With Python 3.8 #10944

GaneJ opened this issue May 6, 2024 · 4 comments · Fixed by #10949
Labels
waiting-on-reporter Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.

Comments

@GaneJ
Copy link

GaneJ commented May 6, 2024

"DLL Load Failed" On Windows 7 With Python 3.8,
because some of DLLs try to import "bcryptprimitives" function, which doesn't exist on Windows 7.

This is bcryptprimitives.dll export on Windows 7:
Bcryptprimitives

This is _rust.pyd 42.0.6 import:
_rust pyd

This is _rust.pyd 42.0.5 import:
_rust pyd_old

ProcessPrng function in bcryptprimitives, only exist in Windows 10 above.

If you want to keep 42.0.6 using bcryptprimitives on Windows,
you should remove support for Python 3.8 below.

Because Python 3.8 below still support Windows 7.

@GaneJ
Copy link
Author

GaneJ commented May 6, 2024

I got compiled version Cryptography in pypi.org.

@alex
Copy link
Member

alex commented May 6, 2024

Windows 7 is unsupported by Microsoft, is there a particular reason you're using it?

@alex alex added the waiting-on-reporter Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply. label May 6, 2024
@alex alex linked a pull request May 6, 2024 that will close this issue
@Tarnum-tst
Copy link

@alex
Please look here: https://catalog.update.microsoft.com/Search.aspx?q=Windows-7+x64+2024-04
Windows 7 is still supported by Microsoft and will be supported until (at least) October 2024 via Windows Embedded Standard 7/Windows Server 2008 R2 channels.

@alex
Copy link
Member

alex commented May 6, 2024

We have fixed this in 42.0.7, but we will not be supporting Windows 7 in 43.0.

As a practical matter we haven't tested against windows 7 in years (maybe ever?) and we have no ability to test against an embedded Windows distribution.

@alex alex closed this as completed May 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
waiting-on-reporter Issue is waiting on a reply from the reporter. It will be automatically cloesd if there is no reply.
Development

Successfully merging a pull request may close this issue.

3 participants