commit python-Flask for openSUSE:Factory

2020-06-05 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2020-06-05 19:59:16

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new.3606 (New)


Package is "python-Flask"

Fri Jun  5 19:59:16 2020 rev:25 rq:809661 version:1.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2020-04-09 23:14:09.298199416 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new.3606/python-Flask.changes  
2020-06-05 19:59:18.839751852 +0200
@@ -1,0 +2,5 @@
+Tue May 26 06:34:15 UTC 2020 - Petr Gajdos 
+
+- %python3_only -> %python_alternative
+
+---



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.R6o1c6/_old  2020-06-05 19:59:19.471754038 +0200
+++ /var/tmp/diff_new_pack.R6o1c6/_new  2020-06-05 19:59:19.475754052 +0200
@@ -24,7 +24,7 @@
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions
 License:BSD-3-Clause
 Group:  Development/Languages/Python
-URL:http://github.com/mitsuhiko/flask/
+URL:https://github.com/mitsuhiko/flask/
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
 BuildRequires:  %{python_module Jinja2 >= 2.4}
 BuildRequires:  %{python_module Werkzeug >= 0.15}
@@ -33,15 +33,17 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
-%if %{?suse_version} < 1500
-BuildRequires:  python
-%endif
 BuildRequires:  python-rpm-macros
 Requires:   python-Jinja2 >= 2.10
 Requires:   python-Werkzeug >= 0.15
 Requires:   python-click >= 5.1
 Requires:   python-itsdangerous >= 0.24
+Requires(post): update-alternatives
+Requires(postun): update-alternatives
 BuildArch:  noarch
+%if %{?suse_version} < 1500
+BuildRequires:  python
+%endif
 %ifpython2
 Provides:   %{oldpython}-flask = %{version}
 Obsoletes:  %{oldpython}-flask < %{version}
@@ -70,7 +72,7 @@
 
 %install
 %python_install
-%python_clone %{buildroot}%{_bindir}/flask
+%python_clone -a %{buildroot}%{_bindir}/flask
 
 %fdupes %{buildroot}%{python_sitelib}
 
@@ -78,10 +80,16 @@
 export LANG=en_US.UTF-8
 %pytest
 
+%post
+%python_install_alternative flask
+
+%postun
+%python_uninstall_alternative flask
+
 %files %{python_files}
 %license LICENSE.rst
 %doc CHANGES.rst README.rst
