140 Commits

Author SHA1 Message Date
Christopher Allan Webber
d61778a489 Switch from Paste for serving to Waitress
Incredibly, it looks like none of our documentation has to change taking
this route...!
2016-02-19 10:22:14 -08:00
Boris Bobrov
149f46f7d5 Cleanup setup.py
Remove old comments and duplicate requirements from setup.py
2016-02-18 09:42:24 +03:00
Christopher Allan Webber
4f798a8a0c Removed deprecated comment about wsgi environ being borked 2016-02-17 15:52:24 -08:00
Boris Bobrov
7c1287b66c Upgrade sqlalchemy and sa-migrate
Our versions were too old. And not compatible with python3.
2016-02-11 10:40:50 -08:00
Boris Bobrov
6db9c5258c Uncap Paste
Paste was capped to 1.9.9 because 2.0 broke us. Now Paste 2.0.x was released
and it doesn't break us any more. Closes bug 5317.
2016-01-07 21:12:01 +03:00
Christopher Allan Webber
6557bab6f1 Switch to webtest >= 2.0.18 2015-11-05 15:32:51 -06:00
Ben Sturmfels
f51fd67a06 trac#665: Upgrade to WebTest 2.0.18 and fix broken test test_csrf_cookie_set.
Test was failing due to API change in WebTest around accessing cookies set in the test client. These are now in `test_app.cookies`.

While there are currently 48 other tests failing, I've verified that before and after this change that the same number fail. I've also checked that no other tests use the old API for accessing test client cookies.

