summaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Replace bespoke logger with Python logging logger, restoring ↵python-loggingJason R. Coombs2021-12-263-21/+11
| | | | info/debug/warning levels to logged messages. Fixed missing f-string for 'wheelfile_path'.
* Merge branch 'main' into remove-distutilsAlex Grönholm2021-12-268-136/+72
|\
| * Added the first batch of type annotationsAlex Grönholm2021-12-265-17/+26
| |
| * Tidied up the code in the metadata moduleAlex Grönholm2021-12-251-4/+7
| |
| * Eliminated unwarranted pkg-info workaroundsAlex Grönholm2021-12-251-45/+11
| | | | | | | | We assume pkg-info is UTF-8, rendering some py2 era workarounds unnecessary.
| * Eliminated the pkg_info moduleAlex Grönholm2021-12-253-23/+8
| | | | | | | | | | The two functions previously contained within the module were inline to the only places where they were used. We also now assume PKG-INFO is UTF-8 encoded, as distutils has done since 2012.
| * Eliminated more py2 compatibility codeAlex Grönholm2021-12-242-45/+19
| | | | | | | | | | - Got rid of as_bytes(), as_unicode() and native() - Eliminated the py2 code path in _update_crc()
* | Got rid of require_pkgresources()Alex Grönholm2021-12-242-11/+1
| | | | | | | | Setuptools will now always be present so this is pointless. The pkg_resources module was never imported here anyway.
* | Fixed one more distutils importAlex Grönholm2021-12-243-14/+16
| |
* | Fixed detection of 32-bit Python on 64-bit OSAlex Grönholm2021-12-241-2/+2
| | | | | | | | The sysconfig.get_platform() and distutils.util.get_platform() functions return "linux-x64_64", not "linux_x64_64" which the previous code and tests assumed.
* | Replaced distutils with setuptoolsAlex Grönholm2021-12-242-21/+31
|/ | | | Distutils has been deprecated and will be removed in Python 3.12.
* Adopted isort and applied it to the codebaseAlex Grönholm2021-12-242-9/+8
|
* Adopted black and reformatted the codebase to matchAlex Grönholm2021-12-2411-406/+557
|
* Removed unused functionAlex Grönholm2021-12-231-6/+0
|
* Updated vendored packaging to 21.3Alex Grönholm2021-12-225-520/+530
|
* Upgraded to py3.7+ syntaxAlex Grönholm2021-12-228-30/+30
|
* Dropped support for unmaintained Python versionsAlex Grönholm2021-12-228-106/+36
|
* Created a new releaseAlex Grönholm2021-12-221-1/+1
|
* Support unpacking wheels that contain files with commas in their names (#427)Hood Chatham2021-12-221-17/+29
| | | | | The csv module is now being used to read RECORD. Co-authored-by: Alex Grönholm <alex.gronholm@nextday.fi>
* Fixed wheel pack duplicating WHEEL contents on build number changeAlex Grönholm2021-08-151-1/+4
| | | | Fixes #415.
* Created a new release0.37.0Alex Grönholm2021-08-091-1/+1
|
* Fix typo of comments (#404)Yusuke Hayashi2021-05-221-2/+2
|
* Updated vendored packaging to v20.9Alex Grönholm2021-02-082-6/+20
|
* Added vendor.txtAlex Grönholm2021-01-041-0/+1
| | | | This is a requirements.txt style file intended for downstream packagers. Closes #392.
* Created a new release0.36.2Alex Grönholm2020-12-131-1/+1
|
* Updated vendored packaging to v20.8Alex Grönholm2020-12-131-6/+2
| | | | Fixes #354.
* Don't use default macos/arm64 deployment target in calculating the platform ↵Ronald Oussoren2020-12-131-0/+14
| | | | | | | | tag for fat binaries (#390) The system compiler in Xcode 12 will not set the deployment target for arm64 below 11.0.0 (which is the first version of macOS supporting arm64). To allow building wheels that target an earlier version of macOS (by way of the x86_64 part of fat binaries) ignore the deployment target in the arm64 part of fat binaries when that's 11.0.0.
* Created a new release0.36.1Alex Grönholm2020-12-041-1/+1
|
* Fixed TypeError when a unicode generator name was passed on Python 2.7Alex Grönholm2020-12-041-0/+5
| | | | Fixes #388.
* Fixed error on Big Sur when deployment target = 11 (#386)Grzegorz Bokota2020-12-041-6/+10
| | | | | Fixes #385. Co-authored-by: FX Coudert <fxcoudert@gmail.com>
* Created a new release0.36.0Alex Grönholm2020-12-011-1/+1
|
* Adapted for upcoming changes in PyPy's SOABI tag (#373)Matti Picus2020-11-291-0/+4
|
* Fixed CRLF being used when generating WHEEL files on Windows (#383)Alex Grönholm2020-11-291-3/+9
| | | Fixes #378.
* Fixed flake8 errorAlex Grönholm2020-11-291-1/+1
|
* Updated vendored packaging to v20.7Alex Grönholm2020-11-292-61/+162
| | | | Fixes #381.
* Fixed regression in setting plat-name (#375)Matti Picus2020-09-181-1/+2
|
* Created a new release0.35.1Alex Grönholm2020-08-141-1/+1
|
* Vendored the packaging.tags module (#365)Alex Grönholm2020-08-145-1/+804
| | | See the commentary on https://github.com/pypa/wheel/pull/346 for the reason.
* Fixed bdist_wheel not lower casing the platform tag (#366)Alex Grönholm2020-08-141-1/+1
| | | | Fixes #364.
* Created a new release0.35.0Alex Grönholm2020-08-141-1/+1
|
* Fixed PyPy2 ABI tag generationAlex Grönholm2020-08-141-1/+1
|
* Replaced pep425tags with packaging (#346)Matti Picus2020-04-073-278/+155
| | | The internal pep425tags module has been removed in favor of the "packaging" library.
* Fix resource leak in WheelFile.open() (#338)Jon Dufresne2020-03-241-4/+4
| | | | | | | | | | | In WheelFile.open(), if the hash does not exist, avoid opening the file before raising the exception. Previously would leak the open file resource which could result in a ResourceWarning when Python warnings are enabled: ResourceWarning: unclosed file <_io.FileIO name='…/test_testzip_missing_hash0/test-1.0-py2.py3-none-any.whl' mode='rb' closefd=True> Python warnings are now enabled during tests to help catch these earlier.
* Remove unused EXTRA_RE variable (#340)Jon Dufresne2020-03-241-5/+0
| | | Unused since 595e4a8fc6bed54091ead713933c8ec8ebd1bb51.
* Ignore files terminating in ~. (#347)Diego Elio Pettenò2020-03-241-0/+4
| | | | This is Unix's most common pattern for backup files. They are often present, but I can't think of a good reason for them to be distributed.
* Created a new release0.34.2Alex Grönholm2020-01-311-1/+1
|
* Fixed installation from sdist (#334)Alex Grönholm2020-01-271-1/+1
| | | | | | | Wheel cannot use pep517 yet because the installation process involves installing wheel because the setuptools build backend declares it as a dependency for building wheels. A future update of pip may solve this problem. Setuptools_scm, on the other hand, requires wheel as a build time dependency so if somebody tries to install wheel using `--no-binary=:all:`, it also creates a circular dependency. Fixes #332.
* Issue #329: Remove last remnant of custom PyPy tags (#330)Nick Coghlan2020-01-271-1/+1
| | | | | | The resolution of issue #328 removed the custom PyPy tagging from `get_impl_version_info()`, this just cleans up the check that forces PyPy to call that even if `py_version_nodot` was already set.
* Added the --compression option to bdist_wheel (#316)Alex Grönholm2020-01-262-5/+22
| | | Fixes #313.
* Removed obsolete commentAlex Grönholm2020-01-261-2/+1
| | | | Closes #296.