Changeset - 1f43d08ce5a8
[Not reviewed]
default
0 3 0
Mads Kiilerich (mads) - 9 years ago 2017-02-02 03:11:47
mads@kiilerich.com
setup: bump WebOb to >=1.7

TurboGears will soon require WebOb>=1.7 and that cause an innocent test change.

Older WebOb versions also required older WebTest versions but the WebTest
dependency from Pylons will now automatically pick compatible versions.
3 files changed with 2 insertions and 4 deletions:
0 comments (0 inline, 0 general)
dev_requirements.txt
Show inline comments
 
pytest ~= 3.0
 
pytest-runner
 
pytest-sugar>=0.7.0
 
pytest-catchlog
 
WebTest<2 # this is also a Pylons dependency and pinned in setup.py to avoid version conflicts for WebOb
 
mock
 
sphinx
kallithea/tests/functional/test_files.py
Show inline comments
 
@@ -204,13 +204,13 @@ class TestFilesController(TestController
 

	
 
            assert response.status == '200 OK'
 
            heads = [
 
                ('Pragma', 'no-cache'),
 
                ('Cache-Control', 'no-cache'),
 
                ('Content-Disposition', 'attachment; filename=%s' % filename),
 
                ('Content-Type', '%s; charset=utf-8' % info[0]),
 
                ('Content-Type', info[0]),
 
            ]
 
            assert response.response._headers.items() == heads
 

	
 
    def test_archival_wrong_ext(self):
 
        self.log_user()
 
        _set_downloads(HG_REPO, set_to=True)
setup.py
Show inline comments
 
@@ -34,15 +34,14 @@ __platform__ = platform.system()
 

	
 
is_windows = __platform__ in ['Windows']
 

	
 
requirements = [
 
    "alembic>=0.8.0,<0.9",
 
    "waitress>=0.8.8,<1.0",
 
    "webob>=1.0.8,<=1.1.1",
 
    "webob>=1.7,<2",
 
    "Pylons>=1.0.0,<=1.0.2",
 
    "WebTest<2.0", # make the Pylons dependency pick a version that supports our WebOb version
 
    "Beaker>=1.7.0,<2",
 
    "WebHelpers==1.3",
 
    "formencode>=1.2.4,<=1.2.6",
 
    "SQLAlchemy>=1.0,<1.1",
 
    "Mako>=0.9.0,<=1.0.0",
 
    "pygments>=1.5",
0 comments (0 inline, 0 general)