151 Commits

Author SHA1 Message Date
Boris Bobrov
09cd88b033 require higher version of six due to installation problems 2018-08-13 10:53:52 +02:00
Boris Bobrov
f1e79d68e1 Revert "cap sqlalchemy"
This reverts commit d803f14361ec02878afe4f6b196ce917010a1e2f.
WTForms 2.2 was releases, see
https://issues.mediagoblin.org/ticket/5570#comment:6
2018-06-08 17:46:29 +02:00
Boris Bobrov
d803f14361 cap sqlalchemy
Closes #5557 and fixes some complaints in irc
2018-04-30 20:26:34 +02:00
Boris Bobrov
411ae185bf move exifread to other dependencies 2017-06-10 01:29:19 +03:00
Boris Bobrov
00d0bb714b Remove upper cap on celery kombu
Also remove kombu from requirements, because celery fetches it anyway
2017-06-10 01:24:29 +03:00
Andrew Browning
d37c6f622a Modify setup.py version syntax to address #5464
Some users report that even with version <4.0 specified in setup.py,
the 4.0-rc builds of kombu and celery were still being downloaded.
This patch uses a different version syntax as suggested in a Stack
Overflow thread.

https://stackoverflow.com/a/14405269
2016-08-26 11:34:18 -04:00
Boris Bobrov
474a56ce90 Cap kombu and celery
See issue 5464 for details
2016-07-25 05:23:16 +03:00
Christopher Allan Webber
af6b89eafe Remove old hack to support pre-0.7.5 Alembic versions
Thanks to Jessica Tallon for pointing out this TODO and its associated
hack could be removed.
2016-03-02 11:20:47 -08:00
Christopher Allan Webber
0c9c5cab62 Remove version caps on sqlalchemy and alembic.
Code seems to pass fine after the cap is removed.  Whatever dependency
issues we were running into before don't seem to be an issue now.
2016-03-02 11:20:47 -08:00
Christopher Allan Webber
062e37899d Oh, we don't need Paste, but we do need PasteScript! 2016-02-20 13:25:45 -08:00
Christopher Allan Webber
5c58b69e51 Removing python 2.6 junk: argparse and a 2.6 classifier 2016-02-19 10:22:48 -08:00
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