<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/setuptools/command/sdist.py, branch v67.3.2</title>
<subtitle>github.com: pypa/setuptools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/'/>
<entry>
<title>sdist: Add files from build subcommands (get_source_files)</title>
<updated>2022-06-25T13:12:06+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2022-06-24T18:53:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=c675d781f89f2057c8e5e0e53896adf468cfbac1'/>
<id>c675d781f89f2057c8e5e0e53896adf468cfbac1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Migrate remainder of 'iter_entry_points' to importlib_metadata.</title>
<updated>2022-02-06T18:38:30+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2022-02-06T16:20:38+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=ff3447a694f3b08dae8bd5268e64aa43f05a47a9'/>
<id>ff3447a694f3b08dae8bd5268e64aa43f05a47a9</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://git.baserock.org/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>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://git.baserock.org/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>
<entry>
<title>Add License-File field to package metadata</title>
<updated>2021-05-22T23:42:43+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-04-17T18:48:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=3544de73b3662a27fac14d8eb9f5c841668d66de'/>
<id>3544de73b3662a27fac14d8eb9f5c841668d66de</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Small changes</title>
<updated>2021-04-03T19:34:00+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-04-03T19:34:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=608c376e86326c879dd52b56660b2247a3ca854e'/>
<id>608c376e86326c879dd52b56660b2247a3ca854e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Change deprecation warning</title>
<updated>2021-04-03T19:13:18+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-03-28T15:34:01+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=0f34639e5aa630b8cbe32af9cfe8dfec7be890e7'/>
<id>0f34639e5aa630b8cbe32af9cfe8dfec7be890e7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>license_files - Add support for glob patterns + add default patterns</title>
<updated>2021-04-03T19:13:18+00:00</updated>
<author>
<name>Marc Mueller</name>
<email>30130371+cdce8p@users.noreply.github.com</email>
</author>
<published>2021-03-28T11:37:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=749b97499ea36d9a7660ed73db622837ae64c57d'/>
<id>749b97499ea36d9a7660ed73db622837ae64c57d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove Python 2 compatibility</title>
<updated>2020-08-16T11:15:18+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2020-08-16T04:29:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=fb7ab81a3d080422687bad71f9ae9d36eeefbee2'/>
<id>fb7ab81a3d080422687bad71f9ae9d36eeefbee2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix for Python 4: replace unsafe six.PY3 with PY2</title>
<updated>2020-01-08T17:10:11+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2020-01-08T17:10:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=796abd8dbec884cedf326cb5f85512a5d5648c4e'/>
<id>796abd8dbec884cedf326cb5f85512a5d5648c4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
