Hello community, here is the log from the commit of package python-wheel for openSUSE:Factory checked in at 2019-05-17 23:41:36 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-wheel (Old) and /work/SRC/openSUSE:Factory/.python-wheel.new.5148 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-wheel" Fri May 17 23:41:36 2019 rev:19 rq:703265 version:0.33.4 Changes: -------- --- /work/SRC/openSUSE:Factory/python-wheel/python-wheel.changes 2019-03-04 09:10:44.088704310 +0100 +++ /work/SRC/openSUSE:Factory/.python-wheel.new.5148/python-wheel.changes 2019-05-17 23:41:39.157962599 +0200 @@ -1,0 +2,6 @@ +Wed May 15 20:46:24 UTC 2019 - Jonathan Harker <jhar...@suse.com> + +- Update to 0.33.4: + * Fixed wheel build failures on some systems due to all attributes being preserved + +------------------------------------------------------------------- Old: ---- wheel-0.33.1.tar.gz New: ---- wheel-0.33.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-wheel.spec ++++++ --- /var/tmp/diff_new_pack.s4lp7t/_old 2019-05-17 23:41:40.057962105 +0200 +++ /var/tmp/diff_new_pack.s4lp7t/_new 2019-05-17 23:41:40.061962103 +0200 @@ -18,7 +18,7 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-wheel -Version: 0.33.1 +Version: 0.33.4 Release: 0 Summary: A built-package format for Python License: MIT ++++++ wheel-0.33.1.tar.gz -> wheel-0.33.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.33.1/.travis.yml new/wheel-0.33.4/.travis.yml --- old/wheel-0.33.1/.travis.yml 2019-02-19 15:03:57.000000000 +0100 +++ new/wheel-0.33.4/.travis.yml 2019-05-11 23:41:35.000000000 +0200 @@ -15,11 +15,11 @@ - stage: test env: TOXENV=pypy - python: pypy2.7-6.0 + python: pypy - stage: test env: TOXENV=pypy3 - python: pypy3.5-6.0 + python: pypy3 - stage: test env: TOXENV=py27 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.33.1/docs/news.rst new/wheel-0.33.4/docs/news.rst --- old/wheel-0.33.1/docs/news.rst 2019-02-19 15:03:57.000000000 +0100 +++ new/wheel-0.33.4/docs/news.rst 2019-05-11 23:41:35.000000000 +0200 @@ -1,11 +1,25 @@ Release Notes ============= -**0.33.1** +**0.33.4 (2019-05-12)** + +- Reverted PR #289 (adding directory entries to the wheel file) due to + incompatibility with ``distlib.wheel`` + +**0.33.3 (2019-05-10)** (redacted release) + +- Fixed wheel build failures on some systems due to all attributes being + preserved (PR by Matt Wozniski) + +**0.33.2 (2019-05-08)** (redacted release) + +- Fixed empty directories missing from the wheel (PR by Jason R. Coombs) + +**0.33.1 (2019-02-19)** - Fixed the ``--build-number`` option for ``wheel pack`` not being applied -**0.33.0** +**0.33.0 (2019-02-11)** - Added the ``--build-number`` option to the ``wheel pack`` command - Fixed bad shebangs sneaking into wheels @@ -15,20 +29,21 @@ ``RECORD`` (PR by Paul Moore) - Sort requirements extras to ensure deterministic builds (PR by PoncinMatthieu) +- Forced ``inplace = False`` when building a C extension for the wheel -**0.32.3** +**0.32.3 (2018-11-18)** - Fixed compatibility with Python 2.7.0 – 2.7.3 - Fixed handling of direct URL requirements with markers (PR by Benoit Pierre) -**0.32.2** +**0.32.2 (2018-10-20)** - Fixed build number appearing in the ``.dist-info`` directory name - Made wheel file name parsing more permissive - Fixed wrong Python tag in wheels converted from eggs (PR by John T. Wodder II) -**0.32.1** +**0.32.1 (2018-10-03)** - Fixed ``AttributeError: 'Requirement' object has no attribute 'url'`` on setuptools/pkg_resources versions older than 18.8 (PR by Benoit Pierre) @@ -36,7 +51,7 @@ 'algorithms_available'`` on Python < 2.7.9 (PR by Benoit Pierre) - Fixed permissions on the generated ``.dist-info/RECORD`` file -**0.32.0** +**0.32.0 (2018-09-29)** - Removed wheel signing and verifying features - Removed the "wheel install" and "wheel installscripts" commands @@ -52,11 +67,11 @@ - Warn when the deprecated ``[wheel]`` section is used in ``setup.cfg`` (PR by Jon Dufresne) -**0.31.1** +**0.31.1 (2018-05-13)** - Fixed arch as ``None`` when converting eggs to wheels -**0.31.0** +**0.31.0 (2018-04-01)** - Fixed displaying of errors on Python 3 - Fixed single digit versions in wheel files not being properly recognized @@ -70,7 +85,7 @@ - Deprecated all wheel signing and signature verification commands - Removed the (already defunct) ``tool`` extras from setup.py -**0.30.0** +**0.30.0 (2017-09-10)** - Added py-limited-api {cp32|cp33|cp34|...} flag to produce cpNN.abi3.{arch} tags on CPython 3. @@ -87,16 +102,16 @@ - Improved the error message when trying to verify an unsigned wheel file - Removed support for Python 2.6, 3.2 and 3.3. -**0.29.0** +**0.29.0 (2016-02-06)** - Fix compression type of files in archive (Issue #155, Pull Request #62, thanks Xavier Fernandez) -**0.28.0** +**0.28.0 (2016-02-05)** - Fix file modes in archive (Issue #154) -**0.27.0** +**0.27.0 (2016-02-05)** - Support forcing a platform tag using ``--plat-name`` on pure-Python wheels, as well as nonstandard platform tags on non-pure wheels (Pull Request #60, @@ -115,11 +130,11 @@ (invalid on all platforms, but code was only executed on Windows) (Issue #91) - Added the PyPA Code of Conduct (Pull Request #56) -**0.26.0** +**0.26.0 (2015-09-18)** - Fix multiple entrypoint comparison failure on Python 3 (Issue #148) -**0.25.0** +**0.25.0 (2015-09-16)** - Add Python 3.5 to tox configuration - Deterministic (sorted) metadata @@ -128,7 +143,7 @@ - Treat data-only wheels as pure - Write to temporary file and rename when using wheel install --force -**0.24.0** +**0.24.0 (2014-07-06)** - The python tag used for pure-python packages is now .pyN (major version only). This change actually occurred in 0.23.0 when the --python-tag @@ -142,7 +157,7 @@ should work the same whether the package is installed by wheel or by setup.py. -**0.23.0** +**0.23.0 (2014-03-31)** - Compatibility tag flags added to the bdist_wheel command - sdist should include files necessary for tests @@ -156,14 +171,14 @@ command can be used to generate the scripts in such cases. - Thank you contributors -**0.22.0** +**0.22.0 (2013-09-15)** - Include entry_points.txt, scripts a.k.a. commands, in experimental pydist.json - Improved test_requires parsing - Python 2.6 fixes, "wheel version" command courtesy pombredanne -**0.21.0** +**0.21.0 (2013-07-20)** - Pregenerated scripts are the default again. - "setup.py bdist_wheel --skip-scripts" turns them off. @@ -180,19 +195,19 @@ [distribution ...]]" to install the console_scripts (setuptools-style scripts using pkg_resources) for a distribution. -**0.19.0** +**0.19.0 (2013-07-19)** - pymeta.json becomes pydist.json -**0.18.0** +**0.18.0 (2013-07-04)** - Python 3 Unicode improvements -**0.17.0** +**0.17.0 (2013-06-23)** - Support latest PEP-426 "pymeta.json" (json-format metadata) -**0.16.0** +**0.16.0 (2013-04-29)** - Python 2.6 compatibility bugfix (thanks John McFarlane) - Bugfix for C-extension tags for CPython 3.3 (using SOABI) @@ -201,11 +216,11 @@ - Python 3 fix for moving Unicode Description to metadata body - Include rudimentary API documentation in Sphinx (thanks Kevin Horn) -**0.15.0** +**0.15.0 (2013-01-14)** - Various improvements -**0.14.0** +**0.14.0 (2012-10-27)** - Changed the signature format to better comply with the current JWS spec. Breaks all existing signatures. @@ -213,34 +228,34 @@ - Put the description in the newly allowed payload section of PKG-INFO (METADATA) files. -**0.13.0** +**0.13.0 (2012-10-17)** - Use distutils instead of sysconfig to get installation paths; can install headers. - Improve WheelFile() sort. - Allow bootstrap installs without any pkg_resources. -**0.12.0** +**0.12.0 (2012-10-06)** - Unit test for wheel.tool.install -**0.11.0** +**0.11.0 (2012-10-17)** - API cleanup -**0.10.3** +**0.10.3 (2012-10-03)** - Scripts fixer fix -**0.10.2** +**0.10.2 (2012-10-02)** - Fix keygen -**0.10.1** +**0.10.1 (2012-09-30)** - Preserve attributes on install. -**0.10.0** +**0.10.0 (2012-09-30)** - Include a copy of pkg_resources. Wheel can now install into a virtualenv that does not have distribute (though most packages still require @@ -248,12 +263,12 @@ - Define a new setup.cfg section [wheel]. universal=1 will apply the py2.py3-none-any tag for pure python wheels. -**0.9.7** +**0.9.7 (2012-09-20)** - Only import dirspec when needed. dirspec is only needed to find the configuration for keygen/signing operations. -**0.9.6** +**0.9.6 (2012-09-19)** - requires-dist from setup.cfg overwrites any requirements from setup.py Care must be taken that the requirements are the same in both cases, @@ -262,7 +277,7 @@ - improved command line utility, adds 'wheel convert [egg or wininst]' to convert legacy binary formats to wheel -**0.9.5** +**0.9.5 (2012-09-15)** - Wheel's own wheel file can be executed by Python, and can install itself: ``python wheel-0.9.5-py27-none-any/wheel install ...`` @@ -272,11 +287,11 @@ dependencies in setup.py, but will only be interpreted when installing from wheel, not from sdist. Can be qualified with environment markers. -**0.9.4** +**0.9.4 (2012-09-11)** - Fix wheel.signatures in sdist -**0.9.3** +**0.9.3 (2012-09-10)** - Integrated digital signatures support without C extensions. - Integrated "wheel install" command (single package, no dependency @@ -284,66 +299,66 @@ - Support Python 3.3 - Use Metadata 1.3 (PEP 426) -**0.9.2** +**0.9.2 (2012-08-29)** - Automatic signing if WHEEL_TOOL points to the wheel binary - Even more Python 3 fixes -**0.9.1** +**0.9.1 (2012-08-28)** - 'wheel sign' uses the keys generated by 'wheel keygen' (instead of generating a new key at random each time) - Python 2/3 encoding/decoding fixes - Run tests on Python 2.6 (without signature verification) -**0.9** +**0.9 (2012-08-22)** - Updated digital signatures scheme - Python 3 support for digital signatures - Always verify RECORD hashes on extract - "wheel" command line tool to sign, verify, unpack wheel files -**0.8** +**0.8 (2012-08-17)** - none/any draft pep tags update - improved wininst2wheel script - doc changes and other improvements -**0.7** +**0.7 (2012-07-28)** - sort .dist-info at end of wheel archive - Windows & Python 3 fixes from Paul Moore - pep8 - scripts to convert wininst & egg to wheel -**0.6** +**0.6 (2012-07-23)** - require distribute >= 0.6.28 - stop using verlib -**0.5** +**0.5 (2012-07-17)** - working pretty well -**0.4.2** +**0.4.2 (2012-07-12)** - hyphenated name fix -**0.4** +**0.4 (2012-07-11)** - improve test coverage - improve Windows compatibility - include tox.ini courtesy of Marc Abramowitz - draft hmac sha-256 signing function -**0.3** +**0.3 (2012-07-04)** - prototype egg2wheel conversion script -**0.2** +**0.2 (2012-07-03)** - Python 3 compatibility -**0.1** +**0.1 (2012-06-30)** - Initial version diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.33.1/wheel/__init__.py new/wheel-0.33.4/wheel/__init__.py --- old/wheel-0.33.1/wheel/__init__.py 2019-02-19 15:03:57.000000000 +0100 +++ new/wheel-0.33.4/wheel/__init__.py 2019-05-11 23:41:35.000000000 +0200 @@ -1,2 +1,2 @@ # __variables__ with double-quoted values will be available in setup.py: -__version__ = "0.33.1" +__version__ = "0.33.4" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.33.1/wheel/bdist_wheel.py new/wheel-0.33.4/wheel/bdist_wheel.py --- old/wheel-0.33.1/wheel/bdist_wheel.py 2019-02-19 15:03:57.000000000 +0100 +++ new/wheel-0.33.4/wheel/bdist_wheel.py 2019-05-11 23:41:35.000000000 +0200 @@ -57,7 +57,7 @@ ('skip-build', None, "skip rebuilding everything (for testing/debugging)"), ('relative', None, - "build the archive using relative paths" + "build the archive using relative paths " "(default: false)"), ('owner=', 'u', "Owner name used when creating a tar file" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/wheel-0.33.1/wheel/wheelfile.py new/wheel-0.33.4/wheel/wheelfile.py --- old/wheel-0.33.1/wheel/wheelfile.py 2019-02-19 15:03:57.000000000 +0100 +++ new/wheel-0.33.4/wheel/wheelfile.py 2019-05-11 23:41:35.000000000 +0200 @@ -4,6 +4,7 @@ import hashlib import os.path import re +import stat import time from collections import OrderedDict from distutils import log as logger @@ -132,7 +133,7 @@ data = f.read() zinfo = ZipInfo(arcname or filename, date_time=get_zipinfo_datetime(st.st_mtime)) - zinfo.external_attr = st.st_mode << 16 + zinfo.external_attr = (stat.S_IMODE(st.st_mode) | stat.S_IFMT(st.st_mode)) << 16 zinfo.compress_type = ZIP_DEFLATED self.writestr(zinfo, data, compress_type)