I've pinned to version 2.0.18. My understanding is that it's generally a good idea to pin to a specific version where possible to avoid the "why has this suddenly broken" type bugs. This also seems appropriate since WebTest appears to be very stable.
2015-11-05 15:13:44 -06:00
Berker Peksag
e340879d3c Pin mock 1.0.1 in Python 2 for now.
mock recently dropped Python 2.6 support and then
re-introduced it in its latest release (however,
it's a bit unstable right now).

I think at this point, we can be more cautious
and just use mock==1.0.1.
2015-07-22 10:18:00 +03:00
Christopher Allan Webber
ab62a7c0d2 Paste 2.0 breaking wsgi 2015-04-24 21:10:25 -05:00
Jim Campbell
3252f73836 setup.py: Updated version requirement for 'requests'. Fixes 5313.
If we don't speficify a version for 'requests', Debian installs
v2.4.x, but there is an issue with urllib3 and pyopenssl in versions
prior to 2.6.0. This issue caused our installs to fail.

Updating our requirement to 2.6.0 or greater resolves this issue
and allows our installation processes to proceed normally.
`
2015-04-19 12:26:11 -05:00
Christopher Allan Webber
ad5a20aa4f Remove the very strange "pybabel" entry point I added in 2011
Why did I do that, past self?
2015-04-03 06:21:35 -05:00
Christopher Allan Webber
cb718ba06f Seems we can get rid of that specific six version dependency!
Horray!

This commit sponsored by Rollo Moore.  Thank you!
2015-02-21 15:08:30 -06:00
Christopher Allan Webber
09e2db3089 Clean up makefile, make make docs / make info actually work!
This commit sponsored by Alon Levy!  Thank you, for everything!
2015-02-17 17:55:00 -06:00
Christopher Allan Webber
227a81b534 Add and use paste server selector. Yeah! Smart solutions!
This commit sponsored by Tryggvi Björgvinsson.  Thank you!
2014-10-10 14:42:17 -05:00
Christopher Allan Webber
9bf845d88f That's right, *append* to the list, don't call it :P 2014-10-10 14:42:17 -05:00
Christopher Allan Webber
2e2a1aec6c Only install gunicorn on py2 2014-10-10 14:42:17 -05:00
Berker Peksag
ab46e89a65 Install ExifRead from GitHub on Python 3. 2014-10-02 21:28:37 +03:00
Christopher Allan Webber
a6252cbf21 Merge branch 'merge-python3-port'
Conflicts:
	setup.py
2014-09-22 13:58:13 -05:00
Christopher Allan Webber
67c6e26a59 download url removed 2014-09-19 16:54:10 -05:00
Christopher Allan Webber
f6bad0eb26 Merge branch 'master' into merge-python3-port
Has some issues, will iteratively fix!

Conflicts:
	mediagoblin/gmg_commands/__init__.py
	mediagoblin/gmg_commands/deletemedia.py
	mediagoblin/gmg_commands/users.py
	mediagoblin/oauth/views.py
	mediagoblin/plugins/api/views.py
	mediagoblin/tests/test_api.py
	mediagoblin/tests/test_edit.py
	mediagoblin/tests/test_oauth1.py
	mediagoblin/tests/test_util.py
	mediagoblin/tools/mail.py
	mediagoblin/webfinger/views.py
	setup.py
2014-09-16 14:01:43 -05:00
Christopher Allan Webber
3c06c3efaf Upgrading gunicorn. Referenced issue is resolved.
Also, upgrading seems to fix weird
"RuntimeError: dictionary changed size during iteration" issues
I was seeing.  (Looked like a gunicorn issue, not ours.)
2014-09-15 11:46:56 -05:00
Christopher Allan Webber
0c32c7fe83 py2.7 compatibility with open(..., encoding="utf-8"), use io.open
This commit sponsored by Peter Baumgarten.  Thank you!
2014-09-12 12:30:09 -05:00
Christopher Allan Webber
9156ab68d0 Explicitly open READMEFILE as utf-8 2014-09-12 10:42:23 -05:00
Christopher Allan Webber
a6570fae03 Slight tweak to the description wording 2014-09-07 09:39:01 -05:00
Low Kian Seong
478e4c9365 Update setup.py
A `description` is needed so that project is not listed as `UNKNOWN` on `pypi`
2014-09-07 09:37:33 -05:00
Berker Peksag
65f20ca435 Add initial Alembic migrations. 2014-08-13 19:30:23 +03:00
Berker Peksag
aaa12d637e Update TODOs in setup.py. 2014-08-07 13:12:38 +03:00
Berker Peksag
173099ad2b Update dependency list. 2014-07-28 13:24:17 +03:00
Berker Peksag
88a5739d36 Remove paste.server dependency from tests. 2014-07-18 12:39:13 +03:00
Jessica Tallon
c5eb24b834 Allow crypto.random_string to take optional alphabet param 2014-07-08 21:32:31 +01:00
tilly-Q
4ed4908cbd Added pyld to the mediagoblin dependencies because it is necessary with the new
metadata functionality.
2014-05-29 12:57:40 -04:00
Berker Peksag
03ff865c42 Update install_requires.
* Add PasteDeploy
* Upgrade Babel
2014-05-08 20:33:14 +03:00
Berker Peksag
897354e6e4 Make GNU MediaGoblin installable on Python 3. 2014-05-08 20:32:02 +03:00
tilly-Q
77a19712c3 Merge branch 'metadata' of gitorious.org:mediagoblin/npigeons-mediagoblin into metadata
Conflicts:
	mediagoblin/gmg_commands/batchaddmedia.py
	setup.py
2014-04-21 12:17:39 -04:00
tilly-Q
ec5a385ada Big update. I added in a json-ld context file which will be used in all our
metadata columns in the future. The context describes the dublin core elements.
It still has not been finalized however.
2014-04-21 12:10:18 -04:00
tilly-Q
fbb13abe9a Added the 'requests' library as a dependency and switched over to using it to
fetch remote pieces of media in the batchupload script
2014-04-15 13:35:22 -04:00
Christopher Allan Webber
b19491c535 specify older sqlalchemy-migrate because pbr ruins everything. 2014-04-03 14:20:44 -05:00
Christopher Allan Webber
052d3d985a Removing extlib submodule and switching it to being a package.
Much nicer!

This commit sponsored by Cameron Merkel.  Thanks Cameron!  Good luck
with yer projects!
2014-03-27 15:05:25 -05:00
Christopher Allan Webber
9caaff48af Okay, nm, that didn't fix it. Setting it back. Sigh. 2014-03-26 16:41:56 -05:00
Christopher Allan Webber
a946908d0f I guess this also fixes it and is nicer 2014-03-26 16:35:46 -05:00
Christopher Allan Webber
0b3b9a291f six==1.5.2 2014-03-26 16:17:29 -05:00
Christopher Allan Webber
5d04469315 Babel now requires >= 1.0 2014-03-26 14:17:18 -05:00
tilly-Q
74d7ff9614 Big update. I added in a json-ld context file which will be used in all our
metadata columns in the future. The context describes the dublin core elements.
It still has not been finalized however.
2014-03-23 16:40:12 -04:00
Christopher Allan Webber
023cda0974 Fix Babel version restriction. Onward and upward!
(Fix suggested by simonft... thanks!)
2014-03-22 11:02:24 -05:00
Christopher Allan Webber
c07bb3123c Fix version conflicts we were hitting with six 2014-03-20 23:25:25 -05:00
Boris Bobrov
2636dddfa6 added new slugify with unidecode 2014-03-11 11:01:04 -05:00
tilly-Q
157794d704 fixed my mistaken use of => from last commit >__< 2014-02-13 14:10:11 -05:00
tilly-Q
6d0cafdcca Changed setup.py install_requirements to require sqlalchemy at least of version
0.8.0. Our code was crashing when running with sqlalchemy 0.7.4 because of
imports like sqlalchemy.orm.with_polymorphic
2014-02-13 14:00:09 -05:00
Christopher Allan Webber
cebd1ad71c Okay that broke the build process(?), testing if this fixes it 2014-01-23 09:32:54 -06:00
Christopher Allan Webber
16a952a4eb Once we can, that is. 2014-01-23 09:23:51 -06:00