summaryrefslogtreecommitdiff
path: root/setuptools/tests/test_egg_info.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix flaky testMarc Mueller2021-05-231-5/+3
|
* Keep user sorting for license filesMarc Mueller2021-05-231-5/+21
|
* Overwrite exlude from MANIFEST with license_files optionMarc Mueller2021-05-231-5/+6
| | | | | * needed for 'License-File' metadata, as this is written before MANIFEST is read
* Add License-File field to package metadataMarc Mueller2021-05-231-0/+29
|
* Changes after rebaseMarc Mueller2021-05-221-2/+2
|
* Small changes after reviewMarc Mueller2021-05-221-5/+1
|
* Fix testsMarc Mueller2021-05-221-2/+8
|
* Write long description in message payloadMarc Mueller2021-05-221-0/+21
|
* Remove hard-coded indexes of metadata lines. Ref #2641.Jason R. Coombs2021-05-091-3/+5
|
* Merge pull request #2641 from cdce8p/mv-versionJason R. Coombs2021-05-091-2/+22
|\ | | | | Always use latest metadata version for PKG-INFO
| * Always use latest mv version for PKG-INFOMarc Mueller2021-04-161-2/+22
| |
* | Add escaping to license fieldMarc Mueller2021-04-161-0/+31
|/
* Small changesMarc Mueller2021-04-031-2/+1
|
* Additional test casesMarc Mueller2021-04-031-3/+62
|
* license_files - Add support for glob patterns + add default patternsMarc Mueller2021-04-031-2/+2
|
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2021-02-201-4/+8
|
* Switch to jaraco.path for building filesJason R. Coombs2021-02-201-13/+13
|
* Revert "Merge pull request #2533 from pypa/fix/2529"Jason R. Coombs2021-01-161-50/+34
| | | | | This reverts commit ef457b2e4eb215ab9d730afbd61a10ed3b118d3c, reversing changes made to d2b1f7ebd6ebd57b4a50bc6660e93b31129bacb4.
* Add failing testDustin Ingram2021-01-151-6/+21
|
* Move helper method out of classDustin Ingram2021-01-151-28/+29
|
* Fix tests with pytest 6.2Chih-Hsuan Yen2020-12-131-1/+1
| | | | | | | | The latest pytest deprecates pytest.yield_fixture in favor of pytest.fixture [1]. The changelog [2] says that both are the same. [1] https://github.com/pytest-dev/pytest/pull/7988 [2] https://docs.pytest.org/en/stable/changelog.html#pytest-6-2-0-2020-12-12
* Remove Python 2 compatibilityJason R. Coombs2020-08-161-51/+1
|
* 👹 Feed the hobgoblins (delint).Jason R. Coombs2020-01-191-21/+27
|
* Remove DALS for single-line stringsMick Koch2019-10-281-40/+40
|
* Add support for `license_files` option in metadataMick Koch2019-10-281-0/+198
|
* Added test for metadata-version 1.2Bastian Venthur2019-05-161-0/+1
|
* Merge branch 'master' into license-fix-357Jason R. Coombs2019-01-271-4/+99
|\
| * Merge pull request #1180 from ↵Jason R. Coombs2019-01-271-0/+46
| |\ | | | | | | | | | | | | 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-251-56/+210
| | |\
| | * | improve encoding handling for `setup.cfg`Benoit Pierre2017-10-251-0/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support the same mechanism as for Python sources for declaring the encoding to be used when reading `setup.cfg` (see PEP 263), and return the results of reading it as Unicode. Fix #1062 and #1136.
| * | | Feed the hobgoblins (delint).Jason R. Coombs2019-01-261-2/+3
| | |/ | |/|
| * | Change how license field ValueError is testedPaul Ganssle2018-12-291-6/+14
| | | | | | | | | | | | | | | | | | | | | Both the old and new approaches are deeply unsatisfying to me, but without reworking how these test commands are run, I think this is about as close as we can get to enforcing that this specific call raises ValueError.
| * | Disallow files for license inputsrajdeep2018-12-291-1/+24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The ability to handle files was originally added and documented based on a misunderstanding of what the `license` field should include. The field should be the name of the license, not the full text. It is likely that anyone actually using this was outputing malformed PKG-INFO files, because most license files contain newlines. See GH issue #1551
| * | Add tests for setup.py inclusionShashank Singh2018-11-021-1/+15
| | | | | | | | | | | | | | | | | | This tests that `setup.py` is included by default in the distribution with the egg_info command and when an sdist is built with build_meta.build_sdist
| * | Add unit tests for setuptools deprecation warningsrobinjhuang2018-10-281-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | These are tests to ensure that the specified deprecation warnings are raised when the functions are called. Co-authored-by: Junhan Huang <robin.j.huang@gmail.com> Co-authored-by: Marton Pono <marci93@gmail.com>
* | | Remove unnecessary parameters from the testDeniz Taneli2018-11-101-6/+2
| | |
* | | Address review commentsDeniz Taneli2018-11-101-0/+2
| | |
* | | Make the new tests parametrizedDeniz Taneli2018-10-281-60/+19
| | |
* | | Unit tests for installing licenses from setup.cfg (#357)Deniz Taneli2018-10-271-0/+92
|/ / | | | | | | Co-Authored-By: Poyzan Nur Taneli <31743851+ptaneli@users.noreply.github.com>
* | Merge pull request #1427 from stephenfin/touch-egg-info-directoryJason R. Coombs2018-09-161-0/+17
|\ \ | | | | | | Touch 'egg-info' directory
| * | egg_info: Touch 'egg-info' directoryStephen Finucane2018-08-191-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'tox' determines whether a package should be rebuilt by comparing the timestamp of the package's 'egg-info' directory and its 'setup.py' or 'setup.cfg' files [1][2]. Unfortunately this checks the 'egg-info' directory itself, which is not updated, unlike the contents of that directory. This means that 'tox' will always rebuild the package once one of the two setup files has been updated. While this is clearly a bug in 'tox' that should be fixed separately, there is merit in using this as a heuristic so enable it. [1] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L253-L257 [2] https://github.com/tox-dev/tox/blob/3.1.0/src/tox/venv.py#L221-L244 Signed-off-by: Stephen Finucane <stephen@that.guru>
* | | setuptools: fix regression with `egg_info` commandBenoit Pierre2018-08-211-0/+16
|/ / | | | | | | Ensure version is tagged only once.
* | Use Python 3 syntax for new-style clasessJason R. Coombs2018-06-031-2/+4
| |
* | Drop support for EOL Python 3.3Hugo2018-05-241-1/+1
| |
* | Tests in test_egg_info no longer invoke 'setup.py install', but instead ↵Jason R. Coombs2018-05-161-39/+11
| | | | | | | | focus on the behavior in egg_info as the namesake suggests.
* | Don't require network in testsJeremy Bowman2018-05-161-8/+8
| |
* | tests: Add regression test for #1081Stephen Finucane2018-03-261-0/+12
| | | | | | | | | | | | | | This ensures we don't unknowingly change the behavior of this again. Signed-off-by: Stephen Finucane <stephen@that.guru> Fixes: #1307
* | provide a failing test case for regression introduced in b2ea3c4a - spurious ↵wim glenn2018-03-161-0/+17
| | | | | | | | "Provides-Extra:" generated in metadata
* | Updates for PEP 566 (Metadata 2.1)Dustin Ingram2018-03-141-0/+19
| |
* | Merge branch 'master' into masterJason R. Coombs2018-01-041-7/+35
|\ \