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

Explicitly set the tar format to GNU. #601

Merged
merged 1 commit into from
Jul 19, 2022
Merged

Explicitly set the tar format to GNU. #601

merged 1 commit into from
Jul 19, 2022

Conversation

aiuto
Copy link
Collaborator

@aiuto aiuto commented Jul 19, 2022

This means that:

  1. you'll get the same format no matter what version of Python you have.
    At Python 3.8 the default changed from GNU to PAX.
  2. The default will be suitable for building Debian packages containing
    long file names.

A followup PR may add the capability to allow PAX tar writing, but I
do not know the urgency of that at this time, so that is a future
feature request.

Fixes #216

This means that:
1. you'll get the same format no matter what version of Python you have.
   At Python 3.8 the default changed from GNU to PAX.
2. The default will be suitable for building Debian packages containing
   long file names.

A followup PR may add the capability to allow PAX tar writing, but I
do not know the urgency of that at this time, so that is a future
feature request.

Fixes bazelbuild#216
@aiuto aiuto requested a review from nacl as a code owner July 19, 2022 04:00
@aiuto aiuto requested a review from jylinv0 July 19, 2022 04:02
Copy link
Collaborator

@nacl nacl left a comment

Choose a reason for hiding this comment

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

It probably be worth adding in some testers that use the newer version of python so we can confirm that everything is happy there. Ubuntu 20.04 may be enough here.

@aiuto
Copy link
Collaborator Author

aiuto commented Jul 19, 2022

I started a set of tests but it became meaningless quickly because it was not clear what my goals were. What I think I need is the kind of long file name that would be different in each of the tar formats, and then to see that they make valid .deb files.

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.

Python 3.8 changed default tar format from GNU to PAX. Respond appropriately.
2 participants