summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Merge branch 'main' into remove-distutilsAlex Grönholm2021-12-262-51/+18
|\
| * Eliminated the pkg_info moduleAlex Grönholm2021-12-251-24/+0
| | | | | | | | | | 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-241-27/+18
| | | | | | | | | | - Got rid of as_bytes(), as_unicode() and native() - Eliminated the py2 code path in _update_crc()
* | Fixed detection of 32-bit Python on 64-bit OSAlex Grönholm2021-12-241-1/+1
| | | | | | | | 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-241-11/+11
|/ | | | Distutils has been deprecated and will be removed in Python 3.12.
* Adopted isort and applied it to the codebaseAlex Grönholm2021-12-244-6/+6
|
* Adopted black and reformatted the codebase to matchAlex Grönholm2021-12-2416-378/+572
|
* Upgraded to py3.7+ syntaxAlex Grönholm2021-12-2210-22/+19
|
* Dropped support for unmaintained Python versionsAlex Grönholm2021-12-223-5/+0
|
* Support unpacking wheels that contain files with commas in their names (#427)Hood Chatham2021-12-226-1/+13
| | | | | 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-3/+12
| | | | Fixes #415.
* Don't use default macos/arm64 deployment target in calculating the platform ↵Ronald Oussoren2020-12-132-0/+1
| | | | | | | | 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.
* Fixed error on Big Sur when deployment target = 11 (#386)Grzegorz Bokota2020-12-042-4/+24
| | | | | Fixes #385. Co-authored-by: FX Coudert <fxcoudert@gmail.com>
* Fixed CRLF being used when generating WHEEL files on Windows (#383)Alex Grönholm2020-11-291-0/+8
| | | Fixes #378.
* Fixed regression in setting plat-name (#375)Matti Picus2020-09-181-17/+23
|
* Replaced pep425tags with packaging (#346)Matti Picus2020-04-071-1/+1
| | | The internal pep425tags module has been removed in favor of the "packaging" library.
* Ignore files terminating in ~. (#347)Diego Elio Pettenò2020-03-241-1/+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.
* Added the --compression option to bdist_wheel (#316)Alex Grönholm2020-01-261-0/+15
| | | Fixes #313.
* Fixed line endings when rewriting WHEELAlex Grönholm2020-01-261-3/+3
|
* Use the existing build tag in wheel pack unless overriddenAlex Grönholm2020-01-261-11/+31
| | | | Closes #323. Fixes #322.
* Fixed bdist_wheel failing on a read-only source treeAlex Grönholm2020-01-221-2/+17
| | | | Fixes #327.
* Added boilerplate code to the dummy extension distAlex Grönholm2020-01-211-0/+16
| | | | On Windows, not having this results in a linker error (unresolved external symbol PyInit_extension).
* Skipped the limited ABI test on Python 2Alex Grönholm2020-01-211-0/+1
|
* Don't try to build ABI3 extensions on WindowsAlex Grönholm2020-01-216-3/+18
|
* Skip unicode dist and related test on Python < 3.6Alex Grönholm2020-01-212-1/+8
| | | | Due to encoding issues, this ends up failing in certain cases and there is nothing wheel can do about it.
* Fixed duplicate RECORD file when using "wheel pack" on WindowsAlex Grönholm2020-01-211-0/+1
|
* macosx platform tag does not support patch releases (#317)Grzegorz Bokota2020-01-033-20/+40
|
* Fixed typo 'dynlib' -> 'dylib' (#320)Grzegorz Bokota2019-11-1911-16/+16
|
* Better discovery of macos system version to determine proper platform tag (#314)Grzegorz Bokota2019-10-2312-0/+127
|
* Fixed building binary wheels against the limited ABIAlex Grönholm2019-08-181-0/+12
| | | | Fixes #305.
* Fix egg2wheel for python3.10 (#304)Anthony Sottile2019-08-181-2/+2
|
* Revert "Include directory entries when building wheel (#289)"Alex Grönholm2019-05-122-25/+0
| | | | This reverts commit 369b1eeb. Fixes #294.
* Include directory entries when building wheel (#289)Jason R. Coombs2019-04-282-0/+25
| | | Fixes #287.
* Fixed warning about the [wheel] section in testsAlex Grönholm2019-02-121-1/+1
|
* Skip attributes test on WindowsAlex Grönholm2019-02-121-0/+3
|
* Fixed test warnings on Python 2Alex Grönholm2019-02-111-1/+1
|
* Added the --build-number option to "wheel pack"Alex Grönholm2019-02-101-3/+9
| | | | Fixes #283.
* Write the RECORD file as CSV (#281)Paul Moore2019-02-101-2/+6
| | | Fixes #280.
* Removed leftover empty modulesAlex Grönholm2018-12-091-0/+0
|
* Correct default license file 'LICENCE.txt' (#279)Jon Dufresne2018-12-091-1/+1
| | | Before it mistakenly duplicated 'LICENSE.txt'.
* Fixed handling of direct URL requirements with markers (#270)Benoit Pierre2018-11-191-8/+15
| | | There must be at least one space between the URL and the `;` delimiting the markers.
* Adding r for raw regex string on cli/test_convert.py (#273)Bertil Hatt2018-10-281-1/+1
|
* Added test and news item for PR #266Alex Grönholm2018-10-151-1/+7
|
* Fixed flake8 errorAlex Grönholm2018-10-051-1/+0
|
* Fixed build number appearing in the .dist-info directory nameAlex Grönholm2018-10-041-0/+11
| | | | | | Adding a build number caused two different .dist-info directories to be added to the wheel, making pip (rightfully) reject it. We now construct the dist-info directory name without the build number in all cases. Fixes #263.
* Fixed permissions on the RECORD fileAlex Grönholm2018-10-041-0/+4
| | | | Fixes #261.
* Added a few additional common patterns for legal and attribution files (#251)C.A.M. Gerlach2018-09-251-1/+2
|
* Fixed handling of extras (#252)Benoit Pierre2018-09-251-4/+19
| | | Ensure extras are properly canonicalized, so corresponding `Provides-Dist` markers will match with the list of extras returned by pkg_resources.
* Fixed handling of direct URL specifiers in requirements (#250)Benoit Pierre2018-09-231-0/+3
| | | Do not strip the URLs. Fixes #249.
* Added a "real proper" fix for duplicate metadata linesAlex Grönholm2018-07-181-38/+36
|