summaryrefslogtreecommitdiff
path: root/setuptools/tests
Commit message (Collapse)AuthorAgeFilesLines
* Adequate venv fixtures to the latest change in virtualenvAnderson Bravalheri2023-05-022-3/+5
| | | | | | | | Since version v20.23.0, `virtualenv` will no longer include `wheel` and `setuptools` in the created folders. Some tests in the setuptools test suite assume that these packages are always present. So we need to adequate these tests.
* Overhaul for better visibility of warnings (#3849)Anderson Bravalheri2023-04-203-16/+117
|\
| * Enforce deprecation warnings in setuptools test suiteAnderson Bravalheri2023-03-071-1/+2
| |
| * Use new warnings in setuptools/config/setupcfg.pyAnderson Bravalheri2023-03-071-15/+9
| |
| * Use new warnings in setuptools/config/_apply_pyprojecttoml.pyAnderson Bravalheri2023-03-071-1/+1
| |
| * Add tests for warning formatting and tweaks to implementationAnderson Bravalheri2023-03-061-0/+106
| |
| * Import SetuptoolsDeprecationWarning from setuptools.warningsAnderson Bravalheri2023-03-062-2/+2
| |
* | Update code generated by validate-pyproject (#3875)Anderson Bravalheri2023-03-281-18/+41
|\ \
| * | Improve tests on license-files for pyproject.tomlAnderson Bravalheri2023-03-281-18/+41
| | |
* | | Test warnings for dynamic scripts when entry-points is not dynamicAnderson Bravalheri2023-03-201-0/+12
|/ /
* | Simplify changes targeting sys_tags cacheAnderson Bravalheri2023-03-081-14/+7
| |
* | Use functools.lru_cache to cache supported tags for wheels.Maurits van Rees2023-03-071-3/+11
| | | | | | | | | | This is a suggestion by @abravalheri for my PR. https://github.com/pypa/setuptools/pull/3805#issuecomment-1434361907
* | Cache supported tags for wheels.Maurits van Rees2023-03-071-0/+1
|/ | | | This fixes https://github.com/pypa/setuptools/issues/3804
* Fixed interaction between discovery and htmlcov (#3836)Anderson Bravalheri2023-03-061-0/+1
|\
| * Add FlatLayoutPackageFinder's test for Coverage.pyYukihiko Shinoda2023-02-231-0/+1
| |
* | Deprecate pkg_resources, removing excuse that 'discouraged is not deprecated'.Jason R. Coombs2023-03-051-6/+3
|/
* Add test for debugging tipsAnderson Bravalheri2023-02-131-0/+19
|
* dedicated testhauntsaninja2023-01-251-16/+18
|
* add a testhauntsaninja2023-01-241-0/+16
|
* Update test expectations to match new packaging versionAnderson Bravalheri2023-01-231-0/+20
|
* Fix version syntax in test_nowarn_accidental_env_marker_misconfigMichał Górny2023-01-211-2/+2
| | | | | | | | | | Fix the two "marker"-alike cases (for package `python_version`) for test_nowarn_accidental_env_marker_misconfig to use `<3` rather than `<'3'`. The latter maps to the version `'3'` which is not a valid version and therefore causes an error with packaging-22.0+. See the discussion at https://github.com/pypa/setuptools/commit/506e7e7e1cac6a5d534184d35a20a73e9dd58045#r97577660
* Fix dependency syntax error in test_dist_infoMichał Górny2023-01-211-1/+2
| | | | | | | | | | | | Fix the install_requires used in test_dist_info to use the dangling syntax, in order to correctly handle markers. This fixes syntax error when parsed by packaging-22.0+, as well as setuptools warning: ``` UserWarning: One of the parsed requirements in `install_requires` looks like a valid environment marker: \'sys_platform != "linux"\' Make sure that the config is correct and check https://setuptools.pypa.io/en/latest/userguide/declarative_config.html#opt-2 warnings.warn(msg, UserWarning)\n' ```
* Account for windows paths in testsAnderson Bravalheri2023-01-201-1/+5
|
* Capture expectations of issue 3781Anderson Bravalheri2023-01-201-4/+15
|
* Capture expectations about 'project.license.file' in pyproject.tomlAnderson Bravalheri2023-01-191-3/+7
| | | | … to be automatically added to the sdist
* Refactor tests for file directiveAnderson Bravalheri2023-01-191-35/+22
|
* Expand test to account for pyproject's readmeAnderson Bravalheri2023-01-191-14/+15
|
* Capture expectation about file directive in pyproject.toml to be in the sdistAnderson Bravalheri2023-01-191-1/+27
|
* Capture expectation about file: directive in setup.cfg to be in the sdistAnderson Bravalheri2023-01-191-0/+24
|
* Update test_invalid_version to expect failure.Jason R. Coombs2023-01-141-7/+20
|
* ⚫ Fade to black.Jason R. Coombs2023-01-141-11/+12
|
* Merge branch 'main' into debt/remove-legacy-versionJason R. Coombs2023-01-1447-595/+4997
|\
| * Merge: Catching excption from utime and providing human-readable error ↵Anderson Bravalheri2023-01-111-0/+16
| |\ | | | | | | | | | description (#3716)
| | * Improve code formattingAnderson Bravalheri2023-01-111-4/+9
| | |
| | * Test added. Ref #3667.Andrzej Kaczmarczyk2022-11-291-0/+11
| | |
| * | Update failing test due to latest versions of pip_runAnderson Bravalheri2023-01-071-1/+1
| | | | | | | | | | | | | | | | | | It seems that the latest version of `pip_run` can no longer handle `str` objects in `inject_sitecustomize` (see `https://github.com/jaraco/pip-run/commit/30c62a0eadd5af422709e75993ff19a39fe69733`).
| * | Add support for testing pip<23 and drop support for pip<20.Jason R. Coombs2022-12-161-2/+1
| | |
| * | xfail more tests on Python 3.12+ for older pips. Ref #3727.Jason R. Coombs2022-12-161-3/+10
| | |
| * | xfail tests on Python 3.12+ for older pips. Ref #3727.Jason R. Coombs2022-12-161-2/+14
| | |
| * | ⚫ Fade to black.Jason R. Coombs2022-12-161-10/+21
| |/
| * Remove wrong commentAnderson Bravalheri2022-11-231-1/+1
| |
| * Add simple regression test for logging patchesAnderson Bravalheri2022-11-231-0/+17
| |
| * Fix build directories interference with auto-discovery (#3704)Anderson Bravalheri2022-11-231-0/+13
| |\
| | * Capture behaviour of issue 3692 in testAnderson Bravalheri2022-11-221-0/+13
| | |
| * | Improve clib builds reproducibility (#3679)Anderson Bravalheri2022-11-231-0/+28
| |\ \
| | * | Make clib build reproducible by sorting sourcesDaniel Garcia Moreno2022-11-151-0/+28
| | |/ | | | | | | | | | Fix https://github.com/pypa/setuptools/issues/3678
| * | Improve invalid entry-points traceback (#3684)Anderson Bravalheri2022-11-231-22/+53
| |\ \
| | * | Test user-friendly exeptions for invalid entry-poitnsAnderson Bravalheri2022-11-151-22/+53
| | |/
| * | Remove unnecessary `coding` comment (#3696)Anderson Bravalheri2022-11-234-7/+1
| |\ \
| | * | The default encoding of Python sources is UTF-8Dimitri Papadopoulos2022-11-204-7/+1
| | |/ | | | | | | | | | | | | | | | | | | Python 3 assumes the encoding is UTF-8 by default, and so do or should do tools such as text editors when opening Python files. No need to explicitly set `*- coding: utf-8 -*-`.