….5 behavior (
pythonGH-99802)
Restore following CPython <= 3.10.5 behavior of shutil.make_archive()
that went away as part of
pythongh-93160:
Do not create an empty archive if root_dir is not a directory, and, in
that case, raise FileNotFoundError or NotADirectoryError regardless
of format choice. Beyond the brought-back behavior, the function may
now also raise these exceptions in dry_run mode.
(cherry picked from commit
a86df29)
Co-authored-by: 6t8k <58048945+6t8k@users.noreply.github.com>
Restore following CPython <= 3.10.5 behavior of shutil.make_archive()
that went away as part of gh-93160:
Do not create an empty archive if root_dir is not a directory, and, in
that case, raise FileNotFoundError or NotADirectoryError regardless
of format choice. Beyond the brought-back behavior, the function may
now also raise these exceptions in dry_run mode.
(cherry picked from commit a86df29)
Co-authored-by: 6t8k 58048945+6t8k@users.noreply.github.com