Navigation Menu

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

[Downloader] Stop messing with distutils's internals just to copy directory #3364

Merged

Conversation

Jackenmen
Copy link
Member

Type

  • Bugfix
  • Enhancement
  • New feature

Description of the changes

Readdressing #2685 (and #2690 that "fixed" it) in a way that doesn't involve messing with distutils's internals.
We require Python 3.8 now, so we can finally just use shutil.copytree to copy a directory...
Haven't tested this, basing this solely on discussion from #2685/#2690

@mikeshardmind
Copy link
Contributor

We probably have a few more places where we can get rid of older behaviors for cleaner options in 3.8, there's at least one similar section to this in redbot.__main__

@mikeshardmind mikeshardmind added the Type: Enhancement Something meant to enhance existing Red features. label Jan 14, 2020
@mikeshardmind mikeshardmind added this to the Next Feature release milestone Jan 14, 2020
@mikeshardmind mikeshardmind merged commit 2be4080 into Cog-Creators:V3/develop Jan 14, 2020
@Jackenmen Jackenmen deleted the V3/remove_obscure_code branch January 18, 2020 23:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Something meant to enhance existing Red features.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants