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

Add copytree_compat method #15906

Merged
merged 4 commits into from
Mar 20, 2024
Merged

Conversation

czoido
Copy link
Contributor

@czoido czoido commented Mar 20, 2024

Changelog: Fix: Add copytree_compat method for compatibility with Python>=3.12 after distutils removal.
Docs: omit

Closes: #15905

@czoido czoido marked this pull request as draft March 20, 2024 15:29
@czoido czoido added this to the 2.2.1 milestone Mar 20, 2024
@@ -373,3 +374,12 @@ def human_size(size_bytes):
formatted_size = str(round(num, ndigits=the_precision))

return "%s%s" % (formatted_size, the_suffix)


# FIXME: completely remove disutils once we don't support <3.8 any more
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We can also make this feature of local-recipes-index to require Python >= 3.8 if that helps?

@czoido czoido marked this pull request as ready for review March 20, 2024 16:35
@czoido czoido merged commit f416a7e into conan-io:release/2.2 Mar 20, 2024
2 checks passed
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