Hello community,

here is the log from the commit of package python-tox-wheel for 
openSUSE:Factory checked in at 2019-05-20 13:17:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-tox-wheel (Old)
 and      /work/SRC/openSUSE:Factory/.python-tox-wheel.new.5148 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-tox-wheel"

Mon May 20 13:17:38 2019 rev:2 rq:703744 version:0.4.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/python-tox-wheel/python-tox-wheel.changes        
2019-04-05 12:07:01.294581659 +0200
+++ 
/work/SRC/openSUSE:Factory/.python-tox-wheel.new.5148/python-tox-wheel.changes  
    2019-05-20 13:17:38.867937977 +0200
@@ -1,0 +2,13 @@
+Thu May 16 23:21:29 UTC 2019 - [email protected]
+
+- Updated to v0.4.2
+  * improved logging a bit so messages are less confusing (don’t emit
+   wheel-make path/to/setup.py).
+  * Moved dist/build cleanup right before bdist_wheel. 
+
+-------------------------------------------------------------------
+Tue May 14 21:09:20 UTC 2019 - Adolfo Duarte <[email protected]>
+
+- Fixed compatibility with tox and changed requirement for minimum tox version 
to 3.9.0 
+
+-------------------------------------------------------------------

Old:
----
  tox-wheel-0.3.0.tar.gz

New:
----
  tox-wheel-0.4.2.tar.gz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-tox-wheel.spec ++++++
--- /var/tmp/diff_new_pack.PQAYrK/_old  2019-05-20 13:17:39.711937537 +0200
+++ /var/tmp/diff_new_pack.PQAYrK/_new  2019-05-20 13:17:39.727937529 +0200
@@ -18,7 +18,7 @@
 
 %{?!python_module:%define python_module() python-%{**} python3-%{**}}
 Name:           python-tox-wheel
-Version:        0.3.0
+Version:        0.4.2
 Release:        0
 Summary:        A Tox plugin that builds and installs wheels instead of sdist
 License:        BSD-2-Clause
@@ -28,12 +28,12 @@
 BuildRequires:  %{python_module setuptools}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-tox >= 3.6
+Requires:       python-tox >= 3.9
 Requires:       python-wheel >= 0.31
 BuildArch:      noarch
 # SECTION test requirements
 BuildRequires:  %{python_module pytest-runner}
-BuildRequires:  %{python_module tox >= 3.6}
+BuildRequires:  %{python_module tox >= 3.9}
 BuildRequires:  %{python_module tox-no-internet}
 BuildRequires:  %{python_module wheel >= 0.31}
 # /SECTION
@@ -53,12 +53,7 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-# Copy tox executable to py2/3 build areas, to be used for testing
-export PATH="$(pwd)/build/bin:$PATH"
-%{python_expand mkdir build/bin
-cp %{_bindir}/tox-%{$python_bin_suffix} build/bin/tox
-$python setup.py pytest
-}
+%pytest
 
 %files %{python_files}
 %doc AUTHORS.rst CHANGELOG.rst README.rst

++++++ tox-wheel-0.3.0.tar.gz -> tox-wheel-0.4.2.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/.bumpversion.cfg 
new/tox-wheel-0.4.2/.bumpversion.cfg
--- old/tox-wheel-0.3.0/.bumpversion.cfg        2019-01-26 16:06:25.000000000 
+0100
+++ new/tox-wheel-0.4.2/.bumpversion.cfg        2019-05-15 14:53:45.000000000 
+0200
@@ -1,5 +1,5 @@
 [bumpversion]
-current_version = 0.3.0
+current_version = 0.4.2
 commit = True
 tag = True
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/.gitignore 
new/tox-wheel-0.4.2/.gitignore
--- old/tox-wheel-0.3.0/.gitignore      1970-01-01 01:00:00.000000000 +0100
+++ new/tox-wheel-0.4.2/.gitignore      2019-01-12 04:55:57.000000000 +0100
@@ -0,0 +1,68 @@
+*.py[cod]
+
+# C extensions
+*.so
+
+# Packages
+*.egg
+*.egg-info
+dist
+build
+eggs
+.eggs
+parts
+bin
+var
+sdist
+wheelhouse
+develop-eggs
+.installed.cfg
+lib
+lib64
+venv*/
+pyvenv*/
+
+# Installer logs
+pip-log.txt
+
+# Unit test / coverage reports
+.coverage
+.tox
+.coverage.*
+.pytest_cache/
+nosetests.xml
+coverage.xml
+htmlcov
+
+# Translations
+*.mo
+
+# Mr Developer
+.mr.developer.cfg
+.project
+.pydevproject
+.idea
+*.iml
+*.komodoproject
+
+# Complexity
+output/*.html
+output/*/index.html
+
+# Sphinx
+docs/_build
+
+.DS_Store
+*~
+.*.sw[po]
+.build
+.ve
+.env
+.cache
+.pytest
+.bootstrap
+.appveyor.token
+*.bak
+
+# Mypy Cache
+.mypy_cache/
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/CHANGELOG.rst 
new/tox-wheel-0.4.2/CHANGELOG.rst
--- old/tox-wheel-0.3.0/CHANGELOG.rst   2019-01-26 16:05:31.000000000 +0100
+++ new/tox-wheel-0.4.2/CHANGELOG.rst   2019-05-15 12:18:24.000000000 +0200
@@ -2,6 +2,22 @@
 Changelog
 =========
 
