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

Remove usage of distutils #139

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Liamolucko
Copy link

distutils was removed in Python 3.12, causing litepcie to crash when trying to use it.

@Liamolucko
Copy link
Author

@enjoy-digital, could you take a look at this?

One potential concern is that the dirs_exist_ok option was added in Python 3.8, when the README currently claims support for Python 3.6+. Is that still up to date?

@enjoy-digital
Copy link
Owner

Thanks @Liamolucko for the PR and sorry for the delay, I'll have a look, but this looks fine, we could probably bump Python version requirement.

`distutils` was removed in Python 3.12, causing litepcie to crash when
trying to use it.

This makes use of the `dirs_exist_ok` option to `copytree`, which was
added in Python 3.8, so the minimum Python version had to be bumped.
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.

2 participants