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

fix pylibftdi for Python3.12 #9

Merged
merged 1 commit into from
Apr 3, 2024
Merged

fix pylibftdi for Python3.12 #9

merged 1 commit into from
Apr 3, 2024

Conversation

codedstructure
Copy link
Owner

Address issue #7 - previously pylibftdi failed to load the driver when run with Python3.12

This seems to be a change to the behaviour of ctypes.cdll; previous to 3.12 this would raise an OSError when given an unloadable library as an attribute, in 3.12+ it seems to raise an AttributeError.

@codedstructure
Copy link
Owner Author

Some basic checks on M1 Mac using Python3.12 from homebrew show this working.

@codedstructure codedstructure merged commit 183b94e into main Apr 3, 2024
5 checks passed
@codedstructure codedstructure deleted the python3.12-support branch April 3, 2024 18:27
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

Successfully merging this pull request may close these issues.

1 participant