Commit Graph

185 Commits

Author SHA1 Message Date
pyup-bot
7a3651426f Update beautifulsoup4 from 4.5.3 to 4.6.0 2017-05-07 16:42:20 +02:00
pyup-bot
3b0bb6a831 Update cheroot from 5.4.0 to 5.5.0 2017-05-02 11:43:35 +02:00
pyup-bot
fe02267de2 Update pytest-bdd from 2.18.1 to 2.18.2 2017-05-01 12:43:14 +02:00
pyup-bot
38099c45bd Update hypothesis from 3.8.1 to 3.8.2 2017-04-26 21:48:21 +02:00
Florian Bruhin
5e7e159ac7 Merge commit '9ef17d434ddc85c6cda4d08f00fef15b7904add1' 2017-04-26 21:30:56 +02:00
pyup-bot
e252862f51 Update hypothesis from 3.8.0 to 3.8.1 2017-04-26 15:15:11 +02:00
pyup-bot
b1d88b47c1 Update vulture from 0.13 to 0.14 2017-04-26 10:32:42 +02:00
pyup-bot
4220cfc34e Update hypothesis from 3.7.3 to 3.8.0 2017-04-23 16:45:10 +02:00
pyup-bot
616a764b6d Update hypothesis from 3.7.0 to 3.7.3 2017-04-21 20:00:01 +02:00
pyup-bot
522e105aaf Update flask from 0.12 to 0.12.1 2017-03-31 19:49:32 +02:00
pyup-bot
47c7feea55 Update pytest-mock from 1.5.0 to 1.6.0 2017-03-31 01:25:27 +02:00
pyup-bot
cd91da32c4 Update hypothesis from 3.6.1 to 3.7.0 2017-03-20 16:04:22 +01:00
pyup-bot
26f5fb8eb4 Update cheroot from 5.3.0 to 5.4.0 2017-03-19 17:19:46 +01:00
pyup-bot
4b4c28fc6a Update py from 1.4.32 to 1.4.33 2017-03-17 04:29:26 +01:00
pyup-bot
5f17887a25 Update werkzeug from 0.12 to 0.12.1 2017-03-15 19:00:29 +01:00
pyup-bot
578fac1331 Update pytest from 3.0.6 to 3.0.7 2017-03-15 01:18:51 +01:00
Florian Bruhin
f50485420a Merge commit 'b5d5f323bb85cfe6824bab97a6e29efe5204616f' into pyup-bot/pyup-update-werkzeug-0.11.15-to-0.12 2017-03-13 07:47:58 +01:00
pyup-bot
4b5af2296d Update cheroot from 5.2.0 to 5.3.0 2017-03-12 18:54:35 +01:00
pyup-bot
b5d5f323bb Update werkzeug from 0.11.15 to 0.12 2017-03-10 13:22:25 +01:00
Florian Bruhin
3925fa2872 Use separate requirements file for PyQt 2017-03-08 19:09:34 +01:00
pyup-bot
990ee1826e Update vulture from 0.12 to 0.13 2017-03-06 13:30:49 +01:00
pyup-bot
88a04556ea Update cheroot from 5.1.0 to 5.2.0 2017-03-02 20:45:31 +01:00
pyup-bot
22650785aa Update parse from 1.6.6 to 1.8.0 2017-03-01 23:52:42 +01:00
Florian Bruhin
f063d4be6f Add a benchmark for qute:history 2017-02-10 11:39:07 +05:00
Florian Bruhin
89f95be5e5 Various requirements updates 2017-02-05 01:30:39 +01:00
Florian Bruhin
d9808aefed Switch from CherryPy to cheroot, take 2
This reverts commit 3584eabd6f.
This reverts commit 37dc99c26f.
2017-01-23 07:38:24 +01:00
Florian Bruhin
a3c605fe54 pytest requirements: Update pytest to 3.0.6 2017-01-22 22:23:20 +01:00
Florian Bruhin
3584eabd6f requirements: Filter CherryPy 9.0.0 2017-01-20 09:11:56 +01:00
Florian Bruhin
37dc99c26f Revert "Switch from CherryPy to cheroot"
This reverts commit 1ab2b3af83.

