-
Notifications
You must be signed in to change notification settings - Fork 679
Update requirements to match kuma-lib; initial working Travis-CI tests #1945
Conversation
…f constance in demos forms
|
||
notifications: | ||
email: | ||
- [email protected] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can this be [email protected]?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, haven't gotten around to tweaking the notifications yet, still getting the travis tests working reliably and didn't want to spam mdndev or IRC
Looks like it also needs
|
Yes, you'll need to run |
I updated the PR description... going through my shell history, I think these are more exact instructions for a local check:
The bit that grants mysql permissions to the anonymous user is a hack - the better change is to compose a |
Everything works without errors until I get to the
|
Okay, that error's odd... @jezdez any ideas here, have I missed something? This doesn't happen on my box or on Travis-CI |
@groovecoder Can you paste the result of this from your shell?
Mine comes up blank, I wonder if something on your machine set it. Seems like it's looking for a module named "py", but that's weird |
@groovecoder Actually, I can reproduce the error if I run this export you mentioned earlier:
a) You don't need that if you've done it, and b) I think that's meant to be a python module name and not a filename (ie. no Unless you've put that export into your |
-e git://github.com/jbalogh/django-debug-cache-panel#egg=cache_panel | ||
-e git://github.com/jbalogh/check.git@1c73813fcd085020decc6f72caf232f71150db0a#egg=check | ||
# 2010-04-07 | ||
-e git://github.com/robhudson/django-debug-toolbar.git@ee1811238e91ae0ad33413b0d40d2f8482101951#egg=django-debug-toolbar |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably point to github.com/django-debug-toolbar/django-debug-toolbar instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Well, it's pointing to exactly what we have in kuma-lib. Didn't want to diverge much in this first round of updates, if I could help it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Right, Rob moved the app into its own org though and I just want to make sure we don't accidentally end up with a dead end in the future. The org repo should have the same commit.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Cool, same commit. So, I'll update that, give a fresh install a shot (because I was going to play with virtualenvwrapper) and commit
This looks good in general, I've left a few comments here and there. This should probably use peep (https://pypi.python.org/pypi/peep) for added security. Also https://github.com/ronaldevers/magnum-pi/ may be useful for generating an "index". |
It works! The only snag I hit was that I had to create the
I wasn't able to run
Still, I'm okay merging this to avoid bit-rot. |
Merging this as the "makes tests pass" milestone. Work will continue in #1934 |
Update requirements to match kuma-lib; initial working Travis-CI tests
This PR shouldn't really do anything to production.
I manually audited every dependency in kuma-lib, and updated our requirements files to match. In order to attempt to verify I'd gotten it right, I set up Travis-CI tests that do not check out the kuma-lib git submodule.
All of those tests, except one, passed. The tweak in the demos app is what was needed to make the test pass, because that code attempted to access constance DB tables on module load. That caused a chicken-and-egg problem because the module was loaded while creating DB tables.
This might need adjusting, but the following is what worked for a spot check on my my Mac: