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

[s3] Fix newline handling for text-mode files #1381

Merged
merged 1 commit into from May 10, 2024
Merged

Conversation

jschneier
Copy link
Owner

Rebased version of #1352

Closes #1351

@skim618
Copy link

skim618 commented Apr 21, 2024

Hello - I will have a look at the test failures sometime today/tomorrow

@jschneier
Copy link
Owner Author

@skim618 Any updates?

@skim618
Copy link

skim618 commented May 9, 2024

Sorry for the delay. Looking - it seems the issue is related to the changes made in python 3.11 for SpooledTemporaryFile.

I've PR'd a Fix and wrote up the possible CI failure cause: #1400

@jschneier jschneier merged commit 75fe11b into master May 10, 2024
19 checks passed
@jschneier jschneier deleted the josh/s3-fix-newlines branch May 10, 2024 15:26
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.

S3Boto3Storage.open(name, "r") doesn't handle newlines properly
2 participants