See https://github.com/cherrypy/cheroot/pull/2
2017-01-20 09:06:49 +01:00
Florian Bruhin
1ab2b3af83 Switch from CherryPy to cheroot
The WSGIServer got split off from CherryPy in a separate project
2017-01-20 08:07:55 +01:00
Florian Bruhin
8922fd68d0 requirements: Update coverage to 4.3.4 2017-01-18 08:51:57 +01:00
Florian Bruhin
d9389ff0a7 Various requirements updates 2017-01-17 08:31:23 +01:00
Florian Bruhin
5ede2c6417 requirements: Update jinja to 2.9.4 2017-01-10 10:32:30 +01:00
Florian Bruhin
2b48ee14c4 test requirements: Update CherryPy to 8.8.0 2017-01-10 10:30:26 +01:00
Florian Bruhin
dd7b16c8c3 test requirements: Update click to 6.7 2017-01-06 23:54:15 +01:00
Florian Bruhin
fa539acd79 test/vulture reqs: Update vulture to 0.12 2017-01-05 13:35:12 +01:00
Florian Bruhin
48d4c9311a Various dependency updates 2017-01-02 20:16:51 +01:00
Florian Bruhin
1ef69704e2 test/codecov requirements: Update coverage to 4.3.1 2016-12-28 17:43:46 +01:00
Florian Bruhin
ab784a82fd test/codecov requirements: Update coverage to 4.3 2016-12-28 00:19:17 +01:00
Florian Bruhin
9726cd7e22 test requirements: Update Werkzeug to 0.11.13 2016-12-27 21:12:49 +01:00
Florian Bruhin
ba702db94e test requirements: Update CherryPy to 8.6.0 2016-12-27 21:12:36 +01:00
Florian Bruhin
a57c8f078f test requirements: Update CherryPy to 8.5.0 2016-12-26 16:53:03 +01:00
Florian Bruhin
45d2046b96 test requirements: Update Werkzeug to 0.11.12 2016-12-26 16:50:51 +01:00
Florian Bruhin
40c397ebaf test requirements: Update Flask to 0.12 2016-12-22 08:11:09 +01:00
Florian Bruhin
154748d56e test requirements: Update hypothesis to 3.6.1 2016-12-20 21:40:46 +01:00
Florian Bruhin
135f99c467 test requirements: Update CherryPy to 8.1.3 2016-12-19 08:13:37 +01:00
Florian Bruhin
28ccd03acd tox/test requirements: Update py to 1.4.32 2016-12-19 08:11:05 +01:00
Florian Bruhin
587e782738 Blacklist pytest 3.0.5
See https://github.com/pytest-dev/pytest/issues/2118
2016-12-05 22:40:09 +01:00
Florian Bruhin
6f90d93306 test requirements: Update pytest to 3.0.5 2016-12-05 16:17:51 +01:00
Florian Bruhin
18ac35e7b8 test requirements: Add new pytest-xvfb deps 2016-11-30 20:31:34 +01:00
Florian Bruhin
1ecda5a993 test requirements: Update pytest-xvfb to 1.0.0 2016-11-30 15:20:47 +01:00
Florian Bruhin
99fed71001 test/vulture requirements: Update vulture to 0.11 2016-11-29 09:23:00 +01:00
Florian Bruhin
df5fdb9864 test requirements: Update pytest-mock to 1.5.0 2016-11-22 22:50:58 +01:00
Florian Bruhin
acd13eed49 pytest requirements: Update pytest-faulthandler to 1.3.1 2016-11-16 22:16:13 +01:00
Florian Bruhin
2142bc23d4 test requirements: Update pytest to 3.0.4 2016-11-13 01:48:37 +01:00
Florian Bruhin
22cd42c515 test requirements: Update Mako to 1.0.6 2016-11-10 06:56:01 +01:00
Florian Bruhin
be0fe8897b test requirements: Update pytest-bdd to 2.18.1 2016-11-05 23:55:50 +01:00
Florian Bruhin
18e5334905 test requirements: Update glob2 to 0.5 2016-11-04 23:44:12 +01:00
Florian Bruhin
dc772350bf test requirements: Update pytest-mock to 1.4.0 2016-11-04 06:34:45 +01:00
Florian Bruhin
75a3b9ab1b test requirements: Update Mako to 1.0.5 2016-11-03 07:24:56 +01:00
Florian Bruhin
b11a1e92cc test requirements: Update pytest-rerunfailures to 2.1.0 2016-11-02 10:12:10 +01:00
Florian Bruhin
f2bf5cc442 test requirements: Update hypothesis to 3.6.0 2016-10-31 16:12:34 +01:00
Florian Bruhin
a6b0ef18d5 test requirements: Update xdis to 3.2.1 2016-10-31 06:39:23 +01:00
Florian Bruhin
829867ed11 test requirements: Update pytest-mock to 1.3.0 2016-10-30 00:39:17 +02:00
Florian Bruhin
1fb2dd2694 test requirements: Update uncompyle6 to 2.9.3 2016-10-26 19:16:38 +02:00
Florian Bruhin
ece3f3a2e1 Update to pytest-qt 2.1.0 2016-10-26 07:42:41 +02:00
Florian Bruhin
bd414c5f01 test requirements: Update xdis to 3.2.0 2016-10-26 07:38:05 +02:00
Florian Bruhin
fe70fddf9a test requirements: Update pytest-warnings to 0.2.0 2016-10-24 12:14:17 +02:00
Florian Bruhin
72ae9c133c test reqs: Update uncompyle6/xdis to 2.9.2/3.1.0 2016-10-16 17:27:28 +02:00
Florian Bruhin
90d868b033 test reqs: Update uncompile6/xdis to 2.9.1/3.0.2 2016-10-11 14:08:53 +02:00
Florian Bruhin
121b4bced5 test requirements: Update pytest-cov to 2.4.0 2016-10-11 14:08:04 +02:00
Florian Bruhin
d5f8181777 test requirements: Update uncompyle6 to 2.9.0 2016-10-10 15:44:08 +02:00
Florian Bruhin
a78fb6f5e4 test requirements: Update xdis to 3.0.0 2016-10-10 15:35:06 +02:00
Florian Bruhin
8670009c92 test requirements: Update uncompyle6 to 2.8.4 2016-10-10 08:11:58 +02:00
Florian Bruhin
0a8133cc9f test requirements: Update xdis to 2.3.2 2016-10-07 07:32:45 +02:00
Florian Bruhin
c9f3fbc855 test requirements: Update hypothesis to 3.5.3 2016-10-05 13:32:33 +02:00
Florian Bruhin
7df7200797 test requirements: Update pytest to 3.0.3 2016-09-30 08:51:14 +02:00
Florian Bruhin
b9f4013548 test requirements: Update CherryPy to 8.1.2 2016-09-28 22:44:07 +02:00
Florian Bruhin
b49aa2d535 test requirements: Update hypothesis to 3.5.2 2016-09-26 10:54:58 +02:00
Florian Bruhin
02accf3e71 test requirements: Update pytest-bdd to 2.18.0 2016-09-25 15:53:21 +02:00
Florian Bruhin
6751c3f460 test requirements: Update hypothesis to 3.5.1
This also adds a few new dependencies as hypothesis >= 3.5.0 depends on
uncompyle6.
2016-09-25 15:52:18 +02:00
Florian Bruhin
ac4724807a test requirements: Update pytest-xvfb to 0.3.0 2016-09-15 16:40:07 +02:00
Florian Bruhin
bb4d09ffd9 test requirements: Update CherryPy to 8.1.0 2016-09-05 11:08:20 +02:00
Florian Bruhin
7a98af4c2f test requirements: Update CherryPy to 8.0.1 2016-09-04 20:30:10 +02:00
Florian Bruhin
64b3980685 test requirements: Update CherryPy to 8.0.0 2016-09-02 19:13:37 +02:00
Florian Bruhin
55557b5c19 test requirements: Update pytest to 3.0.2 2016-09-02 07:00:19 +02:00
Florian Bruhin
f1588640a8 test requirements: Update Werkzeug to 0.11.11 2016-09-01 07:02:47 +02:00
Florian Bruhin
ce4dcf9e80 test requirements: Update pytest-repeat to 0.4.1 2016-08-25 21:19:45 +02:00
Florian Bruhin
c2a1231f47 test requirements: Update pytest to 3.0.1
Fixes various 3.0.0 regressions.
2016-08-24 07:22:36 +02:00
Florian Bruhin
1bb8ab08fc Revert "Revert "test requirements: Update to pytest 3.0""
This reverts commit 762e13c870.
2016-08-22 07:24:17 +02:00
Florian Bruhin
762e13c870 Revert "test requirements: Update to pytest 3.0"
This reverts commit a5e4e88ac8.
2016-08-21 16:59:52 +02:00
Florian Bruhin
a5e4e88ac8 test requirements: Update to pytest 3.0
See #1877
2016-08-21 16:17:16 +02:00
Florian Bruhin
5c766ff7da test requirements: Update httpbin, unpin Flask
httpbin
=======

