Skip to content

BUG: Fix read_csv on S3 files for python 3 #9561

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

Merged
merged 1 commit into from
Mar 6, 2015

Conversation

TomAugspurger
Copy link
Contributor

Closes #9452

Needed to pass along encoding parameter.

No tests... Kind of hard since it's only s3 only.

@shoyer
Copy link
Member

shoyer commented Feb 27, 2015

Looks like there was already an existing test for reading from S3 :).

@TomAugspurger
Copy link
Contributor Author

Good thing too! I was going to test this at work on py2, so I would have caught it :)

Needed to pass along encoding parameter.

Bump boto version. Enable test on py3
@TomAugspurger
Copy link
Contributor Author

The failure cam from us using an old version of boto. The encoding parameter was added since 2.26.1. I bumped the version for our tests to the latest (2.36.0).

@jreback jreback added IO Data IO issues that don't fit into a more specific label Compat pandas objects compatability with Numpy or Python functions labels Mar 6, 2015
@jreback jreback added this to the 0.16.0 milestone Mar 6, 2015
jreback added a commit that referenced this pull request Mar 6, 2015
BUG: Fix read_csv on S3 files for python 3
@jreback jreback merged commit 26c3a9b into pandas-dev:master Mar 6, 2015
@jreback
Copy link
Contributor

jreback commented Mar 6, 2015

thanks @TomAugspurger

@TomAugspurger TomAugspurger deleted the s3_encoding branch April 5, 2017 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Compat pandas objects compatability with Numpy or Python functions IO Data IO issues that don't fit into a more specific label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

BUG/COMPAT: io.common.get_filepath_or_buffer should use pass encoding parameter
3 participants