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

Allow tests to tolerate new default column encodings in Redshift #114

Merged
merged 1 commit into from Apr 27, 2017

Conversation

jklukas
Copy link
Member

@jklukas jklukas commented Apr 26, 2017

In order to get a new release out the door, we need to get tests passing.

Looks like Redshift changed the behavior for default encodings. Previously, all columns were RAW by default. Now, encoding is chosen per column type as discussed in http://docs.aws.amazon.com/redshift/latest/dg/c_Compression_encodings.html

I'll be pushing changes to this branch as I work.

Todos

  • MIT compatible
  • Tests
  • Documentation
  • Updated CHANGES.rst

@jklukas jklukas changed the title WIP: Fix tests for new encoding defaults Allow tests to tolerate new default column encodings in Redshift Apr 26, 2017
@jklukas
Copy link
Member Author

jklukas commented Apr 26, 2017

Tests are now passing locally and I'm removing the WIP label. This is ready for review.

@jklukas jklukas requested a review from graingert April 26, 2017 20:34
@jklukas
Copy link
Member Author

jklukas commented Apr 26, 2017

cc @ericness who was interested in getting recent changes released, which will rely on this.

@jklukas jklukas merged commit fb4d146 into master Apr 27, 2017
@jklukas jklukas deleted the fix-tests branch April 27, 2017 14:08
@graingert
Copy link
Member

@jklukas what's your PyPI username?

@jklukas
Copy link
Member Author

jklukas commented Apr 27, 2017

I'm Jeff.Klukas on pypi.

@jklukas
Copy link
Member Author

jklukas commented May 4, 2017

@graingert - Have you gotten a chance to add me on PyPI? It would be good for me to have the chance to do a release and make sure I understand the steps. I'd plan to document those as well as I go through.

@graingert
Copy link
Member

@jklukas I mostly just do

# ~/.pypirc
[zest.releaser]
create-wheels = yes
vim HISTORY.rst
python3.6 -m venv ~/.virtualenvs/dist
workon dist
pip install -U pip setuptools wheel
pip install -U tox zest.releaser
fullrelease  # follow prompts, use semver ish with versions.

@jklukas
Copy link
Member Author

jklukas commented May 4, 2017

I just performed a release. Releaser is amazing. Version 0.6.0 is on PyPI.

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.

None yet

2 participants