Hello community,
here is the log from the commit of package python-pytest-flask for
openSUSE:Factory checked in at 2020-02-20 14:58:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-flask (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-flask.new.26092 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-flask"
Thu Feb 20 14:58:35 2020 rev:2 rq:777572 version:0.15.1
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-pytest-flask/python-pytest-flask.changes
2019-07-23 22:42:34.198781671 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-flask.new.26092/python-pytest-flask.changes
2020-02-20 14:58:44.702684185 +0100
@@ -1,0 +2,6 @@
+Thu Feb 20 07:18:27 UTC 2020 - Tomáš Chvátal <[email protected]>
+
+- Update to 0.15.1:
+ * Fix ImportError with Werkzeug 1.0.0rc1 (#105).
+
+-------------------------------------------------------------------
Old:
----
pytest-flask-0.15.0.tar.gz
New:
----
pytest-flask-0.15.1.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-flask.spec ++++++
--- /var/tmp/diff_new_pack.JUvzqI/_old 2020-02-20 14:58:45.230685220 +0100
+++ /var/tmp/diff_new_pack.JUvzqI/_new 2020-02-20 14:58:45.230685220 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-pytest-flask
#
-# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# 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
@@ -12,32 +12,30 @@
# 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/
#
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-flask
-Version: 0.15.0
+Version: 0.15.1
Release: 0
-License: MIT
Summary: A set of py.test fixtures to test Flask applications
-Url: https://github.com/pytest-dev/pytest-flask
-Group: Development/Languages/Python
+License: MIT
+URL: https://github.com/pytest-dev/pytest-flask
Source:
https://files.pythonhosted.org/packages/source/p/pytest-flask/pytest-flask-%{version}.tar.gz
-BuildRequires: python-rpm-macros
-BuildRequires: fdupes
-BuildRequires: %{python_module devel}
-BuildRequires: %{python_module setuptools}
-BuildRequires: %{python_module setuptools_scm}
BuildRequires: %{python_module Flask}
-BuildRequires: %{python_module pytest >= 3.6}
BuildRequires: %{python_module Werkzeug >= 0.7}
+BuildRequires: %{python_module devel}
+BuildRequires: %{python_module pytest >= 3.6}
+BuildRequires: %{python_module setuptools_scm}
+BuildRequires: %{python_module setuptools}
+BuildRequires: fdupes
+BuildRequires: python-rpm-macros
Requires: python-Flask
-Requires: python-pytest >= 3.6
Requires: python-Werkzeug >= 0.7
+Requires: python-pytest >= 3.6
BuildArch: noarch
-
%python_subpackages
%description
@@ -52,13 +50,12 @@
%install
%python_install
-%python_expand %fdupes %{buildroot}%{$python_sitelib}/pytest_flask
+%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest --ignore tests/test_live_server.py
%files %{python_files}
-%defattr(-,root,root,-)
%license LICENSE
%doc README.rst
%{python_sitelib}/*
++++++ pytest-flask-0.15.0.tar.gz -> pytest-flask-0.15.1.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/.github/workflows/main.yml
new/pytest-flask-0.15.1/.github/workflows/main.yml
--- old/pytest-flask-0.15.0/.github/workflows/main.yml 1970-01-01
01:00:00.000000000 +0100
+++ new/pytest-flask-0.15.1/.github/workflows/main.yml 2020-02-03
23:10:06.000000000 +0100
@@ -0,0 +1,75 @@
+name: build
+
+on: [push, pull_request]
+
+jobs:
+ build:
+
+ runs-on: ubuntu-latest
+
+ strategy:
+ fail-fast: false
+ matrix:
+ tox_env: [
+ "py27",
+ "py35",
+ "py36",
+ "py37",
+ "py38",
+ "pre",
+ ]
+
+ include:
+ - tox_env: "py27"
+ python: "2.7"
+ - tox_env: "py35"
+ python: "3.5"
+ - tox_env: "py36"
+ python: "3.6"
+ - tox_env: "py37"
+ python: "3.7"
+ - tox_env: "py38"
+ python: "3.8"
+ - tox_env: "pre"
+ python: "3.7"
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: ${{ matrix.python }}
+ - name: Install tox
+ run: |
+ python -m pip install --upgrade pip
+ pip install tox
+ - name: Test
+ run: |
+ tox -e ${{ matrix.tox_env }}
+
+ deploy:
+
+ if: github.event_name == 'push' && startsWith(github.event.ref,
'refs/tags')
+
+ runs-on: ubuntu-latest
+
+ needs: build
+
+ steps:
+ - uses: actions/checkout@v1
+ - name: Set up Python
+ uses: actions/setup-python@v1
+ with:
+ python-version: "3.7"
+ - name: Install wheel
+ run: |
+ python -m pip install --upgrade pip
+ pip install --upgrade wheel setuptools
+ - name: Build package
+ run: |
+ python setup.py sdist bdist_wheel
+ - name: Publish package to PyPI
+ uses: pypa/gh-action-pypi-publish@master
+ with:
+ user: __token__
+ password: ${{ secrets.pypi_token }}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/.travis.yml
new/pytest-flask-0.15.1/.travis.yml
--- old/pytest-flask-0.15.0/.travis.yml 2019-05-13 15:45:22.000000000 +0200
+++ new/pytest-flask-0.15.1/.travis.yml 1970-01-01 01:00:00.000000000 +0100
@@ -1,50 +0,0 @@
-language: python
-
-python:
- - "3.6"
-
-stages:
-- test
-- name: deploy
- if: repo = pytest-dev/pytest-flask AND tag IS present
-
-jobs:
- include:
- - env: TOXENV=py27
- python: '2.7'
- - env: TOXENV=py34
- python: '3.4'
- - env: TOXENV=py35
- python: '3.5'
- - env: TOXENV=py36
- python: '3.6'
- - env: TOXENV=docs
- python: '3.6'
- - env: TOXENV=py37
- python: '3.7'
- sudo: required
- dist: xenial
-
- - stage: deploy
- python: '3.6'
- env:
- install: pip install -U setuptools setuptools_scm
- script: skip
- deploy:
- provider: pypi
- user: nicoddemus
- distributions: sdist bdist_wheel
- skip_upload_docs: true
- password:
- secure:
lSaCqdifJoDS7qjpAnGgfrvuACEEBBQYDsjtkNlkktIhrZNJi0OjNWNuHN8uDpQSULiOdiQv/bOCAk288Pao341nHznMP3Cu9o+Zgi96dESAwTHx7w+01uzj+nzuRieeYL+Ye9VK0W3A7yu8tTG2GAhuqKCv0bDV7fUKAfySSI+SKTudLt4DHAYLd02tpbmPoHcHRqUSKTtkJKYUaYGM9QGk8p4+2ap006nqiykhiplnAWNLu+xzby7TaFYpA3Yy4x6XWMcdOoTaaBzQHZaGVayT1zR1BfmcOovlIb8sOUQVr6PV/dxC29VTRuyY85S2Rdyw/2Y4viTO5c1omEU/pVzy4RNi4RWboh58WA0kjrwOmb/nLW8AcXNJG9H828dqy8KKdbblTU5guz1oO1Tb2ICLT2z4hQOcZoDkCg3jf54Ee4BYvLOvMH/kNOjNqLA7wjBUzvyWk5OPOIPZ0rozmRwU89VS2kxIhbvtAq0BtmLnIYY3nT5BIrt18FomiINxlgZj6jz2uWGaOPAhcghdjydbGdYs5g2JcUc1B3jvXSyjB+o1l/EJ9OUwCQWIc32XWvOtx/a7pcyrejbKBqQqi5nKF1bvYDM+8VSLEeLTIX1Ie8hModxWp8WPIk+dHBdy8Kb91c4ssOvEkfwHK7cYBdbcn6O0yhiLOxuOO/3Cb3c=
- on:
- tags: true
- repo: pytest-dev/pytest-flask
-
-install:
- - pip install -U pip
- - pip install -U tox setuptools
-
-script:
- - tox
-
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/PKG-INFO
new/pytest-flask-0.15.1/PKG-INFO
--- old/pytest-flask-0.15.0/PKG-INFO 2019-05-13 15:50:32.000000000 +0200
+++ new/pytest-flask-0.15.1/PKG-INFO 2020-02-03 23:10:12.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-flask
-Version: 0.15.0
+Version: 0.15.1
Summary: A set of py.test fixtures to test Flask applications.
Home-page: https://github.com/vitalk/pytest-flask
Author: Vital Kudzelka
@@ -126,6 +126,7 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/README.rst
new/pytest-flask-0.15.1/README.rst
--- old/pytest-flask-0.15.0/README.rst 2019-05-13 15:45:22.000000000 +0200
+++ new/pytest-flask-0.15.1/README.rst 2020-02-03 23:10:06.000000000 +0100
@@ -1,7 +1,7 @@
pytest-flask
============
-|PyPI version| |conda-forge version| |Python versions| |Documentation status|
+|PyPI version| |conda-forge version| |Python versions| |ci| |Documentation
status|
An extension of `pytest <http://pytest.org/>`__ test runner which
provides a set of useful tools to simplify testing and development
@@ -44,6 +44,10 @@
:target: https://anaconda.org/conda-forge/pytest-flask
:alt: conda-forge version
+.. |ci| image::
https://github.com/pytest-dev/pytest-flask/workflows/build/badge.svg
+ :target: https://github.com/pytest-dev/pytest-flask/actions
+ :alt: CI status
+
.. |Python versions| image::
https://img.shields.io/pypi/pyversions/pytest-flask.svg
:target: https://pypi.org/project/pytest-flask
:alt: PyPi downloads
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/docs/changelog.rst
new/pytest-flask-0.15.1/docs/changelog.rst
--- old/pytest-flask-0.15.0/docs/changelog.rst 2019-05-13 15:45:22.000000000
+0200
+++ new/pytest-flask-0.15.1/docs/changelog.rst 2020-02-03 23:10:06.000000000
+0100
@@ -3,6 +3,13 @@
Changelog
=========
+0.15.1 (2020-02-03)
+-------------------
+
+- Fix ``ImportError`` with ``Werkzeug 1.0.0rc1`` (`#105`_).
+
+.. _#105: https://github.com/pytest-dev/pytest-flask/pull/105
+
0.15.0 (2019-05-13)
-------------------
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/docs/features.rst
new/pytest-flask-0.15.1/docs/features.rst
--- old/pytest-flask-0.15.0/docs/features.rst 2019-05-13 15:45:22.000000000
+0200
+++ new/pytest-flask-0.15.1/docs/features.rst 2020-02-03 23:10:06.000000000
+0100
@@ -277,9 +277,9 @@
.. _pytest-xdist: https://pypi.python.org/pypi/pytest-xdist
-.. _pytest documentation: http://pytest.org/latest/fixture.html
+.. _pytest documentation: https://pytest.org/en/latest/fixture.html
.. _flask.Flask.test_client:
http://flask.pocoo.org/docs/latest/api/#flask.Flask.test_client
.. _flask.Config: http://flask.pocoo.org/docs/latest/api/#flask.Config
.. _Selenium: http://www.seleniumhq.org
-.. _what markers are: http://pytest.org/latest/mark.html
-.. _using them:
http://pytest.org/latest/example/markers.html#marking-whole-classes-or-modules
+.. _what markers are: https://pytest.org/en/latest/mark.html
+.. _using them:
https://pytest.org/en/latest/example/markers.html#marking-whole-classes-or-modules
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/pytest_flask/_version.py
new/pytest-flask-0.15.1/pytest_flask/_version.py
--- old/pytest-flask-0.15.0/pytest_flask/_version.py 2019-05-13
15:50:31.000000000 +0200
+++ new/pytest-flask-0.15.1/pytest_flask/_version.py 2020-02-03
23:10:11.000000000 +0100
@@ -1,4 +1,4 @@
# coding: utf-8
# file generated by setuptools_scm
# don't change, don't track in version control
-version = '0.15.0'
+version = '0.15.1'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/pytest_flask/plugin.py
new/pytest-flask-0.15.1/pytest_flask/plugin.py
--- old/pytest-flask-0.15.0/pytest_flask/plugin.py 2019-05-13
15:45:22.000000000 +0200
+++ new/pytest-flask-0.15.1/pytest_flask/plugin.py 2020-02-03
23:10:06.000000000 +0100
@@ -11,7 +11,7 @@
import pytest
from flask import json
-from werkzeug import cached_property
+from werkzeug.utils import cached_property
from .fixtures import (
client, config, accept_json, accept_jsonp, accept_any, accept_mimetype,
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/pytest_flask.egg-info/PKG-INFO
new/pytest-flask-0.15.1/pytest_flask.egg-info/PKG-INFO
--- old/pytest-flask-0.15.0/pytest_flask.egg-info/PKG-INFO 2019-05-13
15:50:31.000000000 +0200
+++ new/pytest-flask-0.15.1/pytest_flask.egg-info/PKG-INFO 2020-02-03
23:10:11.000000000 +0100
@@ -1,6 +1,6 @@
Metadata-Version: 2.1
Name: pytest-flask
-Version: 0.15.0
+Version: 0.15.1
Summary: A set of py.test fixtures to test Flask applications.
Home-page: https://github.com/vitalk/pytest-flask
Author: Vital Kudzelka
@@ -126,6 +126,7 @@
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
+Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Testing
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Provides-Extra: docs
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-flask-0.15.0/pytest_flask.egg-info/SOURCES.txt
new/pytest-flask-0.15.1/pytest_flask.egg-info/SOURCES.txt
--- old/pytest-flask-0.15.0/pytest_flask.egg-info/SOURCES.txt 2019-05-13
15:50:31.000000000 +0200
+++ new/pytest-flask-0.15.1/pytest_flask.egg-info/SOURCES.txt 2020-02-03
23:10:12.000000000 +0100
@@ -1,11 +1,11 @@
.gitignore
-.travis.yml
HOWTORELEASE.rst
LICENSE
README.rst
setup.cfg
setup.py
tox.ini
+.github/workflows/main.yml
docs/Makefile
docs/changelog.rst
docs/conf.py
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-flask-0.15.0/pytest_flask.egg-info/requires.txt
new/pytest-flask-0.15.1/pytest_flask.egg-info/requires.txt
--- old/pytest-flask-0.15.0/pytest_flask.egg-info/requires.txt 2019-05-13
15:50:31.000000000 +0200
+++ new/pytest-flask-0.15.1/pytest_flask.egg-info/requires.txt 2020-02-03
23:10:11.000000000 +0100
@@ -1,7 +1,7 @@
+pytest>=3.6
Flask
Werkzeug>=0.7
pytest
-pytest>=3.6
[docs]
Sphinx
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/setup.py
new/pytest-flask-0.15.1/setup.py
--- old/pytest-flask-0.15.0/setup.py 2019-05-13 15:45:22.000000000 +0200
+++ new/pytest-flask-0.15.1/setup.py 2020-02-03 23:10:06.000000000 +0100
@@ -170,6 +170,7 @@
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
+ 'Programming Language :: Python :: 3.8',
'Topic :: Software Development :: Testing',
'Topic :: Software Development :: Libraries :: Python Modules',
],
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-flask-0.15.0/tox.ini
new/pytest-flask-0.15.1/tox.ini
--- old/pytest-flask-0.15.0/tox.ini 2019-05-13 15:45:22.000000000 +0200
+++ new/pytest-flask-0.15.1/tox.ini 2020-02-03 23:10:06.000000000 +0100
@@ -8,6 +8,7 @@
pep8ignore =
docs/conf.py ALL
pep8maxlinelength = 119
+junit_family=xunit2
[testenv]
@@ -28,6 +29,11 @@
-ra \
{posargs:tests}
+[testenv:pre]
+pip_pre=true
+usedevelop = {[testenv]usedevelop}
+deps = {[testenv]deps}
+commands = {[testenv]commands}
[testenv:docs]
changedir = docs