+0.4.2 (2019-05-15)
+------------------
+
+* Improved logging a bit so messages are less confusing (don't emit 
``wheel-make path/to/setup.py``).
+* Moved dist/build cleanup right before ``bdist_wheel``.
+
+0.4.1 (2019-05-15)
+------------------
+
+* Improved error handling when no dists are built.
+
+0.4.0 (2019-05-05)
+------------------
+
+* Fixed compatibility with tox and changed requirement for minimum tox version 
to 3.9.0.
+
 0.3.0 (2019-01-26)
 ------------------
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/PKG-INFO new/tox-wheel-0.4.2/PKG-INFO
--- old/tox-wheel-0.3.0/PKG-INFO        2019-01-26 16:06:49.000000000 +0100
+++ new/tox-wheel-0.4.2/PKG-INFO        2019-05-15 14:53:54.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tox-wheel
-Version: 0.3.0
+Version: 0.4.2
 Summary: A Tox plugin that builds and installs wheels instead of sdist.
 Home-page: https://github.com/ionelmc/tox-wheel
 Author: Ionel Cristian Mărieș
@@ -110,6 +110,22 @@
         Changelog
         =========
         
+        0.4.2 (2019-05-15)
+        ------------------
+        
+        * Improved logging a bit so messages are less confusing (don't emit 
``wheel-make path/to/setup.py``).
+        * Moved dist/build cleanup right before ``bdist_wheel``.
+        
+        0.4.1 (2019-05-15)
+        ------------------
+        
+        * Improved error handling when no dists are built.
+        
+        0.4.0 (2019-05-05)
+        ------------------
+        
+        * Fixed compatibility with tox and changed requirement for minimum tox 
version to 3.9.0.
+        
         0.3.0 (2019-01-26)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/README.rst 
new/tox-wheel-0.4.2/README.rst
--- old/tox-wheel-0.3.0/README.rst      2019-01-26 16:06:25.000000000 +0100
+++ new/tox-wheel-0.4.2/README.rst      2019-05-15 14:53:45.000000000 +0200
@@ -34,9 +34,9 @@
     :alt: PyPI Package latest release
     :target: https://pypi.org/project/tox-wheel
 
-.. |commits-since| image:: 
https://img.shields.io/github/commits-since/ionelmc/tox-wheel/v0.3.0.svg
+.. |commits-since| image:: 
https://img.shields.io/github/commits-since/ionelmc/tox-wheel/v0.4.2.svg
     :alt: Commits since latest release
