summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | 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
| | | | | | |
| | * | | | | include pyproject.toml in sdist (#1632)Alexander Duryagin2019-01-111-0/+14
| | | | | | |
| * | | | | | Removed unused context.quietBastian Venthur2019-08-251-4/+3
| | | | | | |
| * | | | | | Added test for DeprecationWarningBastian Venthur2019-08-201-0/+16
| | |_|_|_|/ | |/| | | |
* | | | | | Remove sys.modules hackDan Rose2019-10-271-0/+22
| |_|/ / / |/| | | | | | | | | | | | | | Fix #1888 (metadata accidentally not picklable), and removes a case where reimporting a vendored module results in a second copy of the same module.
* | | | | 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.
| * | Automatically skip tests that require networkPaul Ganssle2019-02-231-10/+41
| | |
| * | tests: improve `test_pip_upgrade_from_source`Benoit Pierre2019-02-221-1/+15
| | | | | | | | | | | | | | | Parametrize the test to check different versions of pip (including master) are correctly supported.
* | | In tests, force deterministic ordering on extras_require so tests pass.Jason R. Coombs2019-02-171-5/+7
| | |
* | | Add test capturing expectation that provides_extras are ordered.Jason R. Coombs2019-02-171-0/+13
|/ /
* | Add support for setup.cfg-only projectsPaul Ganssle2019-02-071-2/+21
| | | | | | | | | | | | Many projects can get away with an empty `setup.py` and use *only* the declarative `setup.cfg`. With the new PEP 517 backend, we can supply a default empty `setup.py` if one is not provided.
* | Rename build_meta:legacy to build_meta:__legacy__Paul Ganssle2019-02-051-1/+1
| |
* | Move build_meta_legacy to build_meta:legacyPaul Ganssle2019-02-031-3/+14
| | | | | | | | | | | | Rather than exposing a top-level module for the legacy backend, we will move the legacy backend into the `setuptools.build_meta` module and specify it using the module:object syntax.
* | Add build_meta_legacy backendPaul Ganssle2019-02-031-1/+0
| | | | | | | | | | | | | | This is part of the solution to GH #1642, it is a backwards-compatibility backend that can be used as a default PEP 517 backend for projects that use setuptools but haven't opted in to build_meta.
* | Add failing test suite for build_meta_legacyPaul Ganssle2019-02-031-0/+13
| | | | | | | | | | | | This runs all build_meta tests, plus a test that it is possible to import from the directory containing `setup.py` when using the build_meta_legacy backend.
* | Add test for relative path imports in build_metaPaul Ganssle2019-02-031-0/+20
| | | | | | | | | | | | Failing test adapted from PR #1643 Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
* | Wrap build_meta tests in a reusable test classPaul Ganssle2019-02-031-134/+134
| |
* | Merge branch '40.7-maintenance'Jason R. Coombs2019-01-282-0/+72
|\ \
| * | test: add a simple regression test for `build_ext`Benoit Pierre2019-01-282-0/+72
| | |
* | | tests: minor cleanupBenoit Pierre2019-01-281-9/+1
| | |
* | | Merge branch 'master' into license-fix-357Jason R. Coombs2019-01-2725-157/+862
|\ \ \ | |/ /
| * | Merge pull request #1180 from ↵Jason R. Coombs2019-01-272-2/+119
| |\ \ | | | | | | | | | | | | | | | | benoit-pierre/fix_889_and_non-ascii_in_setup.cfg_take_2 improve encoding handling for `setup.cfg`
| | * \ Merge branch 'master' into fix_889_and_non-ascii_in_setup.cfg_take_2Jason R. Coombs2019-01-2526-187/+2415
| | |\ \ | | | |/