Skip to content

[3.10] gh-74696: Do not change the current working directory in shutil.make_archive() if possible (GH-93160) - #94106

Merged
ambv merged 1 commit into
python:3.10from
miss-islington:backport-fda4b2f-3.10
Jun 22, 2022
Merged

ambv merged 1 commit into
python:3.10from
miss-islington:backport-fda4b2f-3.10

Conversation

@miss-islington

Copy link
Copy Markdown
Contributor

It is no longer changed when create a zip or tar archive.

It is still changed for custom archivers registered with shutil.register_archive_format()
if root_dir is not None.

Co-authored-by: Éric merwok@netwok.org
Co-authored-by: Łukasz Langa lukasz@langa.pl
(cherry picked from commit fda4b2f)

Co-authored-by: Serhiy Storchaka storchaka@gmail.com

….make_archive() if possible (pythonGH-93160)

It is no longer changed when create a zip or tar archive.

It is still changed for custom archivers registered with shutil.register_archive_format()
if root_dir is not None.

Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Łukasz Langa <lukasz@langa.pl>
(cherry picked from commit fda4b2f)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

2 similar comments
@miss-islington

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

@miss-islington

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

@miss-islington

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington

Copy link
Copy Markdown
Contributor Author

Status check is done, and it's a success ✅ .

@ambv
ambv merged commit e51a22b into python:3.10 Jun 22, 2022
@miss-islington
miss-islington deleted the backport-fda4b2f-3.10 branch June 22, 2022 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

4 participants