- Allow /redirect-to to work with multiple methods
- Allow MD5 or SHA-256 to be chosen as algorithms for HTTP Digest Auth
- Set a 10MB limit on /drip

Flask
=====

Version 0.11.1
--------------

Bugfix release, released on June 7th 2016.

- Fixed a bug that prevented ``FLASK_APP=foobar/__init__.py`` from
  working.

Version 0.11
------------

Released on May 29th 2016, codename Absinthe.

- Added support to serializing top-level arrays to
  :func:`flask.jsonify`. This introduces a security risk in ancient
  browsers. See :ref:`json-security` for details.
- Added before_render_template signal.
- Added `**kwargs` to :meth:`flask.Test.test_client` to support passing
  additional keyword arguments to the constructor of
  :attr:`flask.Flask.test_client_class`.
- Added ``SESSION_REFRESH_EACH_REQUEST`` config key that controls the
  set-cookie behavior.  If set to ``True`` a permanent session will be
  refreshed each request and get their lifetime extended, if set to
  ``False`` it will only be modified if the session actually modifies.
  Non permanent sessions are not affected by this and will always
  expire if the browser window closes.
- Made Flask support custom JSON mimetypes for incoming data.
- Added support for returning tuples in the form ``(response, headers)``
  from a view function.
- Added :meth:`flask.Config.from_json`.
- Added :attr:`flask.Flask.config_class`.
- Added :meth:`flask.Config.get_namespace`.
- Templates are no longer automatically reloaded outside of debug mode. This
  can be configured with the new ``TEMPLATES_AUTO_RELOAD`` config key.
