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

Add redshift_connector example to docs #233

Draft
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

Brooke-white
Copy link
Contributor

Todos

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

Adds redshift_connector as a supported database driver in README. Provide usage example.

@jklukas
Copy link
Member

jklukas commented Oct 5, 2021

Docs changes look good. Is redshift_connector python 3 only? I'm not sure whether doctests have any facility to make tests conditional, since the 2.7 version is failing without having redshift_connector installed. I'd be fine with turning off doctests completely for 2.7 if that ends up being easier.

@Brooke-white
Copy link
Contributor Author

redshift_connector is Python3 only

I found this for conditionally skipping tests, though I have run into issues trying to build docs locally, so haven't been able to give it a shot

@graingert
Copy link
Member

graingert commented Oct 6, 2021

Docs changes look good. Is redshift_connector python 3 only? I'm not sure whether doctests have any facility to make tests conditional, since the 2.7 version is failing without having redshift_connector installed. I'd be fine with turning off doctests completely for 2.7 if that ends up being easier.

lets just make one last release with py2.7 support and then strip py2.7 completely

it's also time to remove the "redshift_sqlalchemy compatibility package"

@jklukas
Copy link
Member

jklukas commented Nov 3, 2021

This should be unblocked now that we're python 3 only

@@ -6,6 +6,7 @@
- Support GEOMETRY, SUPER Redshift datatypes
(`Pull #235 <https://github.com/sqlalchemy-redshift/sqlalchemy-redshift/pull/235>`_)


Copy link
Member

Choose a reason for hiding this comment

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

No change note is needed here, since it doesn't affect behavior.

Copy link
Member

@jklukas jklukas left a comment

Choose a reason for hiding this comment

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

I fixed up some conflicts, and this should be good to go as long as tests finish successfully.

@jklukas
Copy link
Member

jklukas commented Nov 3, 2021

The test on python 3.5 is failing due to not having redshift_connector installed. I think we can go ahead and include redshift_connector in the dependencies for py35-sa13 in tox.ini to get around this.

@Brooke-white Brooke-white marked this pull request as draft November 5, 2021 17:10
@Brooke-white
Copy link
Contributor Author

I've realized python 3.5 support for redshift_connector seems to be broken due to an incompatible dependency -- setting this to a draft while I investigate next steps.

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.

3 participants