Hello community,
here is the log from the commit of package python-pytest-profiling for
openSUSE:Factory checked in at 2019-06-03 18:57:11
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-pytest-profiling (Old)
and /work/SRC/openSUSE:Factory/.python-pytest-profiling.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pytest-profiling"
Mon Jun 3 18:57:11 2019 rev:2 rq:707095 version:1.7.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-pytest-profiling/python-pytest-profiling.changes
2019-04-02 09:20:34.916614708 +0200
+++
/work/SRC/openSUSE:Factory/.python-pytest-profiling.new.5148/python-pytest-profiling.changes
2019-06-03 18:57:16.544386450 +0200
@@ -1,0 +2,6 @@
+Mon Jun 3 09:16:15 UTC 2019 - Tomáš Chvátal <[email protected]>
+
+- Update to 1.7.0:
+ * Support for pytest 4
+
+-------------------------------------------------------------------
Old:
----
pytest-profiling-1.6.0.tar.gz
New:
----
pytest-profiling-1.7.0.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-pytest-profiling.spec ++++++
--- /var/tmp/diff_new_pack.qNYU2z/_old 2019-06-03 18:57:17.244386191 +0200
+++ /var/tmp/diff_new_pack.qNYU2z/_new 2019-06-03 18:57:17.252386188 +0200
@@ -18,7 +18,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
Name: python-pytest-profiling
-Version: 1.6.0
+Version: 1.7.0
Release: 0
Summary: Profiling plugin for pytest
License: MIT
@@ -36,8 +36,8 @@
# SECTION test requirements
BuildRequires: %{python_module gprof2dot}
BuildRequires: %{python_module more-itertools}
-BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-virtualenv}
+BuildRequires: %{python_module pytest}
BuildRequires: %{python_module six}
# /SECTION
%python_subpackages
@@ -47,7 +47,6 @@
%prep
%setup -q -n pytest-profiling-%{version}
-sed -i 's:pytest<[0-9.]*:pytest:g' setup.py
# Unpin
sed -i 's/more-itertools==5.0.0/more-itertools/'
tests/integration/test_profile_integration.py
@@ -60,7 +59,7 @@
%check
# integration tests omit as they try to use the system image instead of
buildroot
-%python_exec -m pytest -k 'not test_profile_integration'
+%pytest -k 'not test_profile_integration'
%files %{python_files}
%doc CHANGES.md README.md
++++++ pytest-profiling-1.6.0.tar.gz -> pytest-profiling-1.7.0.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-profiling-1.6.0/CHANGES.md
new/pytest-profiling-1.7.0/CHANGES.md
--- old/pytest-profiling-1.6.0/CHANGES.md 2019-02-12 13:23:42.000000000
+0100
+++ new/pytest-profiling-1.7.0/CHANGES.md 2019-05-28 08:32:19.000000000
+0200
@@ -1,7 +1,29 @@
## Changelog
-### 1.6.0 (Unreleased)
+### 1.7.0
+ * All: Support pytest >= 4.0.0
+ * All: Support Python 3.7
+ * pytest-server-fixtures: if host not defined on your machine, default to
localhost
+ * pytest-server-fixture: Pin to rethinkdb < 2.4.0 due to upstream API changes
+ * pytest-verbose-parametrize: Add support for revamped marker infrastructure
+ * pytest-verbose-parametrize: Fix integration tests to support pytest >= 4.1.0
+ * pytest-virtualenv: Add virtualenv as install requirement. Fixes #122
+ * pytest-webdriver: Fix RemovedInPytest4Warning using getfixturevalue
+ * circleci: Fix checks by skipping coverall submission for developer without
push access
+ * wheels: Generate universal wheels installable with both python 2.x and 3.x
+ * dist: Remove support for building and distributing *.egg files
+ * VagrantFile: Install python 3.7 and initialize python 3.7 by default
+ * Fix DeprecationWarning warnings using "logger.warning()" function
+
+### 1.6.2 (2019-02-21)
+ * pytest-server-fixtures: suppress stacktrace if kill() is called
+ * pytest-server-fixtures: fix random port logic in TestServerV2
+
+### 1.6.1 (2019-02-12)
+ * pytest-server-fixtures: fix exception when attempting to access hostname
while server is not started
+
+### 1.6.0 (2019-02-12)
* pytest-server-fixtures: added previously removed TestServerV2.kill()
function
* pytest-profiling: pin more-itertools==5.0.0 in integration tests, as that's
a PY3 only release
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-profiling-1.6.0/PKG-INFO
new/pytest-profiling-1.7.0/PKG-INFO
--- old/pytest-profiling-1.6.0/PKG-INFO 2019-02-12 13:23:49.000000000 +0100
+++ new/pytest-profiling-1.7.0/PKG-INFO 2019-05-28 08:32:51.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-profiling
-Version: 1.6.0
+Version: 1.7.0
Summary: Profiling plugin for py.test
Home-page: https://github.com/manahl/pytest-plugins
Author: Ed Catmur
@@ -135,7 +135,42 @@
Changelog
---------
- 1.6.0 (Unreleased)
+ 1.7.0
+ ~~~~~
+
+ - All: Support pytest >= 4.0.0
+ - All: Support Python 3.7
+ - pytest-server-fixtures: if host not defined on your machine, default
+ to localhost
+ - pytest-server-fixture: Pin to rethinkdb < 2.4.0 due to upstream API
+ changes
+ - pytest-verbose-parametrize: Add support for revamped marker
+ infrastructure
+ - pytest-verbose-parametrize: Fix integration tests to support pytest
+ >= 4.1.0
+ - pytest-virtualenv: Add virtualenv as install requirement. Fixes #122
+ - pytest-webdriver: Fix RemovedInPytest4Warning using getfixturevalue
+ - circleci: Fix checks by skipping coverall submission for developer
+ without push access
+ - wheels: Generate universal wheels installable with both python 2.x
+ and 3.x
+ - dist: Remove support for building and distributing \*.egg files
+ - VagrantFile: Install python 3.7 and initialize python 3.7 by default
+ - Fix DeprecationWarning warnings using "logger.warning()" function
+
+ 1.6.2 (2019-02-21)
+ ~~~~~~~~~~~~~~~~~~
+
+ - pytest-server-fixtures: suppress stacktrace if kill() is called
+ - pytest-server-fixtures: fix random port logic in TestServerV2
+
+ 1.6.1 (2019-02-12)
+ ~~~~~~~~~~~~~~~~~~
+
+ - pytest-server-fixtures: fix exception when attempting to access
+ hostname while server is not started
+
+ 1.6.0 (2019-02-12)
~~~~~~~~~~~~~~~~~~
- pytest-server-fixtures: added previously removed TestServerV2.kill()
@@ -347,3 +382,4 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-profiling-1.6.0/VERSION
new/pytest-profiling-1.7.0/VERSION
--- old/pytest-profiling-1.6.0/VERSION 2019-02-12 13:23:42.000000000 +0100
+++ new/pytest-profiling-1.7.0/VERSION 2019-05-28 08:32:19.000000000 +0200
@@ -1 +1 @@
-1.6.0
+1.7.0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-profiling-1.6.0/pytest_profiling.egg-info/PKG-INFO
new/pytest-profiling-1.7.0/pytest_profiling.egg-info/PKG-INFO
--- old/pytest-profiling-1.6.0/pytest_profiling.egg-info/PKG-INFO
2019-02-12 13:23:48.000000000 +0100
+++ new/pytest-profiling-1.7.0/pytest_profiling.egg-info/PKG-INFO
2019-05-28 08:32:49.000000000 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pytest-profiling
-Version: 1.6.0
+Version: 1.7.0
Summary: Profiling plugin for py.test
Home-page: https://github.com/manahl/pytest-plugins
Author: Ed Catmur
@@ -135,7 +135,42 @@
Changelog
---------
- 1.6.0 (Unreleased)
+ 1.7.0
+ ~~~~~
+
+ - All: Support pytest >= 4.0.0
+ - All: Support Python 3.7
+ - pytest-server-fixtures: if host not defined on your machine, default
+ to localhost
+ - pytest-server-fixture: Pin to rethinkdb < 2.4.0 due to upstream API
+ changes
+ - pytest-verbose-parametrize: Add support for revamped marker
+ infrastructure
+ - pytest-verbose-parametrize: Fix integration tests to support pytest
+ >= 4.1.0
+ - pytest-virtualenv: Add virtualenv as install requirement. Fixes #122
+ - pytest-webdriver: Fix RemovedInPytest4Warning using getfixturevalue
+ - circleci: Fix checks by skipping coverall submission for developer
+ without push access
+ - wheels: Generate universal wheels installable with both python 2.x
+ and 3.x
+ - dist: Remove support for building and distributing \*.egg files
+ - VagrantFile: Install python 3.7 and initialize python 3.7 by default
+ - Fix DeprecationWarning warnings using "logger.warning()" function
+
+ 1.6.2 (2019-02-21)
+ ~~~~~~~~~~~~~~~~~~
+
+ - pytest-server-fixtures: suppress stacktrace if kill() is called
+ - pytest-server-fixtures: fix random port logic in TestServerV2
+
+ 1.6.1 (2019-02-12)
+ ~~~~~~~~~~~~~~~~~~
+
+ - pytest-server-fixtures: fix exception when attempting to access
+ hostname while server is not started
+
+ 1.6.0 (2019-02-12)
~~~~~~~~~~~~~~~~~~
- pytest-server-fixtures: added previously removed TestServerV2.kill()
@@ -347,3 +382,4 @@
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
+Classifier: Programming Language :: Python :: 3.7
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/pytest-profiling-1.6.0/pytest_profiling.egg-info/requires.txt
new/pytest-profiling-1.7.0/pytest_profiling.egg-info/requires.txt
--- old/pytest-profiling-1.6.0/pytest_profiling.egg-info/requires.txt
2019-02-12 13:23:48.000000000 +0100
+++ new/pytest-profiling-1.7.0/pytest_profiling.egg-info/requires.txt
2019-05-28 08:32:49.000000000 +0200
@@ -1,5 +1,5 @@
six
-pytest<4.0.0
+pytest
gprof2dot
[tests]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-profiling-1.6.0/pytest_profiling.py
new/pytest-profiling-1.7.0/pytest_profiling.py
--- old/pytest-profiling-1.6.0/pytest_profiling.py 2019-02-12
13:23:01.000000000 +0100
+++ new/pytest-profiling-1.7.0/pytest_profiling.py 2019-05-28
08:27:17.000000000 +0200
@@ -1,3 +1,5 @@
+"""pytest: avoid already-imported warning: PYTEST_DONT_REWRITE."""
+
from __future__ import absolute_import
import sys
@@ -64,7 +66,7 @@
terminalreporter.write("SVG profile in
{svg}.\n".format(svg=self.svg_name))
@pytest.hookimpl(hookwrapper=True)
- def pytest_runtest_call(self, item):
+ def pytest_runtest_protocol(self, item, nextitem):
prof_filename = os.path.abspath(os.path.join(self.dir,
clean_filename(item.name) + ".prof"))
try:
os.makedirs(os.path.dirname(prof_filename))
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-profiling-1.6.0/setup.cfg
new/pytest-profiling-1.7.0/setup.cfg
--- old/pytest-profiling-1.6.0/setup.cfg 2019-02-12 13:23:49.000000000
+0100
+++ new/pytest-profiling-1.7.0/setup.cfg 2019-05-28 08:32:51.000000000
+0200
@@ -6,6 +6,9 @@
dist
tests/integration/profile/tests
+[bdist_wheel]
+universal = 1
+
[egg_info]
tag_build =
tag_date = 0
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/pytest-profiling-1.6.0/setup.py
new/pytest-profiling-1.7.0/setup.py
--- old/pytest-profiling-1.6.0/setup.py 2019-02-12 13:23:01.000000000 +0100
+++ new/pytest-profiling-1.7.0/setup.py 2019-05-28 08:27:17.000000000 +0200
@@ -19,10 +19,11 @@
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
+ 'Programming Language :: Python :: 3.7',
]
install_requires = ['six',
- 'pytest<4.0.0',
+ 'pytest',
'gprof2dot',
]