<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/setuptools/command, branch debt/remove-legacy-version</title>
<subtitle>github.com: pypa/setuptools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/'/>
<entry>
<title>Merge branch 'main' into debt/remove-legacy-version</title>
<updated>2021-11-14T22:41:08+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-11-14T22:41:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=5b75de07169ef13952a5ab48e0b8bc15f31d0c37'/>
<id>5b75de07169ef13952a5ab48e0b8bc15f31d0c37</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use warning instead of log for distutils command</title>
<updated>2021-11-05T14:14:29+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2021-11-05T14:14:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=e2220331136c3a60b8d70a6b4eaad05816c9b637'/>
<id>e2220331136c3a60b8d70a6b4eaad05816c9b637</id>
<content type='text'>
As discussed in #2855, using an actual warning instead of the logger
allow users to control what gets displayed via warning filters.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As discussed in #2855, using an actual warning instead of the logger
allow users to control what gets displayed via warning filters.
</pre>
</div>
</content>
</entry>
<entry>
<title>Handle custom build_py inheriting from distutils</title>
<updated>2021-11-04T13:08:16+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2021-11-04T12:30:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=08235e88d10179c89ed80a4dd9bf2d18c76b478d'/>
<id>08235e88d10179c89ed80a4dd9bf2d18c76b478d</id>
<content type='text'>
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.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove data_files avoidance code.</title>
<updated>2021-11-03T01:39:32+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-11-03T01:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=b8ad7d2ca1abc59e42e63ecf484036d021a2e19c'/>
<id>b8ad7d2ca1abc59e42e63ecf484036d021a2e19c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Reformat docstring and rewrite in imperative voice.</title>
<updated>2021-11-03T01:39:32+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-11-03T00:54:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=2d38be3259311220d069996b3a906f171dfddafc'/>
<id>2d38be3259311220d069996b3a906f171dfddafc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix 1461: Better loop breaker for `manifest_maker`</title>
<updated>2021-11-01T20:50:58+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2021-11-01T19:47:33+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=2e66eb7147ae1e8a799b2276c7340f48f63a7220'/>
<id>2e66eb7147ae1e8a799b2276c7340f48f63a7220</id>
<content type='text'>
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).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
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).
</pre>
</div>
</content>
</entry>
<entry>
<title>Deprecate setup.py install and easy_install. Ref #917.</title>
<updated>2021-10-22T19:27:51+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-10-22T19:27:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=fc5c3083908170e1cbfd1dec91f87a3e2707e3fa'/>
<id>fc5c3083908170e1cbfd1dec91f87a3e2707e3fa</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge branch 'main' into debt/remove-legacy-version</title>
<updated>2021-10-22T15:48:14+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-10-22T15:48:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=13c55c0cee1351c88551bf081ae56ed3e60b4493'/>
<id>13c55c0cee1351c88551bf081ae56ed3e60b4493</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2758 from nsait-linaro/win_arm64_launchers</title>
<updated>2021-10-02T02:18:58+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-10-02T02:18:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=8519d4e5cee54885761200a4b90204944d3ef729'/>
<id>8519d4e5cee54885761200a4b90204944d3ef729</id>
<content type='text'>
Fixes 2757: Add win/arm64 launchers to create arm64 executables</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fixes 2757: Add win/arm64 launchers to create arm64 executables</pre>
</div>
</content>
</entry>
<entry>
<title>sdist: Accept -u/--owner and -g/--group options</title>
<updated>2021-09-22T21:58:46+00:00</updated>
<author>
<name>John Marshall</name>
<email>jmarshall@hey.com</email>
</author>
<published>2021-09-22T20:51:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=576dece3643485052ba90fdadc81dfcf6028acc4'/>
<id>576dece3643485052ba90fdadc81dfcf6028acc4</id>
<content type='text'>
Controlling the file ownership recorded in tar archives is useful for
those striving towards reproducible builds. These options are already
understood by distutils.command.sdist.sdist, so just need to be accepted
by setuptools.command.sdist.sdist to be propagated.

Fixes #1893.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Controlling the file ownership recorded in tar archives is useful for
those striving towards reproducible builds. These options are already
understood by distutils.command.sdist.sdist, so just need to be accepted
by setuptools.command.sdist.sdist to be propagated.

Fixes #1893.
</pre>
</div>
</content>
</entry>
</feed>
