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

Can't import from hyperscan in python 3.12 #98

Closed
Tracked by #447
ekneg54 opened this issue Oct 26, 2023 · 7 comments
Closed
Tracked by #447

Can't import from hyperscan in python 3.12 #98

ekneg54 opened this issue Oct 26, 2023 · 7 comments

Comments

@ekneg54
Copy link

ekneg54 commented Oct 26, 2023

I was able to install via pip, but if I try to import hyperscan, python complains about it can't find the module hyperscan._hyperscan as seen here:

image
@betterlch
Copy link

Have a try: #30 (comment)

@ekneg54
Copy link
Author

ekneg54 commented Nov 16, 2023

yes... this does the job. but could we get an installable package?
we redistribute hyperscan in our product and it is a poor solution to manually do this renaming after install :-/

@ekneg54
Copy link
Author

ekneg54 commented Nov 16, 2023

by running our tests we saw, that the import error disappeared but die lib is not working anymore. It does nothing.

@darvid
Copy link
Owner

darvid commented Nov 19, 2023

please try one of the 3.12 wheels from here: https://github.com/darvid/python-hyperscan/actions/runs/6918986174

I will try to get CI updated soon to force push them to the current release in PyPI, currently no other changes have been made to warrant a new library version, otherwise normally the wheels would be uploaded with a new release.

@ekneg54
Copy link
Author

ekneg54 commented Nov 20, 2023

thank you... We will wait for the force push

@darvid
Copy link
Owner

darvid commented Nov 21, 2023

wheels pushed

@ekneg54
Copy link
Author

ekneg54 commented Nov 21, 2023

thank you very much... seems to work

@ekneg54 ekneg54 closed this as completed Nov 21, 2023
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