-
Notifications
You must be signed in to change notification settings - Fork 113
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
DeprecationWarning: the imp module is deprecated in favour of importlib #158
Comments
Thanks for the heads up, right now we're stuck on 4.2.2, #135 is about fixing this - I hope you don't mind closing this as a duplicate. |
OK, thanks! No problem, I'll subscribe to the other issue 👍 |
This issue may be still be valid - I've upgraded to The In terms of fixes: it looks like the relevant import was removed from |
thanks for reporting, I didn't manage to check this yet but let me re-open for visibility |
This should be confirmed by someone else too, but from my experience this did block an upgrade of a project to Python3.12 (the code began failing when |
I can confirm the same thing is happening to me on 3.12:
|
pyRdfa3 3.6.2 is released on PyPI and includes the commit that removed the |
Thanks @MmAaXx500 for the heads-up - I can confirm that with |
extruct
usesrdflib==4.2.2
, which causes this warning:Not sure if this has been fixed in
rdflib==5
, I didn't find anything mentioning importlib in the issues or PRs there. Related: RDFLib/rdflib#1196The text was updated successfully, but these errors were encountered: