summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* Restore Python 2.7 compatibilityfeature/include-pyproject.tomlJason R. Coombs2019-12-311-0/+2
|
* Add test for exclusion expectation. Ref #1650.Jason R. Coombs2019-12-311-0/+16
|
* Add test ensuring pyproject.toml is included during PEP 517 build.Tzu-ping Chung2019-12-291-0/+21
|
* Merge branch 'master' into feature/include-pyproject.tomlJason R. Coombs2019-12-2931-776/+1472
|\
| * Merge branch 'master' into fix_handling_of_find-links_in_setup.cfgJason R. Coombs2019-12-011-0/+44
| |\
| | * fix possible issue with transitive build dependenciesBenoit Pierre2019-11-271-0/+44
| | | | | | | | | | | | | | | Handle the case where a missing transitive build dependency is required by an extra for an already installed build dependency.
| * | fix support for easy_install's find-links option in setup.cfgBenoit Pierre2019-11-261-0/+38
| |/
| * wheel: fix `is_compatible` implementationBenoit Pierre2019-11-251-0/+9
| |
| * Merge pull request #1909 from benoit-pierre/resurrect_easy_install_scriptJason R. Coombs2019-11-232-20/+19
| |\ | | | | | | Revert "drop easy_install script and associated documentation"
| | * Revert "drop easy_install script and associated documentation"Benoit Pierre2019-11-162-20/+19
| | | | | | | | | | | | This reverts commit 6e1838a9fb5feb000ba9b6a3c37c8b39d7e872b3.
| * | Merge pull request #1829 from benoit-pierre/update_pep425tagsJason R. Coombs2019-11-162-222/+0
| |\ \ | | |/ | |/| wheel: switch to `packaging.tags` for checking PEP 425 tags
| | * wheel: switch to `packaging.tags` for checking PEP 425 tagsBenoit Pierre2019-10-072-222/+0
| | |
| * | Merge pull request #1767 from kchmck/feat-license-filesJason R. Coombs2019-11-161-5/+203
| |\ \ | | | | | | | | Add support for `license_files` option in metadata
| | * | Remove DALS for single-line stringsMick Koch2019-10-281-40/+40
| | | |
| | * | Add support for `license_files` option in metadataMick Koch2019-10-281-0/+198
| | | |
| * | | drop easy_install script and associated documentationBenoit Pierre2019-11-152-19/+20
| | | |
| * | | dist: re-implement `fetch_build_egg` to use pipBenoit Pierre2019-11-153-39/+195
| | | |
| * | | tests: fix some pytest warnings under Python 2Benoit Pierre2019-11-151-1/+1
| | | |
| * | | Merge pull request #1861 from ↵Benoit Pierre2019-11-131-0/+28
| |\ \ \ | | | | | | | | | | | | | | | | | | | | benoit-pierre/fix_empty_namespace_package_wheel_install Fix empty namespace package wheel install
| | * | | wheel: fix installation of empty namespace packageBenoit Pierre2019-10-071-0/+28
| | | |/ | | |/|
| * | | Remove "upload" and "register" commands.Paul Ganssle2019-11-022-233/+21
| | |/ | |/| | | | | | | | | | | | | The upload and register commands were deprecated over a year ago, in July 2018 (PR GH-1410, discussed in issue GH-1381). It is time to actively remove them in favor of twine.
| * | Merge pull request #1824 from asottile/python310Jason R. Coombs2019-10-271-1/+1
| |\ \ | | | | | | | | Fixes for python3.10
| | * | Fixes for python3.10Anthony Sottile2019-08-171-1/+1
| | | |
| * | | Remove outdated comment and suppressed exception from test_test.pyJon Dufresne2019-10-221-6/+2
| | | | | | | | | | | | | | | | | | | | The test command has not called sys.exit since commit 2c4fd43277fc477d85b50e15c37b176136676270.
| * | | Merge pull request #1881 from jdufresne/utf-8Paul Ganssle2019-10-222-2/+2
| |\ \ \ | | | | | | | | | | Change coding cookie to use utf-8 (lowercase)
| | * | | Change coding cookie to use utf-8 (lowercase)Jon Dufresne2019-10-212-2/+2
| | | |/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | While perfectly valid, the encoding 'UTF-8' (uppercase) is not recognized by the Emacs MULE system. As such, it displays the following warning when opening a file with it used as an encoding cookie: Warning (mule): Invalid coding system ‘UTF-8’ is specified for the current buffer/file by the :coding tag. It is highly recommended to fix it before writing to a file. Some discussion of this can be found at: https://stackoverflow.com/questions/14031724/how-to-make-emacs-accept-utf-8-uppercase-encoding While the post does offer a workaround for Emacs users, rather than ask all to implement it, use the more typical utf-8 (lowercase).
| * | | Deprecate the test commandJon Dufresne2019-10-211-0/+50
| |/ / | | | | | | | | | | | | | | | | | | Provide a warning to users. Suggest using tox as an alternative generic entry point. Refs #1684
| * | Merge pull request #1847 from pypa/bugfix/1787-python-requires-invalidJason R. Coombs2019-10-061-0/+34
| |\ \ | | | | | | | | Crash when invalid python_requires indicated in setup.cfg
| | * | Add more tests for valid behavior. Expand exception, any should do.Jason R. Coombs2019-09-111-1/+23
| | | |
| | * | Add test capturing failure. Ref #1787.Jason R. Coombs2019-09-111-0/+12
| | |/
| * | Allow 'long_description_content_type' warnings for new versions of ↵Jason R. Coombs2019-10-061-0/+1
| | | | | | | | | | | | packaging. Fixes #1858.
| * | Merge branch 'master' into feature/deterministic-provides-extrasJason R. Coombs2019-09-118-31/+257
| |\ \ | | |/
| | * tests: fix `test_pip_upgrade_from_source` on Python 3.4Benoit Pierre2019-07-231-1/+6
| | | | | | | | | | | | Do not test pip's master on 3.4, as support for it has been dropped.
| | * improve `package_data` checkDaniel Himmelstein2019-07-161-1/+52
| | | | | | | | | | | | | | | | | | Ensure the dictionary values are lists/tuples of strings. Fix #1459.
| | * Added test for metadata-version 1.2Bastian Venthur2019-05-161-0/+1
| | |
| | * tests: fix_test_build_deps_on_distutilsBenoit Pierre2019-05-141-2/+3
| | | | | | | | | | | | | | | * ignore distutils' warning (`Unknown distribution option: 'python_requires'`) * fix test on Windows
| | * build_meta: fix 2 issues with `build_wheel` / `build_sdist`Benoit Pierre2019-04-221-17/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the following cases: * `build_sdist` is called with another sdist already present in the destination directory * `build_wheel` is called with the destination directory not already created
| | * Merge pull request #1745 from shashanksingh28/masterPaul Ganssle2019-04-221-1/+6
| | |\ | | | | | | | | Fix error with PEP 517 builds when wheel exists (GH #1761)
| | | * Fix error when wheels already exist in dist/Shashank Singh2019-04-221-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | `build_meta.build_wheel` assumes that the only wheel in its output directory is the one it builds, but prior to this, it also used the `dist/` folder as its working output directory. This commit uses a temporary directory instead, preventing an error that was triggered when previously-generated wheel files were still sitting in `dist/`. Fixes GH #1671
| | * | Limit workers in ProcessPoolExecutorPaul Ganssle2019-04-221-1/+1
| | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As a mitigation for #1730, this commit limits the number of workers in the ProcessPoolExecutor to 1 (default is the number of CPUs). On PyPy, having a higher number of available workers dramatically increases the number of concurrent processes, leading to some resource exhaustion issues. This does not address the root issue, but should improve the situation until the root issue is addressed.
| | * Add test for pre-existing wheels in build_metaFloris Lambrechts2019-04-201-0/+38
| | | | | | | | | | | | | | | | | | | | | Currently, this will fail because setuptools.build_meta.build_wheel assumes that no wheels already exist in the `dist/` directory. See GH #1671
| | * Updated test to check for changed git rev checkout2xB2019-04-121-1/+1
| | | | | | | | | Checking for new implementation solving issue #1740
| | * Correct cyrillic to match preferred pronunciation.Jason R. Coombs2019-04-051-2/+2
| | |
| | * Add compatibility for Python 2Jason R. Coombs2019-04-051-3/+3
| | |
| | * Add test for setopt to demonstrate that edit_config retains non-ASCII ↵Jason R. Coombs2019-04-051-0/+36
| | | | | | | | | | | | characters.
| | * When reading config files, require them to be encoded with UTF-8. Fixes #1702.Jason R. Coombs2019-04-051-22/+9
| | |
| | * Feed the hobgoblins (delint).Jason R. Coombs2019-04-051-4/+7
| | |
| | * Extend requirement parsing tests to sdistsPaul Ganssle2019-03-161-3/+12
| | |
| | * Add requirement parsing in setuptools.build_metaPaul Ganssle2019-03-161-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes GH #1682 by porting the pkg_resources requirement parsing logic into setuptools.build_meta, so that all valid requirement specifiers passed to setup_requires will be added to the get_requires_for_build_* function outputs. Fixes GH #1682
| | * Add failing test for setup_requiresPaul Ganssle2019-03-161-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | Per GH #1682, with setuptools.build_meta we are not properly handling the situation where setup_requires is actually a newline-delimited string rather than a list, which is supported by setup.py interface. This adds several failing (and some passing) tests for how setup_requires is handled by setuptools.build_meta.