- Added a workaround for a limitation in Python 3.3's namespace loader.
- Added support for explicit root paths when using Python 3.3's namespace
  packages.
- Added :command:`flask` and the ``flask.cli`` module to start the local
  debug server through the click CLI system.  This is recommended over the old
  ``flask.run()`` method as it works faster and more reliable due to a
  different design and also replaces ``Flask-Script``.
- Error handlers that match specific classes are now checked first,
  thereby allowing catching exceptions that are subclasses of HTTP
  exceptions (in ``werkzeug.exceptions``).  This makes it possible
  for an extension author to create exceptions that will by default
  result in the HTTP error of their choosing, but may be caught with
  a custom error handler if desired.
- Added :meth:`flask.Config.from_mapping`.
- Flask will now log by default even if debug is disabled.  The log format is
  now hardcoded but the default log handling can be disabled through the
  ``LOGGER_HANDLER_POLICY`` configuration key.
- Removed deprecated module functionality.
- Added the ``EXPLAIN_TEMPLATE_LOADING`` config flag which when enabled will
  instruct Flask to explain how it locates templates.  This should help
  users debug when the wrong templates are loaded.
- Enforce blueprint handling in the order they were registered for template
  loading.
- Ported test suite to py.test.
- Deprecated ``request.json`` in favour of ``request.get_json()``.
- Add "pretty" and "compressed" separators definitions in jsonify() method.
  Reduces JSON response size when JSONIFY_PRETTYPRINT_REGULAR=False by removing
  unnecessary white space included by default after separators.
- JSON responses are now terminated with a newline character, because it is a
  convention that UNIX text files end with a newline and some clients don't
  deal well when this newline is missing. See
  https://github.com/pallets/flask/pull/1262 -- this came up originally as a
  part of https://github.com/kennethreitz/httpbin/issues/168
- The automatically provided ``OPTIONS`` method is now correctly disabled if
  the user registered an overriding rule with the lowercase-version
  ``options``.
- ``flask.json.jsonify`` now supports the ``datetime.date`` type.
- Don't leak exception info of already catched exceptions to context teardown
  handlers.
- Allow custom Jinja environment subclasses.
- ``flask.g`` now has ``pop()`` and ``setdefault`` methods.
- Turn on autoescape for ``flask.templating.render_template_string`` by default.
- ``flask.ext`` is now deprecated.
- ``send_from_directory`` now raises BadRequest if the filename is invalid on
  the server OS.
- Added the ``JSONIFY_MIMETYPE`` configuration variable.
- Exceptions during teardown handling will no longer leave bad application
  contexts lingering around.

Version 0.10.2
--------------

(bugfix release, release date to be announced)

