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

No longer working on Python 3 #288

Closed
jleclanche opened this issue Mar 20, 2017 · 3 comments
Closed

No longer working on Python 3 #288

jleclanche opened this issue Mar 20, 2017 · 3 comments

Comments

@jleclanche
Copy link

https://github.com/groveco/django-sql-explorer/blob/8168d66050e5bf3fe8f6fcbeb1a9bcb8318eb1a9/explorer/schema.py#L3

This line is breaking everything. It should be from explorer.app_settings import ....

Better yet, all imports should move to relative imports with from .app_settings import ....

I can PR either fixes.

@chrisclark
Copy link
Collaborator

Yikes. I will fix now.

I will change to explorer.app_settings and do a point release in 24hrs (in case any other issues are reported).

Sorry. Any idea why tests didn't catch it? Travis tests against py3.

@jleclanche
Copy link
Author

Good question; either you're adding the explorer module in the pythonpath (which you shouldn't do), or you're not reaching the schema file from travis.

Thanks for fixing!

@Kulikovpavel
Copy link
Contributor

In pip repository still old version 1.1

@f213 f213 mentioned this issue Mar 30, 2017
nuclearace added a commit to nuclearace/django-sql-explorer that referenced this issue May 14, 2017
* 'master' of https://github.com/groveco/django-sql-explorer:
  1.1.1 - fixes explorerhq#288
  Release 1.1.0
  rewinding file handler before uploading
  readme requirements updates
  removing tinys3 in favor of boto
  Escape strings from the database when rendering
  Fix duplicate test names
  Remove unused lambda expressions assigned to "_"
  Fix code formatting issue
  Add on_delete argument to foreign key fields
  Conditionally import reverse and reverse_lazy depending on django version
  update factory-boy dependency version to fix tests
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

No branches or pull requests

3 participants