-%python3_only %{_bindir}/flask
+%python_alternative %{_bindir}/flask
 %{_bindir}/flask-%{python_bin_suffix}
 %dir %{python_sitelib}/flask
 %{python_sitelib}/flask/*




commit python-Flask for openSUSE:Factory

2020-04-09 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2020-04-09 23:14:07

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new.3248 (New)


Package is "python-Flask"

Thu Apr  9 23:14:07 2020 rev:24 rq:791758 version:1.1.2

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2019-12-07 15:12:50.907817423 +0100
+++ /work/SRC/openSUSE:Factory/.python-Flask.new.3248/python-Flask.changes  
2020-04-09 23:14:09.298199416 +0200
@@ -1,0 +2,10 @@
+Fri Apr  3 17:31:16 UTC 2020 - Petr Cervinka 
+
+- Update to 1.1.2:
+  * Work around an issue when running the flask command with an external
+debugger on Windows. :issue:`3297`
+  * The static route will not catch all URLs if the Flask static_folder
+argument ends with a slash. :issue:`3452`
+- Remove python38-exception-test.patch
+
+---

Old:

  Flask-1.1.1.tar.gz
  python38-exception-test.patch

New:

  Flask-1.1.2.tar.gz



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.umSDFd/_old  2020-04-09 23:14:10.042199846 +0200
+++ /var/tmp/diff_new_pack.umSDFd/_new  2020-04-09 23:14:10.042199846 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask
 #
-# Copyright (c) 2019 SUSE LLC
+# Copyright (c) 2020 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -19,14 +19,13 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Flask
-Version:1.1.1
+Version:1.1.2
 Release:0
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions
 License:BSD-3-Clause
 Group:  Development/Languages/Python
 URL:http://github.com/mitsuhiko/flask/
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
-Patch0: python38-exception-test.patch
 BuildRequires:  %{python_module Jinja2 >= 2.4}
 BuildRequires:  %{python_module Werkzeug >= 0.15}
 BuildRequires:  %{python_module click >= 5.1}
@@ -64,7 +63,6 @@
 
 %prep
 %setup -q -n Flask-%{version}
-%autopatch -p1
 
 %build
 %python_build

++ Flask-1.1.1.tar.gz -> Flask-1.1.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-1.1.1/CHANGES.rst new/Flask-1.1.2/CHANGES.rst
--- old/Flask-1.1.1/CHANGES.rst 2019-07-08 19:55:46.0 +0200
+++ new/Flask-1.1.2/CHANGES.rst 2020-04-03 19:03:33.0 +0200
@@ -1,5 +1,16 @@
 .. currentmodule:: flask
 
+Version 1.1.2
+-
+
+Released 2020-04-03
+
+-   Work around an issue when running the ``flask`` command with an
+external debugger on Windows. :issue:`3297`
+-   The static route will not catch all URLs if the ``Flask``
+``static_folder`` argument ends with a slash. :issue:`3452`
+
+
 Version 1.1.1
 -
 
@@ -328,6 +339,14 @@
 :pr:`2676`
 
 
+Version 0.12.5
+--
+
+Released 2020-02-10
+
+-   Pin Werkzeug to < 1.0.0. :issue:`3497`
+
+
 Version 0.12.4
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-1.1.1/CONTRIBUTING.rst 
new/Flask-1.1.2/CONTRIBUTING.rst
--- old/Flask-1.1.1/CONTRIBUTING.rst2019-07-08 19:55:46.0 +0200
+++ new/Flask-1.1.2/CONTRIBUTING.rst2020-04-03 16:25:59.0 +0200
@@ -79,7 +79,8 @@
 
 pip install -e ".[dev]"
 
-- Install the pre-commit hooks:
+- Install the `pre-commit framework`_.
+- Install the pre-commit hooks::
 
 pre-commit install --install-hooks
 
@@ -89,6 +90,7 @@
 .. _email: 
https://help.github.com/en/articles/setting-your-commit-email-address-in-git
 .. _Fork: https://github.com/pallets/flask/fork
 .. _Clone: 
https://help.github.com/en/articles/fork-a-repo#step-2-create-a-local-clone-of-your-fork
+.. _pre-commit framework: https://pre-commit.com/#install
 
 Start coding
 
@@ -162,6 +164,7 @@
 Build the docs in the ``docs`` directory using Sphinx::
 
 cd docs
+pip install -r requirements.txt
 make html
 
 Open ``_build/html/index.html`` in your browser to view the docs.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-1.1.1/MANIFEST.in new/Flask-1.1.2/MANIFEST.in
--- old/Flask-1.1.1/MANIFEST.in 2019-07-08 19:55:46.0 +0200
+++ new/Flask-1.1.2/MANIFEST.in 2020-04-03 19:10:16.0 +0200
@@ -6,3 +6,4 @@
 prune docs/_build
 graft examples
 graft tests
+global-exclude *.pyc
diff -urN 

commit python-Flask for openSUSE:Factory

2019-12-07 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2019-12-07 15:12:13

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new.4691 (New)


Package is "python-Flask"

Sat Dec  7 15:12:13 2019 rev:23 rq:752962 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2019-11-11 13:00:35.161702751 +0100
+++ /work/SRC/openSUSE:Factory/.python-Flask.new.4691/python-Flask.changes  
2019-12-07 15:12:50.907817423 +0100
@@ -1,0 +2,6 @@
+Mon Dec  2 13:51:57 UTC 2019 - John Paul Adrian Glaubitz 

+
+- Fix build on SLE-12
+  + Add python to BuildRequires for suse_version < 1500
+
+---



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.ETfDbC/_old  2019-12-07 15:12:53.159817104 +0100
+++ /var/tmp/diff_new_pack.ETfDbC/_new  2019-12-07 15:12:53.163817103 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask
 #
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -34,6 +34,9 @@
 BuildRequires:  %{python_module pytest}
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
+%if %{?suse_version} < 1500
+BuildRequires:  python
+%endif
 BuildRequires:  python-rpm-macros
 Requires:   python-Jinja2 >= 2.10
 Requires:   python-Werkzeug >= 0.15




commit python-Flask for openSUSE:Factory

2019-11-11 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2019-11-11 13:00:30

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new.2990 (New)


Package is "python-Flask"

Mon Nov 11 13:00:30 2019 rev:22 rq:746453 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2019-07-30 13:03:11.678416847 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new.2990/python-Flask.changes  
2019-11-11 13:00:35.161702751 +0100
@@ -1,0 +2,5 @@
+Fri Nov  8 05:29:38 UTC 2019 - Steve Kowalik 
+
+- Add python38-exception-test.patch to fix test failures under Python 3.8
+
+---

New:

  python38-exception-test.patch



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.yYZhL0/_old  2019-11-11 13:00:36.053703696 +0100
+++ /var/tmp/diff_new_pack.yYZhL0/_new  2019-11-11 13:00:36.069703712 +0100
@@ -26,6 +26,7 @@
 Group:  Development/Languages/Python
 URL:http://github.com/mitsuhiko/flask/
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
+Patch0: python38-exception-test.patch
 BuildRequires:  %{python_module Jinja2 >= 2.4}
 BuildRequires:  %{python_module Werkzeug >= 0.15}
 BuildRequires:  %{python_module click >= 5.1}
@@ -60,6 +61,7 @@
 
 %prep
 %setup -q -n Flask-%{version}
+%autopatch -p1
 
 %build
 %python_build

++ python38-exception-test.patch ++
>From c367a86cc5be70da4928b276d0218f98df6e854d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fernanda=20Guimar=C3=A3es?= 
Date: Mon, 28 Oct 2019 21:37:25 -0300
Subject: [PATCH] Test test_send_from_directory_bad_request no longer fails in
 Python 3.8.

---
 tests/test_helpers.py | 10 --
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/tests/test_helpers.py b/tests/test_helpers.py
index 78a562213..21735af12 100644
--- a/tests/test_helpers.py
+++ b/tests/test_helpers.py
@@ -11,6 +11,7 @@
 import datetime
 import io
 import os
+import sys
 import uuid
 
 import pytest
@@ -780,12 +781,17 @@ def test_send_from_directory_pathlike(self, app, req_ctx):
 assert rv.data.strip() == b"Hello Subdomain"
 rv.close()
 
-def test_send_from_directory_bad_request(self, app, req_ctx):
+def test_send_from_directory_null_character(self, app, req_ctx):
 app.root_path = os.path.join(
 os.path.dirname(__file__), "test_apps", "subdomaintestmodule"
 )
 
-with pytest.raises(BadRequest):
+if sys.version_info >= (3, 8):
+exception = NotFound
+else:
+exception = BadRequest
+
+with pytest.raises(exception):
 flask.send_from_directory("static", "bad\x00")
 
 



commit python-Flask for openSUSE:Factory

2019-07-30 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2019-07-30 13:03:10

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new.4126 (New)


Package is "python-Flask"

Tue Jul 30 13:03:10 2019 rev:21 rq:717080 version:1.1.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2019-06-18 14:43:31.869747839 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new.4126/python-Flask.changes  
2019-07-30 13:03:11.678416847 +0200
@@ -1,0 +2,112 @@
+Fri Jul 19 12:22:54 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.1.1:
+  * The flask.json_available flag was added back for compatibility with some
+extensions. It will raise a deprecation warning when used, and will be
+removed in version 2.0.0. #3288
+
+---
+Sat Jul  6 20:31:51 UTC 2019 - Arun Persaud 
+
+- specfile:
+  * updated version of Werkzeug requirement to 0.15
+  * AUTHORS file not in tar-ball
+  * license file got renamed to LICENSE.rst
+  * be more specific in %files section
+
+- update to version 1.1.0:
+  * Bump minimum Werkzeug version to >= 0.15.
+  * Drop support for Python 3.4.
+  * Error handlers for "InternalServerError" or "500" will always be
+  passed an instance of "InternalServerError". If they are invoked
+  due to an unhandled exception, that original exception is now
+  available as "e.original_exception" rather than being passed
+  directly to the handler. The same is true if the handler is for
+  the base "HTTPException". This makes error handler behavior more
+  consistent. :pr:`3266`
++ :meth:`Flask.finalize_request` is called for all unhandled
+exceptions even if there is no "500" error handler.
+  * :attr:`Flask.logger` takes the same name as :attr:`Flask.name`
+  (the value passed as "Flask(import_name)". This reverts 1.0's
+  behavior of always logging to ""flask.app"", in order to support
+  multiple apps in the same process. A warning will be shown if
+  old configuration is detected that needs to be
+  moved. :issue:`2866`
+  * :meth:`flask.RequestContext.copy` includes the current session
+  object in the request context copy. This prevents "session"
+  pointing to an out-of-date object. :issue:`2935`
+  * Using built-in RequestContext, unprintable Unicode characters in
+  Host header will result in a HTTP 400 response and not HTTP 500
+  as previously. :pr:`2994`
+  * :func:`send_file` supports :class:`~os.PathLike` objects as
+  described in PEP 0519, to support :mod:`pathlib` in Python 3.
+  :pr:`3059`
+  * :func:`send_file` supports :class:`~io.BytesIO` partial content.
+  :issue:`2957`
+  * :func:`open_resource` accepts the "rt" file mode. This still does
+  the same thing as "r". :issue:`3163`
+  * The :attr:`MethodView.methods` attribute set in a base class is
+  used by subclasses. :issue:`3138`
+  * :attr:`Flask.jinja_options` is a "dict" instead of an
+  "ImmutableDict" to allow easier configuration. Changes must
+  still be made before creating the environment. :pr:`3190`
+  * Flask's "JSONMixin" for the request and response wrappers was
+  moved into Werkzeug. Use Werkzeug's version with Flask-specific
+  support. This bumps the Werkzeug dependency to >= 0.15.
+  :issue:`3125`
+  * The "flask" command entry point is simplified to take advantage of
+  Werkzeug 0.15's better reloader support. This bumps the Werkzeug
+  dependency to >= 0.15. :issue:`3022`
+  * Support "static_url_path" that ends with a forward slash.
+  :issue:`3134`
+  * Support empty "static_folder" without requiring setting an empty
+  "static_url_path" as well. :pr:`3124`
+  * :meth:`jsonify` supports :class:`dataclasses.dataclass` objects.
+  :pr:`3195`
+  * Allow customizing the :attr:`Flask.url_map_class` used for
+  routing.  :pr:`3069`
+  * The development server port can be set to 0, which tells the OS to
+  pick an available port. :issue:`2926`
+  * The return value from :meth:`cli.load_dotenv` is more consistent
+  with the documentation. It will return "False" if python-dotenv
+  is not installed, or if the given path isn't a
+  file. :issue:`2937`
+  * Signaling support has a stub for the "connect_via" method when the
+  Blinker library is not installed. :pr:`3208`
+  * Add an "--extra-files" option to the "flask run" CLI command to
+  specify extra files that will trigger the reloader on change.
+  :issue:`2897`
+  * Allow returning a dictionary from a view function. Similar to how
+  returning a string will produce a "text/html" response,
+  returning a dict will call "jsonify" to produce a
+  

commit python-Flask for openSUSE:Factory

2019-06-18 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2019-06-18 14:43:29

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new.4811 (New)


Package is "python-Flask"

Tue Jun 18 14:43:29 2019 rev:20 rq:705805 version:1.0.3

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2018-05-11 11:26:04.097206591 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new.4811/python-Flask.changes  
2019-06-18 14:43:31.869747839 +0200
@@ -1,0 +2,21 @@
+Tue May 28 07:30:54 UTC 2019 - Tomáš Chvátal 
+
+- Update to 1.0.3:
+  * :func:`send_file` encodes filenames as ASCII instead of Latin-1
+(ISO-8859-1). This fixes compatibility with Gunicorn, which is
+stricter about header encodings than PEP . (`#2766`_)
+  * Allow custom CLIs using ``FlaskGroup`` to set the debug flag without
+it always being overwritten based on environment variables.
+(`#2765`_)
+  * ``flask --version`` outputs Werkzeug's version and simplifies the
+Python version. (`#2825`_)
+  * :func:`send_file` handles an ``attachment_filename`` that is a
+native Python 2 string (bytes) with UTF-8 coded bytes. (`#2933`_)
+  * A catch-all error handler registered for ``HTTPException`` will not
+handle ``RoutingExcpetion``, which is used internally during
+routing. This fixes the unexpected behavior that had been introduced
+in 1.0. (`#2986`_)
+  * Passing the ``json`` argument to ``app.test_client`` does not
+push/pop an extra app context. (`#2900`_)
+
+---

Old:

  Flask-1.0.2.tar.gz

New:

  Flask-1.0.3.tar.gz



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.s5AGZl/_old  2019-06-18 14:43:32.285747778 +0200
+++ /var/tmp/diff_new_pack.s5AGZl/_new  2019-06-18 14:43:32.289747778 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask
 #
-# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -12,14 +12,14 @@
 # license that conforms to the Open Source Definition (Version 1.9)
 # published by the Open Source Initiative.
 
-# Please submit bugfixes or comments via http://bugs.opensuse.org/
+# Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
 
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Flask
-Version:1.0.2
+Version:1.0.3
 Release:0
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions
 License:BSD-3-Clause
@@ -27,7 +27,6 @@
 URL:http://github.com/mitsuhiko/flask/
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
 BuildRequires:  %{python_module Jinja2 >= 2.4}
-# BuildRequires:  python-Sphinx
 BuildRequires:  %{python_module Werkzeug >= 0.14}
 BuildRequires:  %{python_module click >= 5.1}
 BuildRequires:  %{python_module itsdangerous >= 0.24}
@@ -73,12 +72,8 @@
 %fdupes %{buildroot}%{python_sitelib}
 
 %check
-%if 0%{?suse_version} && 0%{?suse_version} <= 1315
-true
-%else
 export LANG=en_US.UTF-8
-%python_exec -m pytest tests
-%endif
+%pytest
 
 %files %{python_files}
 %license LICENSE

++ Flask-1.0.2.tar.gz -> Flask-1.0.3.tar.gz ++
 2539 lines of diff (skipped)




commit python-Flask for openSUSE:Factory

2018-05-11 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2018-05-11 11:26:01

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is "python-Flask"

Fri May 11 11:26:01 2018 rev:19 rq:605120 version:1.0.2

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2018-05-06 14:55:34.581999058 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2018-05-11 11:26:04.097206591 +0200
@@ -1,0 +2,23 @@
+Sun May  6 05:35:06 UTC 2018 - a...@gmx.de
+
+- update to version 1.0.2:
+  * Fix more backwards compatibility issues with merging slashes
+  between a blueprint prefix and route. (`#2748`_)
+  * Fix error with "flask routes" command when there are no routes.
+  (`#2751`_)
+
+- changes from version 1.0.1:
+  * Fix registering partials (with no "__name__") as view functions.
+  (`#2730`_)
+  * Don't treat lists returned from view functions the same as tuples.
+  Only tuples are interpreted as response data. (`#2736`_)
+  * Extra slashes between a blueprint's "url_prefix" and a route URL
+  are merged. This fixes some backwards compatibility issues with
+  the change in 1.0. (`#2731`_, `#2742`_)
+  * Only trap "BadRequestKeyError" errors in debug mode, not all
+  "BadRequest" errors. This allows "abort(400)" to continue
+  working as expected. (`#2735`_)
+  * The "FLASK_SKIP_DOTENV" environment variable can be set to "1" to
+  skip automatically loading dotenv files. (`#2722`_)
+
+---

Old:

  Flask-1.0.tar.gz

New:

  Flask-1.0.2.tar.gz



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.5TcQDP/_old  2018-05-11 11:26:06.393122905 +0200
+++ /var/tmp/diff_new_pack.5TcQDP/_new  2018-05-11 11:26:06.393122905 +0200
@@ -19,7 +19,7 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Flask
-Version:1.0
+Version:1.0.2
 Release:0
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions
 License:BSD-3-Clause

++ Flask-1.0.tar.gz -> Flask-1.0.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-1.0/CHANGES.rst new/Flask-1.0.2/CHANGES.rst
--- old/Flask-1.0/CHANGES.rst   2018-04-26 21:25:36.0 +0200
+++ new/Flask-1.0.2/CHANGES.rst 2018-05-02 16:16:05.0 +0200
@@ -4,6 +4,46 @@
 ===
 
 
+Version 1.0.2
+-
+
+Released on May 2nd 2018
+
+-   Fix more backwards compatibility issues with merging slashes between
+a blueprint prefix and route. (`#2748`_)
+-   Fix error with ``flask routes`` command when there are no routes.
+(`#2751`_)
+
+.. _#2748: https://github.com/pallets/flask/pull/2748
+.. _#2751: https://github.com/pallets/flask/issues/2751
+
+
+Version 1.0.1
+-
+
+Released on April 29th 2018
+
+-   Fix registering partials (with no ``__name__``) as view functions.
+(`#2730`_)
+-   Don't treat lists returned from view functions the same as tuples.
+Only tuples are interpreted as response data. (`#2736`_)
+-   Extra slashes between a blueprint's ``url_prefix`` and a route URL
+are merged. This fixes some backwards compatibility issues with the
+change in 1.0. (`#2731`_, `#2742`_)
+-   Only trap ``BadRequestKeyError`` errors in debug mode, not all
+``BadRequest`` errors. This allows ``abort(400)`` to continue
+working as expected. (`#2735`_)
+-   The ``FLASK_SKIP_DOTENV`` environment variable can be set to ``1``
+to skip automatically loading dotenv files. (`#2722`_)
+
+.. _#2722: https://github.com/pallets/flask/issues/2722
+.. _#2730: https://github.com/pallets/flask/pull/2730
+.. _#2731: https://github.com/pallets/flask/issues/2731
+.. _#2735: https://github.com/pallets/flask/issues/2735
+.. _#2736: https://github.com/pallets/flask/issues/2736
+.. _#2742: https://github.com/pallets/flask/issues/2742
+
+
 Version 1.0
 ---
 
@@ -215,6 +255,16 @@
 .. _#2709: https://github.com/pallets/flask/pull/2709
 
 
+Version 0.12.4
+--
+
+Released on April 29 2018
+
+-   Repackage 0.12.3 to fix package layout issue. (`#2728`_)
+
+.. _#2728: https://github.com/pallets/flask/issues/2728
+
+
 Version 0.12.3
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-1.0/Flask.egg-info/PKG-INFO 
new/Flask-1.0.2/Flask.egg-info/PKG-INFO
--- old/Flask-1.0/Flask.egg-info/PKG-INFO   2018-04-26 21:29:03.0 
+0200
+++ 

commit python-Flask for openSUSE:Factory

2018-05-06 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2018-05-06 14:55:27

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is "python-Flask"

Sun May  6 14:55:27 2018 rev:18 rq:602328 version:1.0

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2017-08-14 12:37:03.868903161 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2018-05-06 14:55:34.581999058 +0200
@@ -1,0 +2,178 @@
+Sat Apr 28 19:29:34 UTC 2018 - a...@gmx.de
+
+- specfile:
+  * update copyright year
+  * updated version of dependencies
+  * removed patch: flask-python36.patch included upstream
+  * CHANGES->CHANGES.rst
+  * README->README.rst
+
+- update to version 1.0:
+  * **Python 2.6 and 3.3 are no longer supported.**
+  (`pallets/meta#24`_)
+  * Bump minimum dependency versions to the latest stable versions:
+  Werkzeug >= 0.14, Jinja >= 2.10, itsdangerous >= 0.24, Click >=
+  5.1.  (`#2586`_)
+  * Skip :meth:`app.run ` when a Flask application is run
+  from the command line. This avoids some behavior that was
+  confusing to debug.
+  * Change the default for :data:`JSONIFY_PRETTYPRINT_REGULAR` to
+  "False". :func:`~json.jsonify` returns a compact format by
+  default, and an indented format in debug mode. (`#2193`_)
+  * :meth:`Flask.__init__ ` accepts the "host_matching"
+  argument and sets it on :attr:`~Flask.url_map`. (`#1559`_)
+  * :meth:`Flask.__init__ ` accepts the "static_host" argument
+  and passes it as the "host" argument when defining the static
+  route. (`#1559`_)
+  * :func:`send_file` supports Unicode in "attachment_filename".
+  (`#2223`_)
+  * Pass "_scheme" argument from :func:`url_for` to
+  :meth:`~Flask.handle_url_build_error`. (`#2017`_)
+  * :meth:`~Flask.add_url_rule` accepts the
+  "provide_automatic_options" argument to disable adding the
+  "OPTIONS" method. (`#1489`_)
+  * :class:`~views.MethodView` subclasses inherit method handlers from
+  base classes. (`#1936`_)
+  * Errors caused while opening the session at the beginning of the
+  request are handled by the app's error handlers. (`#2254`_)
+  * Blueprints gained :attr:`~Blueprint.json_encoder` and
+  :attr:`~Blueprint.json_decoder` attributes to override the app's
+  encoder and decoder. (`#1898`_)
+  * :meth:`Flask.make_response` raises "TypeError" instead of
+  "ValueError" for bad response types. The error messages have
+  been improved to describe why the type is invalid. (`#2256`_)
+  * Add "routes" CLI command to output routes registered on the
+  application. (`#2259`_)
+  * Show warning when session cookie domain is a bare hostname or an
+  IP address, as these may not behave properly in some browsers,
+  such as Chrome. (`#2282`_)
+  * Allow IP address as exact session cookie domain. (`#2282`_)
+  * "SESSION_COOKIE_DOMAIN" is set if it is detected through
+  "SERVER_NAME". (`#2282`_)
+  * Auto-detect zero-argument app factory called "create_app" or
+  "make_app" from "FLASK_APP". (`#2297`_)
+  * Factory functions are not required to take a "script_info"
+  parameter to work with the "flask" command. If they take a
+  single parameter or a parameter named "script_info", the
+  :class:`~cli.ScriptInfo` object will be passed. (`#2319`_)
+  * "FLASK_APP" can be set to an app factory, with arguments if
+  needed, for example "FLASK_APP=myproject.app:create_app('dev')".
+  (`#2326`_)
+  * "FLASK_APP" can point to local packages that are not installed in
+  editable mode, although "pip install -e" is still preferred.
+  (`#2414`_)
+  * The :class:`~views.View` class attribute
+  :attr:`~views.View.provide_automatic_options` is set in
+  :meth:`~views.View.as_view`, to be detected by
+  :meth:`~Flask.add_url_rule`. (`#2316`_)
+  * Error handling will try handlers registered for "blueprint, code",
+  "app, code", "blueprint, exception", "app, exception".
+  (`#2314`_)
+  * "Cookie" is added to the response's "Vary" header if the session
+  is accessed at all during the request (and not
+  deleted). (`#2288`_)
+  * :meth:`~Flask.test_request_context` accepts "subdomain" and
+  "url_scheme" arguments for use when building the base URL.
+  (`#1621`_)
+  * Set :data:`APPLICATION_ROOT` to "'/'" by default. This was already
+  the implicit default when it was set to "None".
+  * :data:`TRAP_BAD_REQUEST_ERRORS` is enabled by default in debug
+  mode.  "BadRequestKeyError" has a message with the bad key in
+  debug mode instead of the generic bad request
+  message. (`#2348`_)
+  * Allow registering new tags with
+  

commit python-Flask for openSUSE:Factory

2017-08-14 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2017-08-14 12:37:01

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is "python-Flask"

Mon Aug 14 12:37:01 2017 rev:17 rq:515228 version:0.12.2

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2017-04-28 10:38:32.908082230 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2017-08-14 12:37:03.868903161 +0200
@@ -1,0 +2,6 @@
+Tue Aug  8 17:00:05 UTC 2017 - tbecht...@suse.com
+
+- update to 0.12.2:
+  - Fix a bug in `safe_join` on Windows.
+
+---

Old:

  Flask-0.12.1.tar.gz

New:

  Flask-0.12.2.tar.gz



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.zRhzbw/_old  2017-08-14 12:37:05.568664474 +0200
+++ /var/tmp/diff_new_pack.zRhzbw/_new  2017-08-14 12:37:05.580662789 +0200
@@ -19,7 +19,7 @@
 %define oldpython python
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Flask
-Version:0.12.1
+Version:0.12.2
 Release:0
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions
 License:BSD-3-Clause
@@ -77,8 +77,12 @@
 %fdupes %{buildroot}%{python_sitelib}
 
 %check
+%if 0%{?suse_version} && 0%{?suse_version} <= 1315
+true
+%else
 export LANG=en_US.UTF-8
 %python_exec -m pytest tests
+%endif
 
 %files %{python_files}
 %defattr(-,root,root,-)

++ Flask-0.12.1.tar.gz -> Flask-0.12.2.tar.gz ++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-0.12.1/CHANGES new/Flask-0.12.2/CHANGES
--- old/Flask-0.12.1/CHANGES2017-03-31 18:43:21.0 +0200
+++ new/Flask-0.12.2/CHANGES2017-05-16 08:39:14.0 +0200
@@ -15,6 +15,13 @@
   method returns compressed response by default, and pretty response in
   debug mode.
 
+Version 0.12.2
+--
+
+Released on May 16 2017
+
+- Fix a bug in `safe_join` on Windows.
+
 Version 0.12.1
 --
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-0.12.1/Flask.egg-info/PKG-INFO 
new/Flask-0.12.2/Flask.egg-info/PKG-INFO
--- old/Flask-0.12.1/Flask.egg-info/PKG-INFO2017-03-31 18:43:36.0 
+0200
+++ new/Flask-0.12.2/Flask.egg-info/PKG-INFO2017-05-16 08:39:30.0 
+0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: Flask
-Version: 0.12.1
+Version: 0.12.2
 Summary: A microframework based on Werkzeug, Jinja2 and good intentions
 Home-page: http://github.com/pallets/flask/
 Author: Armin Ronacher
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-0.12.1/PKG-INFO new/Flask-0.12.2/PKG-INFO
--- old/Flask-0.12.1/PKG-INFO   2017-03-31 18:43:37.0 +0200
+++ new/Flask-0.12.2/PKG-INFO   2017-05-16 08:39:32.0 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: Flask
-Version: 0.12.1
+Version: 0.12.2
 Summary: A microframework based on Werkzeug, Jinja2 and good intentions
 Home-page: http://github.com/pallets/flask/
 Author: Armin Ronacher
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-0.12.1/docs/testing.rst 
new/Flask-0.12.2/docs/testing.rst
--- old/Flask-0.12.1/docs/testing.rst   2016-09-11 17:55:31.0 +0200
+++ new/Flask-0.12.2/docs/testing.rst   2017-05-16 08:39:01.0 +0200
@@ -41,7 +41,7 @@
 
 def setUp(self):
 self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp()
-flaskr.app.config['TESTING'] = True
+flaskr.app.testing = True
 self.app = flaskr.app.test_client()
 with flaskr.app.app_context():
 flaskr.init_db()
@@ -98,8 +98,10 @@
 
 def setUp(self):
 self.db_fd, flaskr.app.config['DATABASE'] = tempfile.mkstemp()
+flaskr.app.testing = True
 self.app = flaskr.app.test_client()
-flaskr.init_db()
+with flaskr.app.app_context():
+flaskr.init_db()
 
 def tearDown(self):
 os.close(self.db_fd)
@@ -208,7 +210,7 @@
 functions.  Here is a full example that demonstrates this approach::
 
 import flask
-
+
 app = flask.Flask(__name__)
 
 with app.test_request_context('/?name=Peter'):
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/Flask-0.12.1/flask/__init__.py 
new/Flask-0.12.2/flask/__init__.py
--- old/Flask-0.12.1/flask/__init__.py  2017-03-31 18:43:36.0 +0200
+++ 

commit python-Flask for openSUSE:Factory

2017-04-28 Thread root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2017-04-28 10:38:31

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is "python-Flask"

Fri Apr 28 10:38:31 2017 rev:16 rq:487844 version:0.12.1

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2016-11-28 15:06:17.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2017-04-28 10:38:32.908082230 +0200
@@ -1,0 +2,35 @@
+Tue Apr  4 14:51:27 UTC 2017 - jmate...@suse.com
+
+- update for singlespec
+- flask-python36.patch: fix test failures in Python 3.6
+- update to 0.12.1
+  * Prevent `flask run` from showing a NoAppException when an ImportError 
occurs
+within the imported application module.
+  * Fix encoding behavior of ``app.config.from_pyfile`` for Python 3. Fix
+``#2118``.
+  * Call `ctx.auto_pop` with the exception object instead of `None`, in the
+event that a `BaseException` such as `KeyboardInterrupt` is raised in a
+request handler.
+
+---
+Thu Mar 16 12:26:19 UTC 2017 - mich...@stroeder.com
+
+- update to version 0.12:
+  * the cli command now responds to `--version`.
+  * Mimetype guessing and ETag generation for file-like objects in
+"send_file" has been removed, as per issue "#104".  See pull
+request "#1849".
+  * Mimetype guessing in "send_file" now fails loudly and doesn't fall
+back to "application/octet-stream". See pull request "#1988".
+  * Make "flask.safe_join" able to join multiple paths like
+"os.path.join" (pull request "#1730").
+  * Revert a behavior change that made the dev server crash instead of
+returning a Internal Server Error (pull request "#2006").
+  * Correctly invoke response handlers for both regular request
+dispatching as well as error handlers.
+  * Disable logger propagation by default for the app logger.
+  * Add support for range requests in "send_file".
+  * "app.test_client" includes preset default environment, which can
+now be directly set, instead of per "client.get".
+
+---

Old:

  Flask-0.11.1.tar.gz

New:

  Flask-0.12.1.tar.gz
  flask-python36.patch



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.5VUUdS/_old  2017-04-28 10:38:33.543992348 +0200
+++ /var/tmp/diff_new_pack.5VUUdS/_new  2017-04-28 10:38:33.543992348 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -16,37 +16,37 @@
 #
 
 
+%define oldpython python
+%{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:   python-Flask
-Version:0.11.1
+Version:0.12.1
 Release:0
-Url:http://github.com/mitsuhiko/flask/
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions
 License:BSD-3-Clause
 Group:  Development/Languages/Python
+Url:http://github.com/mitsuhiko/flask/
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
-BuildRequires:  fdupes
-BuildRequires:  python-Jinja2 >= 2.4
-BuildRequires:  python-devel
+Patch0: flask-python36.patch
+BuildRequires:  %{python_module Jinja2 >= 2.4}
 # BuildRequires:  python-Sphinx
-BuildRequires:  python-Werkzeug >= 0.7
-BuildRequires:  python-click >= 2.0
-BuildRequires:  python-itsdangerous >= 0.21
-BuildRequires:  python-nose
-BuildRequires:  python-setuptools
+BuildRequires:  %{python_module Werkzeug >= 0.7}
+BuildRequires:  %{python_module click >= 2.0}
+BuildRequires:  %{python_module itsdangerous >= 0.21}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module setuptools}
+BuildRequires:  fdupes
+BuildRequires:  python-rpm-macros
 Requires:   python-Jinja2 >= 2.4
 Requires:   python-Werkzeug >= 0.7
 Requires:   python-click >= 2.0
 Requires:   python-itsdangerous >= 0.21
-Provides:   python-flask = %{version}
-Obsoletes:  python-flask < %{version}
-Requires(post): update-alternatives
-Requires(postun): update-alternatives
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
-%if 0%{?suse_version} && 0%{?suse_version} <= 1110
-%{!?python_sitelib: %global python_sitelib %(python -c "from 
distutils.sysconfig import get_python_lib; print get_python_lib()")}
-%else
 

commit python-Flask for openSUSE:Factory

2016-11-28 Thread h_root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2016-11-28 15:06:14

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is "python-Flask"

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2016-09-27 13:44:40.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2016-11-28 15:06:17.0 +0100
@@ -1,0 +2,5 @@
+Thu Nov 17 13:00:22 UTC 2016 - rjsch...@suse.com
+
+- Include in SLE 12 (FATE#320818, bsc#979331)
+
+---



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.64EPeJ/_old  2016-11-28 15:06:18.0 +0100
+++ /var/tmp/diff_new_pack.64EPeJ/_new  2016-11-28 15:06:18.0 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package python-Flask
 #
-# Copyright (c) 2016 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -25,8 +25,8 @@
 Group:  Development/Languages/Python
 Source: 
https://files.pythonhosted.org/packages/source/F/Flask/Flask-%{version}.tar.gz
 BuildRequires:  fdupes
-BuildRequires:  python-devel
 BuildRequires:  python-Jinja2 >= 2.4
+BuildRequires:  python-devel
 # BuildRequires:  python-Sphinx
 BuildRequires:  python-Werkzeug >= 0.7
 BuildRequires:  python-click >= 2.0




commit python-Flask for openSUSE:Factory

2016-09-27 Thread h_root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2016-09-27 13:44:34

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is "python-Flask"

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2013-10-25 11:16:04.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2016-09-27 13:44:40.0 +0200
@@ -1,0 +2,108 @@
+Fri Sep 23 14:19:03 UTC 2016 - toddrme2...@gmail.com
+
+- Change preun back to postun for now.
+
+---
+Fri Sep 16 14:25:04 UTC 2016 - toddrme2...@gmail.com
+
+- Fix download url.
+
+---
+Thu Sep 15 18:08:53 UTC 2016 - toddrme2...@gmail.com
+
+- Update to Version 0.11.1
+  - Fixed a bug that prevented ``FLASK_APP=foobar/__init__.py`` from working. 
See
+pull request ``#1872``.
+- Update to Version 0.11
+  - 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.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`` (issue ``#1288``).
+  - ``flask.json.jsonify`` now supports the ``datetime.date`` type (pull 
request
+``#1326``).
+  - Don't leak exception info of already catched exceptions to context teardown
+handlers 

commit python-Flask for openSUSE:Factory

2013-10-25 Thread h_root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2013-10-25 11:16:04

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is python-Flask

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2013-09-25 14:37:03.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2013-10-25 11:16:04.0 +0200
@@ -1,0 +2,5 @@
+Thu Oct 24 11:05:46 UTC 2013 - speili...@suse.com
+
+- Require python-setuptools instead of distribute (upstreams merged)
+
+---



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.Pq49MP/_old  2013-10-25 11:16:05.0 +0200
+++ /var/tmp/diff_new_pack.Pq49MP/_new  2013-10-25 11:16:05.0 +0200
@@ -29,9 +29,9 @@
 BuildRequires:  python-Sphinx
 BuildRequires:  python-Werkzeug = 0.7
 BuildRequires:  python-devel
-BuildRequires:  python-distribute
 BuildRequires:  python-itsdangerous = 0.21
 BuildRequires:  python-nose
+BuildRequires:  python-setuptools
 Requires:   python-Jinja2 = 2.4
 Requires:   python-Werkzeug = 0.7
 Requires:   python-itsdangerous = 0.21

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-Flask for openSUSE:Factory

2013-09-25 Thread h_root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2013-09-25 14:37:01

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is python-Flask

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2012-11-17 07:27:36.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2013-09-25 14:37:03.0 +0200
@@ -1,0 +2,88 @@
+Mon Sep  9 07:47:12 UTC 2013 - dmuel...@suse.com
+
+- add dependency on itsdangerous 
+
+---
+Tue Jun 25 11:33:18 UTC 2013 - dmuel...@suse.com
+
+- update to 0.10.1
+ - Fixed an issue where ``|tojson`` was not quoting single quotes which
+   made the filter not work properly in HTML attributes.  Now it's
+   possible to use that filter in single quoted attributes.  This should
+   make using that filter with angular.js easier.
+ - Added support for byte strings back to the session system.  This broke
+   compatibility with the common case of people putting binary data for
+   token verification into the session.
+ - Fixed an issue were registering the same method twice for the same endpoint
+   would trigger an exception incorrectly.
+   :ref:`upgrading-to-010` for more information.
+ - Added ``template_test`` methods in addition to the already existing
+   ``template_filter`` method family.
+ - Added ``template_global`` methods in addition to the already existing
+   ``template_filter`` method family.
+ - Set the content-length header for x-sendfile.
+ - ``tojson`` filter now does not escape script blocks in HTML5 parsers.
+ - ``tojson`` used in templates is now safe by default due.  This was
+   allowed due to the different escaping behavior.
+ - Flask will now raise an error if you attempt to register a new function
+   on an already used endpoint.
+ - Added wrapper module around simplejson and added default serialization
+   of datetime objects.  This allows much easier customization of how
+   JSON is handled by Flask or any Flask extension.
+ - Removed deprecated internal ``flask.session`` module alias.  Use
+   ``flask.sessions`` instead to get the session module.  This is not to
+   be confused with ``flask.session`` the session proxy.
+ - Templates can now be rendered without request context.  The behavior is
+   slightly different as the ``request``, ``session`` and ``g`` objects
+   will not be available and blueprint's context processors are not
+   called.
+ - The config object is now available to the template as a real global and
+   not through a context processor which makes it available even in imported
+   templates by default.
+ - Added an option to generate non-ascii encoded JSON which should result
+   in less bytes being transmitted over the network.  It's disabled by
+   default to not cause confusion with existing libraries that might expect
+   ``flask.json.dumps`` to return bytestrings by default.
+ - ``flask.g`` is now stored on the app context instead of the request
+   context.
+ - ``flask.g`` now gained a ``get()`` method for not erroring out on non
+   existing items.
+ - ``flask.g`` now can be used with the ``in`` operator to see what's defined
+   and it now is iterable and will yield all attributes stored.
+ - ``flask.Flask.request_globals_class`` got renamed to
+   ``flask.Flask.app_ctx_globals_class`` which is a better name to what it
+   does since 0.10.
+ - `request`, `session` and `g` are now also added as proxies to the template
+   context which makes them available in imported templates.  One has to be
+   very careful with those though because usage outside of macros might
+   cause caching.
+ - Flask will no longer invoke the wrong error handlers if a proxy
+   exception is passed through.
+ - Added a workaround for chrome's cookies in localhost not working
+   as intended with domain names.
+ - Changed logic for picking defaults for cookie values from sessions
+   to work better with Google Chrome.
+ - Added `message_flashed` signal that simplifies flashing testing.
+ - Added support for copying of request contexts for better working with
+   greenlets.
+ - Removed custom JSON HTTP exception subclasses.  If you were relying on them
+   you can reintroduce them again yourself trivially.  Using them however is
+   strongly discouraged as the interface was flawed.
+ - Python requirements changed: requiring Python 2.6 or 2.7 now to prepare
+   for Python 3.3 port.
+ - Changed how the teardown system is informed about exceptions.  This is now
+   more reliable in case something handles an exception halfway through
+   the error handling process.
+ - Request context preservation in debug mode now keeps the exception
+   information around which 

commit python-Flask for openSUSE:Factory

2012-11-16 Thread h_root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2012-11-17 07:27:32

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is python-Flask, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2011-11-14 13:35:30.0 +0100
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2012-11-17 07:27:36.0 +0100
@@ -1,0 +2,47 @@
+Fri Nov 16 09:20:35 UTC 2012 - sasc...@suse.de
+
+- Disable testsuite on SLE_11_SP2
+
+---
+Thu Nov 15 15:38:05 UTC 2012 - sasc...@suse.de
+
+- Update to version 0.9:
+  + The :func:flask.Request.on_json_loading_failed now returns a JSON formatted
+response by default.
+  + The :func:flask.url_for function now can generate anchors to the
+generated links.
+  + The :func:flask.url_for function now can also explicitly generate
+URL rules specific to a given HTTP method.
+  + Logger now only returns the debug log setting if it was not set
+explicitly.
+  + Unregister a circular dependency between the WSGI environment and
+the request object when shutting down the request.  This means that
+environ werkzeug.request will be None after the response was
+returned to the WSGI server but has the advantage that the garbage
+collector is not needed on CPython to tear down the request unless
+the user created circular dependencies themselves.
+  + Session is now stored after callbacks so that if the session payload
+is stored in the session you can still modify it in an after
+request callback.
+  + The :class:flask.Flask class will avoid importing the provided import name
+if it can (the required first parameter), to benefit tools which build 
Flask
+instances programmatically.  The Flask class will fall back to using import
+on systems with custom module hooks, e.g. Google App Engine, or when the
+import name is inside a zip archive (usually a .egg) prior to Python 2.7.
+  + Blueprints now have a decorator to add custom template filters application
+wide, :meth:flask.Blueprint.app_template_filter.
+  + The Flask and Blueprint classes now have a non-decorator method for adding
+custom template filters application wide,
+:meth:flask.Flask.add_template_filter and
+:meth:flask.Blueprint.add_app_template_filter.
+  + The :func:flask.get_flashed_messages function now allows rendering flashed
+message categories in separate blocks, through a category_filter
+argument.
+  + The :meth:flask.Flask.run method now accepts None for host and port
+arguments, using default values when None.  This allows for calling run
+using configuration values, e.g. app.run(app.config.get('MYHOST'),
+app.config.get('MYPORT')), with proper behavior whether or not a config
+file is provided.
+  + Please look into CHANGES for more...
+
+---
@@ -19 +66 @@
-the beginning of the first request. (:meth:`Flask.before_first_request`)
+the beginning of the first request. (:meth:Flask.before_first_request)
@@ -28,3 +75,3 @@
-see :ref:`instance-folders`.
-  * Added the ``APPLICATION_ROOT`` configuration variable.
-  * Implemented :meth:`~flask.testing.TestClient.session_transaction` to
+see :ref:instance-folders.
+  * Added the APPLICATION_ROOT configuration variable.
+  * Implemented :meth:~flask.testing.TestClient.session_transaction to
@@ -32,2 +79,2 @@
-  * Refactored test client internally.  The ``APPLICATION_ROOT`` configuration
-variable as well as ``SERVER_NAME`` are now properly used by the test 
client
+  * Refactored test client internally.  The APPLICATION_ROOT configuration
+variable as well as SERVER_NAME are now properly used by the test client
@@ -35 +82 @@
-  * Added :attr:`flask.views.View.decorators` to support simpler decorating of
+  * Added :attr:flask.views.View.decorators to support simpler decorating of
@@ -40 +87 @@
-  * HEAD requests to a method view now automatically dispatch to the `get`
+  * HEAD requests to a method view now automatically dispatch to the get
@@ -42 +89 @@
-  * Implemented the virtual :mod:`flask.ext` package to import extensions from.
+  * Implemented the virtual :mod:flask.ext package to import extensions from.

Old:

  Flask-0.8.tar.gz

New:

  Flask-0.9.tar.gz



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.M8OkUi/_old  2012-11-17 07:27:37.0 +0100
+++ /var/tmp/diff_new_pack.M8OkUi/_new  2012-11-17 07:27:37.0 +0100
@@ -1,7 +1,7 @@
 #
 # 

commit python-Flask for openSUSE:Factory

2011-11-14 Thread h_root
Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory 
checked in at 2011-11-14 13:35:28

Comparing /work/SRC/openSUSE:Factory/python-Flask (Old)
 and  /work/SRC/openSUSE:Factory/.python-Flask.new (New)


Package is python-Flask, Maintainer is 

Changes:

--- /work/SRC/openSUSE:Factory/python-Flask/python-Flask.changes
2011-09-26 10:11:46.0 +0200
+++ /work/SRC/openSUSE:Factory/.python-Flask.new/python-Flask.changes   
2011-11-14 13:35:30.0 +0100
@@ -1,0 +2,46 @@
+Thu Nov 10 10:51:15 UTC 2011 - sasc...@suse.de
+
+- Update to version 0.8:
+  * Refactored session support into a session interface so that
+the implementation of the sessions can be changed without
+having to override the Flask class.
+  * Empty session cookies are now deleted properly automatically.
+  * View functions can now opt out of getting the automatic
+OPTIONS implementation.
+  * HTTP exceptions and Bad Request errors can now be trapped so that they
+show up normally in the traceback.
+  * Flask in debug mode is now detecting some common problems and tries to
+warn you about them.
+  * Flask in debug mode will now complain with an assertion error if a view
+was attached after the first request was handled.  This gives earlier
+feedback when users forget to import view code ahead of time.
+  * Added the ability to register callbacks that are only triggered once at
+the beginning of the first request. (:meth:`Flask.before_first_request`)
+  * Malformed JSON data will now trigger a bad request HTTP exception instead
+of a value error which usually would result in a 500 internal server
+error if not handled.  This is a backwards incompatible change.
+  * Applications now not only have a root path where the resources and modules
+are located but also an instane path which is the designated place to
+drop files that are modified at runtime (uploads etc.).  Also this is
+conceptionally only instance depending and outside version control so it's
+the perfect place to put configuration files etc.  For more information
+see :ref:`instance-folders`.
+  * Added the ``APPLICATION_ROOT`` configuration variable.
+  * Implemented :meth:`~flask.testing.TestClient.session_transaction` to
+easily modify sessions from the test environment.
+  * Refactored test client internally.  The ``APPLICATION_ROOT`` configuration
+variable as well as ``SERVER_NAME`` are now properly used by the test 
client
+as defaults.
+  * Added :attr:`flask.views.View.decorators` to support simpler decorating of
+pluggable (class based) views.
+  * Fixed an issue where the test client if used with the with statement did 
not
+trigger the execution of the teardown handlers.
+  * Added finer control over the session cookie parameters.
+  * HEAD requests to a method view now automatically dispatch to the `get`
+method if no handler was implemented.
+  * Implemented the virtual :mod:`flask.ext` package to import extensions from.
+  * The context preservation on exceptions is now an integral component of
+Flask itself and no longer of the test client.  This cleaned up some
+internal logic and lowers the odds of runaway request contexts in 
unittests.
+
+---

Old:

  Flask-0.7.2.tar.gz

New:

  Flask-0.8.tar.gz



Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.aq2uqw/_old  2011-11-14 13:35:32.0 +0100
+++ /var/tmp/diff_new_pack.aq2uqw/_new  2011-11-14 13:35:32.0 +0100
@@ -18,7 +18,7 @@
 
 
 Name:   python-Flask
-Version:0.7.2
+Version:0.8
 Release:0
 Url:http://github.com/mitsuhiko/flask/
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions

++ Flask-0.7.2.tar.gz - Flask-0.8.tar.gz ++
 10025 lines of diff (skipped)

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-Flask for openSUSE:Factory

2011-09-26 Thread h_root

Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory
checked in at Mon Sep 26 10:11:49 CEST 2011.




--- python-Flask/python-Flask.changes   2011-07-20 20:09:07.0 +0200
+++ /mounts/work_src_done/STABLE/python-Flask/python-Flask.changes  
2011-09-22 11:16:14.0 +0200
@@ -1,0 +2,7 @@
+Thu Sep 22 09:14:52 UTC 2011 - sasc...@suse.de
+
+- Set license to BSD-3-Clause (SPDX style)
+- Require python-distribute instead of python-setuptools
+- Remove %clean section
+
+---

calling whatdependson for head-i586




Other differences:
--
++ python-Flask.spec ++
--- /var/tmp/diff_new_pack.ehVyiW/_old  2011-09-26 10:11:44.0 +0200
+++ /var/tmp/diff_new_pack.ehVyiW/_new  2011-09-26 10:11:44.0 +0200
@@ -19,16 +19,16 @@
 
 Name:   python-Flask
 Version:0.7.2
-Release:1
+Release:0
 Url:http://github.com/mitsuhiko/flask/
 Summary:A microframework based on Werkzeug, Jinja2 and good intentions
-License:BSD
+License:BSD-3-Clause
 Group:  Development/Languages/Python
 Source: 
http://pypi.python.org/packages/source/F/Flask/Flask-%{version}.tar.gz
 BuildRoot:  %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  python-devel
 BuildRequires:  python-nose
-BuildRequires:  python-setuptools
+BuildRequires:  python-distribute
 Requires:   python-werkzeug
 %if 0%{?suse_version}
 %py_requires
@@ -45,7 +45,6 @@
 intentions. And before you ask: It's BSD licensed!
 
 %package doc
-
 Summary:Documentation for python-Flask
 Group:  Documentation/Other
 Requires:   %{name} = %{version}
@@ -64,9 +63,6 @@
 %install
 python setup.py install --prefix=%{_prefix} --root=%{buildroot}
 
-%clean
-rm -rf %{buildroot}
-
 %files
 %defattr(-,root,root,-)
 %doc AUTHORS CHANGES LICENSE






Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org



commit python-Flask for openSUSE:Factory

2011-07-21 Thread h_root

Hello community,

here is the log from the commit of package python-Flask for openSUSE:Factory
checked in at Thu Jul 21 14:04:46 CEST 2011.




New Changes file:

--- /dev/null   2010-08-26 16:28:41.0 +0200
+++ python-Flask/python-Flask.changes   2011-07-20 20:09:07.0 +0200
@@ -0,0 +1,5 @@
+---
+Wed Jul 20 18:03:33 UTC 2011 - sasc...@gmx.de
+
+- Initial package, replaces python-flask
+

calling whatdependson for head-i586


New:

  Flask-0.7.2.tar.gz
  python-Flask.changes
  python-Flask.spec



Other differences:
--
++ python-Flask.spec ++
#
# spec file for package python-Flask
#
# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An Open Source License is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.

# Please submit bugfixes or comments via http://bugs.opensuse.org/
#



Name:   python-Flask
Version:0.7.2
Release:1
Url:http://github.com/mitsuhiko/flask/
Summary:A microframework based on Werkzeug, Jinja2 and good intentions
License:BSD
Group:  Development/Languages/Python
Source: 
http://pypi.python.org/packages/source/F/Flask/Flask-%{version}.tar.gz
BuildRoot:  %{_tmppath}/%{name}-%{version}-build
BuildRequires:  python-devel
BuildRequires:  python-nose
BuildRequires:  python-setuptools
Requires:   python-werkzeug
%if 0%{?suse_version}
%py_requires
%if 0%{?suse_version}  1110
BuildArch:  noarch
%endif
%endif
Provides:   python-flask = %{version}
Obsoletes:  python-flask  %{version}
%{!?python_sitelib: %global python_sitelib %(%{__python} -c from 
distutils.sysconfig import get_python_lib; print get_python_lib())}

%description
Flask is a microframework for Python based on Werkzeug, Jinja 2 and good
intentions. And before you ask: It's BSD licensed!

%package doc

Summary:Documentation for python-Flask
Group:  Documentation/Other
Requires:   %{name} = %{version}

%description doc
This package contains HTML documentation, including tutorials and API
reference for python-Flask.

%prep
%setup -q -n Flask-%{version}
rm docs/{.DS_Store,.gitignore,_themes/.gitignore} # Remove junk

%build
python setup.py build

%install
python setup.py install --prefix=%{_prefix} --root=%{buildroot}

%clean
rm -rf %{buildroot}

%files
%defattr(-,root,root,-)
%doc AUTHORS CHANGES LICENSE
%{python_sitelib}/*

%files doc
%defattr(-,root,root)
%doc docs examples

%changelog





Remember to have fun...

-- 
To unsubscribe, e-mail: opensuse-commit+unsubscr...@opensuse.org
For additional commands, e-mail: opensuse-commit+h...@opensuse.org