- Fixed broken `test_appcontext_signals()` test case.
- Raise an :exc:`AttributeError` in :func:`flask.helpers.find_package` with a
  useful message explaining why it is raised when a PEP 302 import hook is used
  without an `is_package()` method.
- Fixed an issue causing exceptions raised before entering a request or app
  context to be passed to teardown handlers.
- Fixed an issue with query parameters getting removed from requests in
  the test client when absolute URLs were requested.
- Made `@before_first_request` into a decorator as intended.
- Fixed an etags bug when sending a file streams with a name.
- Fixed `send_from_directory` not expanding to the application root path
  correctly.
- Changed logic of before first request handlers to flip the flag after
  invoking.  This will allow some uses that are potentially dangerous but
  should probably be permitted.
- Fixed Python 3 bug when a handler from `app.url_build_error_handlers`
  reraises the `BuildError`.
2016-08-15 19:38:55 +02:00
Florian Bruhin
81eb53a152 test reqs: Update pytest-rerunfailures to 2.0.1
- Prepare CLI options to pytest 3.0, to avoid a deprecation warning.
- Fix error due to missing CHANGES.rst when creating the source
  distribution by adding a MANIFEST.in.
2016-08-10 11:26:19 +02:00
Florian Bruhin
c54f1fe1bb test requirements: Update pytest-xvfb to 0.2.1
This uses /tmp as hardcoded temp dir like X11 does.
2016-08-09 22:11:45 +02:00
Florian Bruhin
3b8189d638 test requirements: Update pytest-repeat to 0.4.0
Fix deprecation warning present in pytest 3.0 for type argument in addoption
2016-08-09 20:53:37 +02:00
Florian Bruhin
ded2143761 test requirements: Update pytest-cov to 2.3.1
- Fixed regression causing spurious errors when xdist was used.
- Fixed DeprecationWarning about incorrect addoption use.
- Fixed deprecated use of funcarg fixture API.
2016-08-08 15:20:04 +02:00
Florian Bruhin
7b7ff53fc1 test requirements: Update pytest-mock to 1.2
- Try to import mock first instead of unittest.mock. This gives the user
  flexibility to install a newer mock version from PyPI instead of using
  the one available in the Python distribution.
- mock.sentinel is now aliased as mocker.sentinel for convenience.
2016-08-03 09:27:50 +02:00
Florian Bruhin
d3192077b4 test requirements: Update beautifulsoup4 to 4.5.1
* Fixed a reported (but not duplicated) bug involving processing
  instructions fed into the lxml HTML parser.
2016-08-03 09:27:24 +02:00
Florian Bruhin
2e40bd3a36 tox: Update pytest-qt to 2.0.0
See #1702.

Breaking Changes

With pytest-qt 2.0, we changed some defaults to values we think are much
better, however this required some backwards-incompatible changes:

- pytest-qt now defaults to using PyQt5 if PYTEST_QT_API is not set.
  Before, it preferred PySide which is using the discontinued Qt4.
- Python 3 versions prior to 3.4 are no longer supported.
- The @pytest.mark.qt_log_ignore mark now defaults to extend=True, i.e.
  extends the patterns defined in the config file rather than overriding
  them. You can pass extend=False to get the old behaviour of overriding
  the patterns.
- qtbot.waitSignal now defaults to raising=True and raises an exception
  on timeouts. You can set qt_wait_signal_raising = false in your config
  to get back the old behaviour.
- PYTEST_QT_FORCE_PYQT environment variable is no longer supported. Set
  PYTEST_QT_API to the appropriate value instead or the new qt_api
  configuration option in your pytest.ini file.

New Features

- From this version onward, pytest-qt is licensed under the MIT license.
- New qtmodeltester fixture to test QAbstractItemModel subclasses.
- waitSignal and waitSignals can receive an optional callback that can
  evaluate if the arguments of emitted signals should resume execution
  or not.
- Now which Qt binding pytest-qt will use can be configured by the
  qt_api config option.
- While pytestqt.qt_compat is an internal module and shouldn't be
  imported directly, it is known that some test suites did import it.
  This module now uses a lazy-load mechanism to load Qt classes and
  objects, so the old symbols (QtCore, QApplication, etc.) are no longer
  available from it.

Other Changes

- Exceptions caught by pytest-qt in sys.excepthook are now also printed
  to stderr, making debugging them easier from within an IDE.
2016-07-29 09:12:06 +02:00