don't use distutils.dir_util in copy_dir#3310
Conversation
|
May I suggest not to switch implementations based on Python version? Why not use a single implementation which behaves as the Python 3.8 version always? Or a defined subset of it. I see no advantage of the usage of Python 3.8 function if a hand-rolled version must still exist. Just makes the test-surface larger |
|
Tests with this PR can be found in easybuilders/easybuild-easyblocks#2049 |
The idea is that we can get rid of our own code whenever we reach only having to support Python 3.8 & newer... I sort of see your point though. Thoughts on this @lexming? |
|
@boegel If our own implementation for Python < 3.8 works just as well in Python 3.8 and onwards, we could indeed use it indiscriminately. |
|
New tests in easybuilders/easybuild-easyblocks#2049 (comment) |
|
Going in, thanks @boegel ! |
fixes #3306