summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Bump version: 58.5.2 → 58.5.3v58.5.3Jason R. Coombs2021-11-044-5/+13
|
* Merge pull request #2855 from abravalheri/fix-2849Jason R. Coombs2021-11-043-11/+73
|\ | | | | Fix 2849: Problem with custom commands inheriting directly from `distutils`
| * Mark change as bugfix.Jason R. Coombs2021-11-041-0/+0
| |
| * Add news fragment regarding the fix for #2849Anderson Bravalheri2021-11-041-0/+3
| |
| * Make sure user gets warned when using distutilsAnderson Bravalheri2021-11-041-1/+15
| |
| * Handle custom build_py inheriting from distutilsAnderson Bravalheri2021-11-041-1/+9
| | | | | | | | | | | | | | | | | | According to #2849, some projects, including important data-science packages rely on `distutils` when creating custom commands, instead of extending the ones provided by setuptools. This change should accomodate this use case, while also warning the users to migrate.
| * Add regression test for #2849Anderson Bravalheri2021-11-041-10/+47
| |
* | Merge pull request #2848 from aphedges/fix-doc-typoJason R. Coombs2021-11-041-1/+1
|\ \ | |/ |/| Fix wrong issue number in CHANGES.rst
| * Fix wrong issue number in CHANGES.rstAlex Hedges2021-11-031-1/+1
|/
* Bump version: 58.5.1 → 58.5.2v58.5.2Jason R. Coombs2021-11-034-3/+11
|
* Suppress 'setup.py install' warning under bdist_wheel. Fixes #2847.Jason R. Coombs2021-11-032-2/+12
|
* Bump version: 58.5.0 → 58.5.1v58.5.1Jason R. Coombs2021-11-034-3/+11
|
* Move warning definition above implicit behavior on import. Fixes #2846.Jason R. Coombs2021-11-032-9/+10
|
* Bump version: 58.4.0 → 58.5.0v58.5.0Jason R. Coombs2021-11-034-5/+13
|
* Merge pull request #2844 from abravalheri/fix-1461Jason R. Coombs2021-11-036-5/+59
|\ | | | | Fix 1461: Better loop breaker for `manifest_maker`
| * Merge with failing testJason R. Coombs2021-11-020-0/+0
| |\
| | * Introduce test and remove workaround for recursion error.Anderson Bravalheri2021-11-022-7/+24
| | |
| * | Trim docstring and remove comment.Jason R. Coombs2021-11-021-6/+4
| | |
| * | Remove data_files avoidance code.Jason R. Coombs2021-11-021-3/+0
| | |
| * | Reformat docstring and rewrite in imperative voice.Jason R. Coombs2021-11-021-4/+5
| | |
| * | Add build_py and sdist to bootstrap metadata. Ensures distutils versions ↵Jason R. Coombs2021-11-021-0/+4
| | | | | | | | | | | | aren't used while bootstrapping egg-info.
| * | Fix 1461: Better loop breaker for `manifest_maker`Anderson Bravalheri2021-11-015-5/+59
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | Merge pull request #2841 from hugovk/patch-2Jason R. Coombs2021-11-021-2/+2
|\ \ | | | | | | Docs: Fix typo in History
| * | Docs: Fix typo in HistoryHugo van Kemenade2021-11-011-2/+2
| |/ | | | | | | | | https://setuptools.pypa.io/en/latest/history.html#v58-4-0 Should be https://github.com/pypa/setuptools/issues/2832
* | Amend changelog to include link to Paul's blog article.Jason R. Coombs2021-11-011-1/+1
|/
* Bump version: 58.3.0 → 58.4.0v58.4.0Jason R. Coombs2021-10-316-8/+19
|
* Merge pull request #2840 from pypa/feature/deprecate-legacy-warningJason R. Coombs2021-10-313-0/+9
|\ | | | | Deprecate LegacyVersion
| * Raise a deprecation warning when an invalid version is encountered. Ref ↵Jason R. Coombs2021-10-313-0/+9
|/ | | | #2497. Ref #2822.
* Drop tests against pip < 20, which no longer work without 'wheel' specified ↵Jason R. Coombs2021-10-311-8/+0
| | | | in build requirements.
* Merge pull request #2833 from abravalheri/remove-data-files-from-exampleJason R. Coombs2021-10-313-8/+9
|\ | | | | [Docs] Remove data_files from declarative config example
| * Remove data_files from declarative config exampleAnderson Bravalheri2021-10-263-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | According to the following references: - https://setuptools.pypa.io/en/latest/references/keywords.html - https://packaging.python.org/guides/distributing-packages-using-setuptools/#package-data the usage of ``data_files`` is deprecated. Therefore we should avoid having it in the main configuration example for declarative config.
* | Merge pull request #2831 from abravalheri/improve-docs-paverJason R. Coombs2021-10-311-2/+11
|\ \ | | | | | | [Docs] Add reference and short description for Paver
| * | Docs: Add reference + short description for PaverAnderson Bravalheri2021-10-261-2/+11
| |/ | | | | | | | | | | | | | | In the developer-guide [Paver] is very briefly mentioned. The purpose of this change is to expand a little bit the context to help and help the potential contributor to understand what is happening. [Paver]: https://pythonhosted.org/Paver/
* | Merge https://github.com/jaraco/skeletonJason R. Coombs2021-10-316-11/+18
|\ \
| * | Remove wheel from build requirements. It's implied for wheel builds. Ref ↵Jason R. Coombs2021-10-221-1/+1
| | | | | | | | | | | | pypa/setuptools#1498.
| * | Rely on pytest 6 and drop workaround for pytest-dev/pytest#6178.Jason R. Coombs2021-10-072-3/+1
| | |
| * | Test on Python 3.10 (final).Jason R. Coombs2021-10-051-3/+6
| | |
| * | Add intersphinx mappings for Python to prevent spurious nitpicky failures. ↵Jason R. Coombs2021-09-171-0/+7
| | | | | | | | | | | | Fixes jaraco/skeleton#51.
| * | .editorconfig: Set max_line_length to 88 for Python files.Alan Fregtman2021-09-041-0/+1
| | |
* | | Merge pull request #2829 from hugovk/patch-1Jason R. Coombs2021-10-311-1/+1
|\ \ \ | |_|/ |/| | Fix typo and add code formatting
| * | Fix typo and add code formattingHugo van Kemenade2021-10-251-1/+1
|/ /
* | Bump version: 58.2.0 → 58.3.0v58.3.0Jason R. Coombs2021-10-228-10/+21
| |
* | Merge pull request #2824 from pypa/debt/deprecate-setup-requiresJason R. Coombs2021-10-226-11/+39
|\ \ | | | | | | Deprecate setup_requires, setup.py install, and easy_install command.
| * | Deprecate setup.py install and easy_install. Ref #917.Jason R. Coombs2021-10-224-0/+18
| | |
| * | Emit a SetuptoolsDeprecationWarning when setup_requires is used. Ref #2823.debt/deprecate-setup-requiresJason R. Coombs2021-10-223-11/+21
| | |
* | | Rename changelog. Ref #2785.Jason R. Coombs2021-10-221-0/+0
| | |
* | | Rename changelog. Ref #1988.Jason R. Coombs2021-10-221-0/+0
| | |
* | | Add minimum versions for setup_requires, python_requires, py_modules. Closes ↵Jason R. Coombs2021-10-221-3/+3
|/ / | | | | | | #1535.
* | Merge pull request #2762 from tanvimoharir/codecov-changesJason R. Coombs2021-10-202-0/+6
|\ \ | | | | | | Update codecov.yml
| * | Rename changelog to match expected syntax.Jason R. Coombs2021-10-201-0/+0
| | |