Skip to content

Replace copy_tree from distutils with copytree from shutil#533

Merged
computron merged 1 commit into
materialsproject:mainfrom
ikondov:distutils_removal
Jun 28, 2024
Merged

Replace copy_tree from distutils with copytree from shutil#533
computron merged 1 commit into
materialsproject:mainfrom
ikondov:distutils_removal

Conversation

@ikondov

@ikondov ikondov commented May 27, 2024

Copy link
Copy Markdown
Contributor

Closes #532

Summary

Major changes:

  • Fix: replace copy_tree from deprecated distutils package with copytree from the shutil package

Todos

If this is work in progress, what else needs to be done?

Checklist

  • Google format doc strings added. Check with ruff.
  • Type annotations included. Check with mypy.
  • Tests added for new features/fixes.
  • If applicable, new classes/functions/modules have duecredit @due.dcite decorators to reference relevant papers by DOI (example)

Tip: Install pre-commit hooks to auto-check types and linting before every commit:

pip install -U pre-commit
pre-commit install

@computron
computron merged commit 805a239 into materialsproject:main Jun 28, 2024
@ikondov ikondov mentioned this pull request Jan 15, 2025
3 tasks
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.

Warning about removal of distutils

2 participants