Skip to content

SQL alchemy file structure #4323

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

Closed
wants to merge 4 commits into from

Conversation

danielballan
Copy link
Contributor

partial solutions to #4163

Merge this into the sql branch so we can start incorporating bug fixes into the new file structure of sql.py / sql_legacy.py.

@hayd
Copy link
Contributor

hayd commented Jul 22, 2013

failed travis should be fixed with a rebase :)

@danielballan
Copy link
Contributor Author

Yeah, thanks. It's running now. What happened there, out of curiosity?

@cpcloud
Copy link
Member

cpcloud commented Jul 22, 2013

was a travis config issue my fault

@danielballan
Copy link
Contributor Author

Good to go. We should merge #4304 into sql.py, legacy_sql.py, test_legacy_sql.py. test_sql.py is empty so far.

@cpcloud
Copy link
Member

cpcloud commented Jul 22, 2013

not sure, but i think #4163 will be closed when this is merge just note to self reopen it if it closes 😄

@jreback
Copy link
Contributor

jreback commented Jul 22, 2013

I think the issue only closes if you say 'closes' before the issue (I one had 'fixes' and nothing happened)

@cpcloud
Copy link
Member

cpcloud commented Jul 22, 2013

official docs for that (sort of) it's about commit message closing

@jreback
Copy link
Contributor

jreback commented Jul 22, 2013

@danielballan minor quibble....do we need sqlalchemy in all builds? things are so fast now almost doesn't matter

@danielballan
Copy link
Contributor Author

I'm not sure. Are there docs on what builds do what? The versions of Python are obvious, but what is _LOCALE doing?

@cpcloud
Copy link
Member

cpcloud commented Jul 23, 2013

no docs really, i'll open an issue to doc them in the wiki, but the build stuff changes occasionally so need to remember to update that.

here's the short version

2.6 runs tests marked not slow WITHOUT full dependencies
2.7_LOCALE runs slow tests WITH full deps in a different locale (Chinese i think)
2.7 runs not slow WITH full deps (we unofficially call this the production build)
3.2 runs not slow WITH full deps (minus a few deps that just aren't py3k compat)
3.3 runs not slow WITH full deps same as above ^^^^

@jreback
Copy link
Contributor

jreback commented Jul 23, 2013

generally full deps are on
2.7,3.2 locale does the plotting stuff
2.6,3,3 are pretty bare
look at the print versions to see what is installed

@cpcloud
Copy link
Member

cpcloud commented Jul 23, 2013

@jreback 3.2, 3.3 are now running full deps

@jreback
Copy link
Contributor

jreback commented Jul 23, 2013

3.3 runs full deps?

@cpcloud
Copy link
Member

cpcloud commented Jul 23, 2013

yep

@jreback
Copy link
Contributor

jreback commented Jul 23, 2013

oh ok great

@danielballan
Copy link
Contributor Author

I can remove sqlalchemy from 2.6 for consistency. Might as well run it to be sure we don't introduce 2.6 compat issues? Your call.

@hayd
Copy link
Contributor

hayd commented Jul 23, 2013

We could make it a soft dependency i.e. skip tests if SQLalchemy (or MySQL etc.) installed or if there is a connection faiiure (with anything other than SQLite)?

At the moment:

  • test_sql is empty, I'll quickly tweak the test_sql I put together a couple of weeks ago (to use SQLite BUT I won't yet use SQLAlchemy notation (but that needs to be done to avoid writing lots of dialect specific tests), but that should be done very shortly). Could you then cherry-pick before we merge into master? I don't think we can put this into master completely untested.
  • should update 0.13 release notes that sql has been moved to sql_legacy, and sql will be used for sqlalhemy.

@jreback
Copy link
Contributor

jreback commented Jul 23, 2013

don't merge quite yet
waiting for Wes to cut the release

@danielballan
Copy link
Contributor Author

@hayd Yes, I agree sqlalchemy should be a soft dependency, just as MySQLdb is now. Can we merge all these commits into the sql branch but none into the master?

@jreback
Copy link
Contributor

jreback commented Jul 23, 2013

yes.....can merge to sql branch no prob (@hayd)

@hayd
Copy link
Contributor

hayd commented Jul 23, 2013

Updated sql branch, go for it!

@hayd
Copy link
Contributor

hayd commented Jul 24, 2013

closing in favour of merging sql branch later

@hayd hayd closed this Jul 24, 2013
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.

4 participants