Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Account for windows paths in tests | Anderson Bravalheri | 2023-01-20 | 1 | -1/+5 |
| | |||||
* | Capture expectations of issue 3781 | Anderson Bravalheri | 2023-01-20 | 1 | -4/+15 |
| | |||||
* | Capture expectations about 'project.license.file' in pyproject.toml | Anderson Bravalheri | 2023-01-19 | 1 | -3/+7 |
| | | | | … to be automatically added to the sdist | ||||
* | Refactor tests for file directive | Anderson Bravalheri | 2023-01-19 | 1 | -35/+22 |
| | |||||
* | Expand test to account for pyproject's readme | Anderson Bravalheri | 2023-01-19 | 1 | -14/+15 |
| | |||||
* | Capture expectation about file directive in pyproject.toml to be in the sdist | Anderson Bravalheri | 2023-01-19 | 1 | -1/+27 |
| | |||||
* | Capture expectation about file: directive in setup.cfg to be in the sdist | Anderson Bravalheri | 2023-01-19 | 1 | -0/+24 |
| | |||||
* | Skip an additional test under xdist. Ref pypa/distutils#183. Expanded ↵ | Jason R. Coombs | 2022-11-13 | 1 | -4/+8 |
| | | | | workaround for pytest-dev/pytest-xdist#843. | ||||
* | Skip test under xdist as it fails after migrating to Python logging. Ref ↵ | Jason R. Coombs | 2022-11-13 | 1 | -0/+4 |
| | | | | pypa/distutils#183. Workaround for pytest/pytest-xdist#843. | ||||
* | ⚫ Fade to black. | Jason R. Coombs | 2022-11-13 | 1 | -6/+10 |
| | |||||
* | sdist: Add files from build subcommands (get_source_files) | Anderson Bravalheri | 2022-06-25 | 1 | -0/+41 |
| | |||||
* | Update test_sdist not to rely on pkg_resources. | Jason R. Coombs | 2022-02-06 | 1 | -4/+6 |
| | |||||
* | Use warning instead of log for distutils command | Anderson Bravalheri | 2021-11-05 | 1 | -16/+4 |
| | | | | | As discussed in #2855, using an actual warning instead of the logger allow users to control what gets displayed via warning filters. | ||||
* | Make sure user gets warned when using distutils | Anderson Bravalheri | 2021-11-04 | 1 | -1/+15 |
| | |||||
* | Add regression test for #2849 | Anderson Bravalheri | 2021-11-04 | 1 | -10/+47 |
| | |||||
* | Trim docstring and remove comment. | Jason R. Coombs | 2021-11-02 | 1 | -6/+4 |
| | |||||
* | Fix 1461: Better loop breaker for `manifest_maker` | Anderson Bravalheri | 2021-11-01 | 1 | -0/+24 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The inconsistency for the `package_data` configuration in sdists when `include_package_data=True` in #1461 have been causing some problems for the community for a while, as also shown in #2835. As pointed out by [@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366), this was being caused by a mechanism to break the recursion between the `egg_info` and `sdist` commands. In summary the loop is caused by the following behaviour: - the `egg_info` command uses a subclass of `sdist` (`manifest_maker`) to calculate the MANIFEST, - the `sdist` class needs to know the MANIFEST to calculate the data files when `include_package_data=True` Previously, the mechanism to break this loop was to simply ignore the data files in `sdist` when `include_package_data=True`. The approach implemented in this change was to replace this mechanism, by allowing `manifest_maker` to override the `_safe_data_files` method from `sdist`. --- Please notice [an extensive experiment] (https://github.com/abravalheri/experiment-setuptools-package-data) was carried out to investigate the previous confusing behaviour. There is also [a simplified theoretical analysis] (https://github.com/pyscaffold/pyscaffold/pull/535#issuecomment-956296407) comparing the observed behavior in the experiment and the expected one. This analysis point out to the same offender indicated by [@jaraco](https://github.com/pypa/setuptools/issues/1461#issuecomment-749092366) (which is being replaced in this change). | ||||
* | Remove Python 2 compatibility | Jason R. Coombs | 2020-08-16 | 1 | -52/+25 |
| | |||||
* | Fix for Python 4: replace unsafe six.PY3 with PY2 | Hugo | 2020-01-08 | 1 | -16/+16 |
| | |||||
* | Fix latin1 and utf8 tests on Python 2 | Jason R. Coombs | 2020-01-01 | 1 | -2/+11 |
| | |||||
* | Restore Python 2.7 compatibility | Jason R. Coombs | 2020-01-01 | 1 | -5/+1 |
| | |||||
* | Remove unused import | Jason R. Coombs | 2019-12-31 | 1 | -1/+0 |
| | |||||
* | Remove instance attribute; rely on tmpdir fixture; re-use touch helper. | Jason R. Coombs | 2019-12-31 | 1 | -8/+7 |
| | |||||
* | Rewrite TestSdistTest setup/teardown_method as pytest fixture. | Jason R. Coombs | 2019-12-31 | 1 | -18/+17 |
| | |||||
* | Restore Python 2.7 compatibilityfeature/include-pyproject.toml | Jason R. Coombs | 2019-12-31 | 1 | -0/+2 |
| | |||||
* | Add test for exclusion expectation. Ref #1650. | Jason R. Coombs | 2019-12-31 | 1 | -0/+16 |
| | |||||
* | include pyproject.toml in sdist (#1632) | Alexander Duryagin | 2019-01-11 | 1 | -0/+14 |
| | |||||
* | Add tests for setup.py inclusion | Shashank Singh | 2018-11-02 | 1 | -3/+43 |
| | | | | | | 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 | ||||
* | Mark Py 2/3-only tests as skip instead of xfail | Nikolaus Waxweiler | 2018-10-27 | 1 | -1/+1 |
| | | | | | Also reuse pre-defined py2_only and py3_only decorators where appropriate. | ||||
* | Move filename fixtures to a 'text' module so they can use unicode literals. | Jason R. Coombs | 2017-10-11 | 1 | -15/+8 |
| | |||||
* | Expect failure on macOS 10.13 and other operating systems where writing ↵ | Jason R. Coombs | 2017-10-11 | 1 | -0/+18 |
| | | | | latin-1 encoded filenames is prohibited. Fixes #1169. | ||||
* | Feed the hobgoblins (delint). | Jason R. Coombs | 2017-10-11 | 1 | -3/+5 |
| | |||||
* | Collapse encoding detection | Jason R. Coombs | 2017-10-11 | 1 | -4/+3 |
| | |||||
* | Use natural byte literals in test_sdist | Jason R. Coombs | 2017-10-11 | 1 | -17/+11 |
| | |||||
* | Remove meaningless commend | Jason R. Coombs | 2017-10-11 | 1 | -1/+0 |
| | |||||
* | Revert "Merge pull request #933 from pypa/feature/581-depend-not-bundle" | Jason R. Coombs | 2017-02-24 | 1 | -2/+2 |
| | | | | | This reverts commit 089cdeb489a0fa94d11b7307b54210ef9aa40511, reversing changes made to aaec654d804cb78dbb6391afff721a63f26a71cd. | ||||
* | Strip out vendored packages and require them instead. Ref #581. | Jason R. Coombs | 2017-01-01 | 1 | -2/+2 |
| | |||||
* | Change _add_defaults_data_files override and add unittest | Thiebaud Weksteen | 2016-11-21 | 1 | -2/+7 |
| | |||||
* | Fix quantity of blank lines. | stepshal | 2016-10-18 | 1 | -5/+0 |
| | |||||
* | Fix quantity of blank lines after code object. | stepshal | 2016-07-13 | 1 | -1/+0 |
| | |||||
* | Always use Python 3 version of map | Jason R. Coombs | 2016-01-16 | 1 | -0/+1 |
| | |||||
* | Modeling after Astropy's technique for bundling libraries, the imports are ↵ | Jason R. Coombs | 2015-12-31 | 1 | -6/+1 |
| | | | | | | | now much cleaner. Thanks @embray. Ref #229. --HG-- branch : feature/issue-229 | ||||
* | Update vendoring technique to match that used for packaging. Ref #229. | Jason R. Coombs | 2015-12-31 | 1 | -1/+7 |
| | | | | | --HG-- branch : feature/issue-229 | ||||
* | Merge with master. Ref #229. | Jason R. Coombs | 2015-12-31 | 1 | -128/+114 |
|\ | | | | | | | | | --HG-- branch : feature/issue-229 | ||||
| * | Use io.open for future compatibility and consistency | Jason R. Coombs | 2015-12-09 | 1 | -9/+9 |
| | | |||||
| * | Expect fail when LC_ALL=C | Jason R. Coombs | 2015-12-01 | 1 | -0/+1 |
| | | |||||
| * | Expect failure running Python 3 only tests on Python 2 | Jason R. Coombs | 2015-12-01 | 1 | -104/+106 |
| | | |||||
| * | Try setting LC_CTYPE also | Jason R. Coombs | 2015-12-01 | 1 | -6/+2 |
| | | |||||
| * | WTF | Jason R. Coombs | 2015-12-01 | 1 | -0/+1 |
| | | |||||
| * | Try inlining the xfail marker. | Jason R. Coombs | 2015-12-01 | 1 | -2/+2 |
| | |