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

Compatibility with Python v3.12 #24

Closed
brent-cybrid opened this issue Dec 8, 2023 · 4 comments
Closed

Compatibility with Python v3.12 #24

brent-cybrid opened this issue Dec 8, 2023 · 4 comments

Comments

@brent-cybrid
Copy link

The import:

    from distutils.version import LooseVersion

is incompatible with Python v3.12 (see here for the note that distutils is no longer supported in Python v3.12).

This limitation prevents this package from being used in v3.12 environments.

@willthames
Copy link
Owner

Thanks for this - it seems like it's not just distutils but also pkg_resources.

#26 tracks the work for this.

@willthames
Copy link
Owner

#26 is pretty much ready but will drop support for python 3.8 - as such I'll combine it with the update for kubernetes 1.29 (which won't happen until after the upstream release expected in the next three days)

@willthames
Copy link
Owner

I'll release this as 1.28.3 soon (I've used importlib_resources backport to retain 3.8 compatibility so don't need a breaking change) - I think it's going to be a few days before I'm ready for 1.29

@willthames
Copy link
Owner

1.28.3 has now been released with 3.12 support

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

2 participants