nbstata
nbstata copied to clipboard
Replace pkg_resources uses, generally bump to Python 3.10+
h/t #57
Python 3.9 is almost to end-of-life: https://devguide.python.org/versions/
me too on this feature. maybe I can help fix this?
Yes, please. A PR would be most welcome. (To be clear, the SyntaxWarning's that appear with Python 3.12 are addressed by the latest nbstata release. This issue concerns further maintenance updates.)
For what it's worth, here's my initial ChatGPT session drafting a patch. I haven't reviewed it, though, and it may be better to just start from scratch: https://chatgpt.com/share/68a4f6f5-08e4-8002-b352-d02532ed1957
well I met with error in python 3.14,which just broke. so my workaround is use 3.11 ----------Reply to Message---------- On Wed, Sep 24, 2025 23:45 PM Tim @.> wrote: hugetim left a comment hugetim/nbstata#58 Yes, please. A PR would be most welcome. To be clear, the SyntaxWarning's that appear with Python 3.12 are addressed by the latest nbstata release. This issue concerns further maintenance updates. For what it's worth, here's my initial ChatGPT session drafting a patch. I haven't reviewed it, though, and it may be better to just start from scratch: https://chatgpt.com/share/68a4f6f5-08e4-8002-b352-d02532ed1957 — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you commented.Message ID: @.>
Note that I have got nbdev (well really it was its dependency fastcore) fixed under Python 3.14.0, see https://github.com/AnswerDotAI/fastcore/issues/700 if interested. Make sure you have fastcore version 1.8.13.
So now it's easier to work on this fix under Python 3.14.0 using the existing workflow.