Skip to content

Conversation

@BlastoiseBlue
Copy link

I have adjusted the pinned version of Invoke to a version that uses importlib instead of imp, pinned click to a version that doesn't raise an exception, and replaced the usage of distutils with shutil, in order to make the nanolayer library compatible with python 3.12+

Closes #10

Invoke 2.1.0 is the earliest version that uses `importlib` instead of `imp`, and by extension, is the first version to support python 3.12+
Click version `8.0.0` includes a backwards-incompatible change that prevents nanolayer from working, so I'm pinning it to a version that should still work.
`distutils` was removed in Python 3.12. The use of `distutils.spawn.find_executable()` can be replaces with `shutil.which()` for the same result.
Pydantic version 1.10.7 is incompatible with python 3.14. Support for python 3.14 is available in version 1.10.25, so relaxing the upper bound should allow nanolayer to continue running on python 3.14.
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.

Nanolayer can't run on Python 3.12+

1 participant