-    :target: https://github.com/ionelmc/tox-wheel/compare/v0.3.0...master
+    :target: https://github.com/ionelmc/tox-wheel/compare/v0.4.2...master
 
 .. |wheel| image:: https://img.shields.io/pypi/wheel/tox-wheel.svg
     :alt: PyPI Wheel
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/setup.py new/tox-wheel-0.4.2/setup.py
--- old/tox-wheel-0.3.0/setup.py        2019-01-26 16:06:25.000000000 +0100
+++ new/tox-wheel-0.4.2/setup.py        2019-05-15 14:53:45.000000000 +0200
@@ -25,7 +25,7 @@
 
 setup(
     name='tox-wheel',
-    version='0.3.0',
+    version='0.4.2',
     license='BSD 2-Clause License',
     description='A Tox plugin that builds and installs wheels instead of 
sdist.',
     long_description='%s\n%s' % (
@@ -71,8 +71,8 @@
         'Issue Tracker': 'https://github.com/ionelmc/tox-wheel/issues',
     },
     install_requires=[
-        'tox>=3.6',
-        'wheel>=0.31',
+        'tox>=3.9.0',
+        'wheel>=0.33.1',
     ],
     extras_require={
         # eg:
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/src/tox_wheel/__init__.py 
new/tox-wheel-0.4.2/src/tox_wheel/__init__.py
--- old/tox-wheel-0.3.0/src/tox_wheel/__init__.py       2019-01-26 
16:06:25.000000000 +0100
+++ new/tox-wheel-0.4.2/src/tox_wheel/__init__.py       2019-05-15 
14:53:45.000000000 +0200
@@ -1 +1 @@
-__version__ = '0.3.0'
+__version__ = '0.4.2'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/src/tox_wheel/plugin.py 
new/tox-wheel-0.4.2/src/tox_wheel/plugin.py
--- old/tox-wheel-0.3.0/src/tox_wheel/plugin.py 2019-01-26 15:40:02.000000000 
+0100
+++ new/tox-wheel-0.4.2/src/tox_wheel/plugin.py 2019-05-15 12:14:11.000000000 
+0200
@@ -4,7 +4,9 @@
 import pluggy
 import py
 from tox import package
+from tox import reporter
 from tox.package import get_package
+from tox.util.path import ensure_empty_dir
 
 hookimpl = pluggy.HookimplMarker("tox")
 
@@ -63,24 +65,18 @@
         return build_venv.wheel_package
 
 
-def wheel_build_package(config, report, session, venv):
+def wheel_build_package(config, session, venv):
     if config.isolated_build:
-        report.warning("Disabling isolated_build, not supported with wheels.")
-    return wheel_build(report, config, session, venv)
+        reporter.warning("Disabling isolated_build, not supported with 
wheels.")
+    return wheel_build(config, session, venv)
 
 
-def wheel_build(report, config, session, venv):
+def wheel_build(config, session, venv):
     setup = config.setupdir.join("setup.py")
     if not setup.check():
-        report.error("No setup.py file found. The expected location is: 
{}".format(setup))
+        reporter.error("No setup.py file found. The expected location is: 
{}".format(setup))
         raise SystemExit(1)
-    with session.newaction(venv, "packaging") as action:
-        action.setactivity("wheel-make", setup)
-        if not (session.config.option.wheel_dirty or 
venv.envconfig.wheel_dirty):
-            action.setactivity("wheel-make", "cleaning up build directory ...")
-            session.make_emptydir(config.setupdir.join("build"))
-        session.make_emptydir(config.distdir)
-
+    with session.newaction(venv.name, "packaging") as action:
         def wheel_is_allowed_external(path, 
is_allowed_external=venv.is_allowed_external):
             if not is_allowed_external(path):
                 raise RuntimeError("Couldn't find interpreter inside {} for 
building".format(venv))
@@ -88,6 +84,10 @@
 
         with patch(venv, 'is_allowed_external', wheel_is_allowed_external):
             venv.update(action=action)
+            if not (session.config.option.wheel_dirty or 
venv.envconfig.wheel_dirty):
+                action.setactivity("wheel-make", "cleaning up build directory 
...")
+                ensure_empty_dir(config.setupdir.join("build"))
+            ensure_empty_dir(config.distdir)
             venv.test(
                 name="wheel-make",
                 commands=[["python", setup, "bdist_wheel", "--dist-dir", 
config.distdir]],
@@ -97,7 +97,7 @@
                 display_hash_seed=False,
             )
         try:
-            return config.distdir.listdir()[0]
+            dists = config.distdir.listdir()
         except py.error.ENOENT:
             # check if empty or comment only
             data = []
@@ -107,10 +107,18 @@
                         continue
                     data.append(line)
             if not "".join(data).strip():
-                report.error("setup.py is empty")
+                reporter.error("setup.py is empty")
                 raise SystemExit(1)
-            report.error(
+            reporter.error(
                 "No dist directory found. Please check setup.py, e.g with:\n"
-                "     python setup.py sdist"
+                "     python setup.py bdist_wheel"
             )
             raise SystemExit(1)
+        else:
+            if not dists:
+                reporter.error(
+                    "No distributions found in the dist directory found. 
Please check setup.py, e.g with:\n"
+                    "     python setup.py bdist_wheel"
+                )
+                raise SystemExit(1)
+            return dists[0]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/src/tox_wheel.egg-info/PKG-INFO 
new/tox-wheel-0.4.2/src/tox_wheel.egg-info/PKG-INFO
--- old/tox-wheel-0.3.0/src/tox_wheel.egg-info/PKG-INFO 2019-01-26 
16:06:48.000000000 +0100
+++ new/tox-wheel-0.4.2/src/tox_wheel.egg-info/PKG-INFO 2019-05-15 
14:53:53.000000000 +0200
@@ -1,6 +1,6 @@
 Metadata-Version: 1.1
 Name: tox-wheel
-Version: 0.3.0
+Version: 0.4.2
 Summary: A Tox plugin that builds and installs wheels instead of sdist.
 Home-page: https://github.com/ionelmc/tox-wheel
 Author: Ionel Cristian Mărieș
@@ -110,6 +110,22 @@
         Changelog
         =========
         
+        0.4.2 (2019-05-15)
+        ------------------
+        
+        * Improved logging a bit so messages are less confusing (don't emit 
``wheel-make path/to/setup.py``).
+        * Moved dist/build cleanup right before ``bdist_wheel``.
+        
+        0.4.1 (2019-05-15)
+        ------------------
+        
+        * Improved error handling when no dists are built.
+        
+        0.4.0 (2019-05-05)
+        ------------------
+        
+        * Fixed compatibility with tox and changed requirement for minimum tox 
version to 3.9.0.
+        
         0.3.0 (2019-01-26)
         ------------------
         
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/src/tox_wheel.egg-info/SOURCES.txt 
new/tox-wheel-0.4.2/src/tox_wheel.egg-info/SOURCES.txt
--- old/tox-wheel-0.3.0/src/tox_wheel.egg-info/SOURCES.txt      2019-01-26 
16:06:49.000000000 +0100
+++ new/tox-wheel-0.4.2/src/tox_wheel.egg-info/SOURCES.txt      2019-05-15 
14:53:53.000000000 +0200
@@ -2,6 +2,7 @@
 .cookiecutterrc
 .coveragerc
 .editorconfig
+.gitignore
 .travis.yml
 AUTHORS.rst
 CHANGELOG.rst
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/src/tox_wheel.egg-info/requires.txt 
new/tox-wheel-0.4.2/src/tox_wheel.egg-info/requires.txt
--- old/tox-wheel-0.3.0/src/tox_wheel.egg-info/requires.txt     2019-01-26 
16:06:48.000000000 +0100
+++ new/tox-wheel-0.4.2/src/tox_wheel.egg-info/requires.txt     2019-05-15 
14:53:53.000000000 +0200
@@ -1,2 +1,2 @@
-tox>=3.6
-wheel>=0.31
+tox>=3.9.0
+wheel>=0.33.1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/tests/test_tox_wheel.py 
new/tox-wheel-0.4.2/tests/test_tox_wheel.py
--- old/tox-wheel-0.3.0/tests/test_tox_wheel.py 2019-01-25 17:01:40.000000000 
+0100
+++ new/tox-wheel-0.4.2/tests/test_tox_wheel.py 2019-05-15 04:37:52.000000000 
+0200
@@ -59,6 +59,23 @@
     assert result.ret == 0
 
 
[email protected]('wheel_build_env', ['', 'wheel_build_env'])
+def test_skip_usedevelop(testdir, options, wheel_build_env):
+    testdir.tmpdir.join('tox.ini').write("""
+[testenv]
+usedevelop = true
+""" + ("""
+wheel_build_env = build
+
+[testenv:build]
+""" if wheel_build_env else ""), mode='a')
+    result = testdir.run('tox', '-v', '--wheel', *options)
+    stdout = result.stdout.str()
+    assert stdout.count('wheel-make') == 0
+    assert stdout.count('bdist_wheel') == 0
+    assert result.ret == 0
+
+
 def test_enabled_toxini_noclean(testdir, options):
     testdir.tmpdir.join('tox.ini').write("""
 [testenv]
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/tox-wheel-0.3.0/tox.ini new/tox-wheel-0.4.2/tox.ini
--- old/tox-wheel-0.3.0/tox.ini 2019-01-23 18:32:33.000000000 +0100
+++ new/tox-wheel-0.4.2/tox.ini 2019-05-05 16:24:33.000000000 +0200
@@ -28,10 +28,10 @@
     pytest
     pytest-travis-fold
     pytest-cov
-    wheel==0.32.3
-    setuptools==40.4.3
-    tox==3.7.0
-    tox-virtualenv-no-download==1.0.3
+    wheel==0.33.1
+    setuptools==41.0.1
+    tox==3.9.0
+    tox-virtualenv-no-download==1.1.0
 
 commands =
     {posargs:pytest --cov --cov-report=term-missing -vv tests}


Reply via email to