{"action":"created","issue":{"url":"https://api.github.com/repos/OpCode1300/cfme_tests/issues/404","repository_url":"https://api.github.com/repos/OpCode1300/cfme_tests","labels_url":"https://api.github.com/repos/OpCode1300/cfme_tests/issues/404/labels{/name}","comments_url":"https://api.github.com/repos/OpCode1300/cfme_tests/issues/404/comments","events_url":"https://api.github.com/repos/OpCode1300/cfme_tests/issues/404/events","html_url":"https://github.com/OpCode1300/cfme_tests/pull/404","id":318220060,"number":404,"title":"Update flask to 1.0","user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-26T22:34:52Z","updated_at":"2018-04-30T03:51:41Z","closed_at":null,"author_association":"NONE","pull_request":{"url":"https://api.github.com/repos/OpCode1300/cfme_tests/pulls/404","html_url":"https://github.com/OpCode1300/cfme_tests/pull/404","diff_url":"https://github.com/OpCode1300/cfme_tests/pull/404.diff","patch_url":"https://github.com/OpCode1300/cfme_tests/pull/404.patch"},"body":"\nThis PR updates [Flask](https://pypi.org/project/Flask) from **0.12.2** to **1.0**.\n\n\n\n<details>\n  <summary>Changelog</summary>\n  \n  \n   ### 1.0\n   ```\n   -----------\n\nReleased on April 26th 2018\n\n-   **Python 2.6 and 3.3 are no longer supported.** (`pallets/meta24`_)\n-   Bump minimum dependency versions to the latest stable versions:\n    Werkzeug &gt;= 0.14, Jinja &gt;= 2.10, itsdangerous &gt;= 0.24, Click &gt;= 5.1.\n    (`2586`_)\n-   Skip :meth:`app.run &lt;Flask.run&gt;` when a Flask application is run\n    from the command line. This avoids some behavior that was confusing\n    to debug.\n-   Change the default for :data:`JSONIFY_PRETTYPRINT_REGULAR` to\n    ``False``. :func:`~json.jsonify` returns a compact format by\n    default, and an indented format in debug mode. (`2193`_)\n-   :meth:`Flask.__init__ &lt;Flask&gt;` accepts the ``host_matching``\n    argument and sets it on :attr:`~Flask.url_map`. (`1559`_)\n-   :meth:`Flask.__init__ &lt;Flask&gt;` accepts the ``static_host`` argument\n    and passes it as the ``host`` argument when defining the static\n    route. (`1559`_)\n-   :func:`send_file` supports Unicode in ``attachment_filename``.\n    (`2223`_)\n-   Pass ``_scheme`` argument from :func:`url_for` to\n    :meth:`~Flask.handle_url_build_error`. (`2017`_)\n-   :meth:`~Flask.add_url_rule` accepts the\n    ``provide_automatic_options`` argument to disable adding the\n    ``OPTIONS`` method. (`1489`_)\n-   :class:`~views.MethodView` subclasses inherit method handlers from\n    base classes. (`1936`_)\n-   Errors caused while opening the session at the beginning of the\n    request are handled by the app&#39;s error handlers. (`2254`_)\n-   Blueprints gained :attr:`~Blueprint.json_encoder` and\n    :attr:`~Blueprint.json_decoder` attributes to override the app&#39;s\n    encoder and decoder. (`1898`_)\n-   :meth:`Flask.make_response` raises ``TypeError`` instead of\n    ``ValueError`` for bad response types. The error messages have been\n    improved to describe why the type is invalid. (`2256`_)\n-   Add ``routes`` CLI command to output routes registered on the\n    application. (`2259`_)\n-   Show warning when session cookie domain is a bare hostname or an IP\n    address, as these may not behave properly in some browsers, such as\n    Chrome. (`2282`_)\n-   Allow IP address as exact session cookie domain. (`2282`_)\n-   ``SESSION_COOKIE_DOMAIN`` is set if it is detected through\n    ``SERVER_NAME``. (`2282`_)\n-   Auto-detect zero-argument app factory called ``create_app`` or\n    ``make_app`` from ``FLASK_APP``. (`2297`_)\n-   Factory functions are not required to take a ``script_info``\n    parameter to work with the ``flask`` command. If they take a single\n    parameter or a parameter named ``script_info``, the\n    :class:`~cli.ScriptInfo` object will be passed. (`2319`_)\n-   ``FLASK_APP`` can be set to an app factory, with arguments if\n    needed, for example ``FLASK_APP=myproject.app:create_app(&#39;dev&#39;)``.\n    (`2326`_)\n-   ``FLASK_APP`` can point to local packages that are not installed in\n    editable mode, although ``pip install -e`` is still preferred.\n    (`2414`_)\n-   The :class:`~views.View` class attribute\n    :attr:`~views.View.provide_automatic_options` is set in\n    :meth:`~views.View.as_view`, to be detected by\n    :meth:`~Flask.add_url_rule`. (`2316`_)\n-   Error handling will try handlers registered for ``blueprint, code``,\n    ``app, code``, ``blueprint, exception``, ``app, exception``.\n    (`2314`_)\n-   ``Cookie`` is added to the response&#39;s ``Vary`` header if the session\n    is accessed at all during the request (and not deleted). (`2288`_)\n-   :meth:`~Flask.test_request_context` accepts ``subdomain`` and\n    ``url_scheme`` arguments for use when building the base URL.\n    (`1621`_)\n-   Set :data:`APPLICATION_ROOT` to ``&#39;/&#39;`` by default. This was already\n    the implicit default when it was set to ``None``.\n-   :data:`TRAP_BAD_REQUEST_ERRORS` is enabled by default in debug mode.\n    ``BadRequestKeyError`` has a message with the bad key in debug mode\n    instead of the generic bad request message. (`2348`_)\n-   Allow registering new tags with\n    :class:`~json.tag.TaggedJSONSerializer` to support storing other\n    types in the session cookie. (`2352`_)\n-   Only open the session if the request has not been pushed onto the\n    context stack yet. This allows :func:`~stream_with_context`\n    generators to access the same session that the containing view uses.\n    (`2354`_)\n-   Add ``json`` keyword argument for the test client request methods.\n    This will dump the given object as JSON and set the appropriate\n    content type. (`2358`_)\n-   Extract JSON handling to a mixin applied to both the\n    :class:`Request` and :class:`Response` classes. This adds the\n    :meth:`~Response.is_json` and :meth:`~Response.get_json` methods to\n    the response to make testing JSON response much easier. (`2358`_)\n-   Removed error handler caching because it caused unexpected results\n    for some exception inheritance hierarchies. Register handlers\n    explicitly for each exception if you want to avoid traversing the\n    MRO. (`2362`_)\n-   Fix incorrect JSON encoding of aware, non-UTC datetimes. (`2374`_)\n-   Template auto reloading will honor debug mode even even if\n    :attr:`~Flask.jinja_env` was already accessed. (`2373`_)\n-   The following old deprecated code was removed. (`2385`_)\n\n    -   ``flask.ext`` - import extensions directly by their name instead\n        of through the ``flask.ext`` namespace. For example,\n        ``import flask.ext.sqlalchemy`` becomes\n        ``import flask_sqlalchemy``.\n    -   ``Flask.init_jinja_globals`` - extend\n        :meth:`Flask.create_jinja_environment` instead.\n    -   ``Flask.error_handlers`` - tracked by\n        :attr:`Flask.error_handler_spec`, use :meth:`Flask.errorhandler`\n        to register handlers.\n    -   ``Flask.request_globals_class`` - use\n        :attr:`Flask.app_ctx_globals_class` instead.\n    -   ``Flask.static_path`` - use :attr:`Flask.static_url_path`\n        instead.\n    -   ``Request.module`` - use :attr:`Request.blueprint` instead.\n\n-   The :attr:`Request.json` property is no longer deprecated.\n    (`1421`_)\n-   Support passing a :class:`~werkzeug.test.EnvironBuilder` or\n    ``dict`` to :meth:`test_client.open &lt;werkzeug.test.Client.open&gt;`.\n    (`2412`_)\n-   The ``flask`` command and :meth:`Flask.run` will load environment\n    variables from ``.env`` and ``.flaskenv`` files if python-dotenv is\n    installed. (`2416`_)\n-   When passing a full URL to the test client, the scheme in the URL is\n    used instead of :data:`PREFERRED_URL_SCHEME`. (`2430`_)\n-   :attr:`Flask.logger` has been simplified. ``LOGGER_NAME`` and\n    ``LOGGER_HANDLER_POLICY`` config was removed. The logger is always\n    named ``flask.app``. The level is only set on first access, it\n    doesn&#39;t check :attr:`Flask.debug` each time. Only one format is\n    used, not different ones depending on :attr:`Flask.debug`. No\n    handlers are removed, and a handler is only added if no handlers are\n    already configured. (`2436`_)\n-   Blueprint view function names may not contain dots. (`2450`_)\n-   Fix a ``ValueError`` caused by invalid ``Range`` requests in some\n    cases. (`2526`_)\n-   The development server uses threads by default. (`2529`_)\n-   Loading config files with ``silent=True`` will ignore\n    :data:`~errno.ENOTDIR` errors. (`2581`_)\n-   Pass ``--cert`` and ``--key`` options to ``flask run`` to run the\n    development server over HTTPS. (`2606`_)\n-   Added :data:`SESSION_COOKIE_SAMESITE` to control the ``SameSite``\n    attribute on the session cookie. (`2607`_)\n-   Added :meth:`~flask.Flask.test_cli_runner` to create a Click runner\n    that can invoke Flask CLI commands for testing. (`2636`_)\n-   Subdomain matching is disabled by default and setting\n    :data:`SERVER_NAME` does not implicily enable it. It can be enabled\n    by passing ``subdomain_matching=True`` to the ``Flask`` constructor.\n    (`2635`_)\n-   A single trailing slash is stripped from the blueprint\n    ``url_prefix`` when it is registered with the app. (`2629`_)\n-   :meth:`Request.get_json` doesn&#39;t cache the\n    result if parsing fails when ``silent`` is true. (`2651`_)\n-   :func:`Request.get_json` no longer accepts arbitrary encodings.\n    Incoming JSON should be encoded using UTF-8 per :rfc:`8259`, but\n    Flask will autodetect UTF-8, -16, or -32. (`2691`_)\n-   Added :data:`MAX_COOKIE_SIZE` and :attr:`Response.max_cookie_size`\n    to control when Werkzeug warns about large cookies that browsers may\n    ignore. (`2693`_)\n-   Updated documentation theme to make docs look better in small\n    windows. (`2709`_)\n-   Rewrote the tutorial docs and example project to take a more\n    structured approach to help new users avoid common pitfalls.\n    (`2676`_)\n\n.. _pallets/meta24: https://github.com/pallets/meta/issues/24\n.. _1421: https://github.com/pallets/flask/issues/1421\n.. _1489: https://github.com/pallets/flask/pull/1489\n.. _1559: https://github.com/pallets/flask/issues/1559\n.. _1621: https://github.com/pallets/flask/pull/1621\n.. _1898: https://github.com/pallets/flask/pull/1898\n.. _1936: https://github.com/pallets/flask/pull/1936\n.. _2017: https://github.com/pallets/flask/pull/2017\n.. _2193: https://github.com/pallets/flask/pull/2193\n.. _2223: https://github.com/pallets/flask/pull/2223\n.. _2254: https://github.com/pallets/flask/pull/2254\n.. _2256: https://github.com/pallets/flask/pull/2256\n.. _2259: https://github.com/pallets/flask/pull/2259\n.. _2282: https://github.com/pallets/flask/pull/2282\n.. _2288: https://github.com/pallets/flask/pull/2288\n.. _2297: https://github.com/pallets/flask/pull/2297\n.. _2314: https://github.com/pallets/flask/pull/2314\n.. _2316: https://github.com/pallets/flask/pull/2316\n.. _2319: https://github.com/pallets/flask/pull/2319\n.. _2326: https://github.com/pallets/flask/pull/2326\n.. _2348: https://github.com/pallets/flask/pull/2348\n.. _2352: https://github.com/pallets/flask/pull/2352\n.. _2354: https://github.com/pallets/flask/pull/2354\n.. _2358: https://github.com/pallets/flask/pull/2358\n.. _2362: https://github.com/pallets/flask/pull/2362\n.. _2374: https://github.com/pallets/flask/pull/2374\n.. _2373: https://github.com/pallets/flask/pull/2373\n.. _2385: https://github.com/pallets/flask/issues/2385\n.. _2412: https://github.com/pallets/flask/pull/2412\n.. _2414: https://github.com/pallets/flask/pull/2414\n.. _2416: https://github.com/pallets/flask/pull/2416\n.. _2430: https://github.com/pallets/flask/pull/2430\n.. _2436: https://github.com/pallets/flask/pull/2436\n.. _2450: https://github.com/pallets/flask/pull/2450\n.. _2526: https://github.com/pallets/flask/issues/2526\n.. _2529: https://github.com/pallets/flask/pull/2529\n.. _2586: https://github.com/pallets/flask/issues/2586\n.. _2581: https://github.com/pallets/flask/pull/2581\n.. _2606: https://github.com/pallets/flask/pull/2606\n.. _2607: https://github.com/pallets/flask/pull/2607\n.. _2636: https://github.com/pallets/flask/pull/2636\n.. _2635: https://github.com/pallets/flask/pull/2635\n.. _2629: https://github.com/pallets/flask/pull/2629\n.. _2651: https://github.com/pallets/flask/issues/2651\n.. _2676: https://github.com/pallets/flask/pull/2676\n.. _2691: https://github.com/pallets/flask/pull/2691\n.. _2693: https://github.com/pallets/flask/pull/2693\n.. _2709: https://github.com/pallets/flask/pull/2709\n   ```\n   \n  \n  \n   ### 0.12.3\n   ```\n   --------------\n\nReleased on April 26th 2018\n\n-   :func:`Request.get_json` no longer accepts arbitrary encodings.\n    Incoming JSON should be encoded using UTF-8 per :rfc:`8259`, but\n    Flask will autodetect UTF-8, -16, or -32. (`2692`_)\n-   Fix a Python warning about imports when using ``python -m flask``.\n    (`2666`_)\n-   Fix a ``ValueError`` caused by invalid ``Range`` requests in some\n    cases.\n\n.. _2666: https://github.com/pallets/flask/issues/2666\n.. _2692: https://github.com/pallets/flask/issues/2692\n   ```\n   \n  \n</details>\n\n\n \n\n<details>\n  <summary>Links</summary>\n  \n  - PyPI: https://pypi.org/project/flask\n  - Changelog: https://pyup.io/changelogs/flask/\n  - Homepage: https://www.palletsprojects.com/p/flask/\n</details>\n\n"},"comment":{"url":"https://api.github.com/repos/OpCode1300/cfme_tests/issues/comments/385308719","html_url":"https://github.com/OpCode1300/cfme_tests/pull/404#issuecomment-385308719","issue_url":"https://api.github.com/repos/OpCode1300/cfme_tests/issues/404","id":385308719,"user":{"login":"pyup-bot","id":16239342,"avatar_url":"https://avatars0.githubusercontent.com/u/16239342?v=4","gravatar_id":"","url":"https://api.github.com/users/pyup-bot","html_url":"https://github.com/pyup-bot","followers_url":"https://api.github.com/users/pyup-bot/followers","following_url":"https://api.github.com/users/pyup-bot/following{/other_user}","gists_url":"https://api.github.com/users/pyup-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/pyup-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pyup-bot/subscriptions","organizations_url":"https://api.github.com/users/pyup-bot/orgs","repos_url":"https://api.github.com/users/pyup-bot/repos","events_url":"https://api.github.com/users/pyup-bot/events{/privacy}","received_events_url":"https://api.github.com/users/pyup-bot/received_events","type":"User","site_admin":false},"created_at":"2018-04-30T03:51:41Z","updated_at":"2018-04-30T03:51:41Z","author_association":"NONE","body":"Closing this in favor of #409"}}
{"actor":{"display_login":"pyup-bot"}}