<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/setuptools/monkey.py, branch dev/untangle_editable_wheel</title>
<subtitle>github.com: pypa/setuptools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/'/>
<entry>
<title>Improve atomicity when writing PKG-INFO</title>
<updated>2023-05-03T13:09:17+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2023-05-03T12:18:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=ae8ec5c3f4cfc7f14783b4dd58c436a7ba168138'/>
<id>ae8ec5c3f4cfc7f14783b4dd58c436a7ba168138</id>
<content type='text'>
For the time being, when `setuptools.build_meta` is called,
`egg_info.egg_base` is accidentally set to the project root between the
several calls to the different build hooks.

This means that if the hooks are called, they will try to overwrite
`setuptools.egg-info/PKG-INFO`, and for a very short interval of time it
will be an empty file.

Another process may then try to simultaneously use `importlib.metadata`
to list entry-points. However to sort entry-points, `importlib.metadata`
will try to read the `Name` field in the `PKG-INFO/METADATA` files and
will raise an error/warning if that file is empty.

This commit tries to use `os.replace` to avoid having an empty PKG-INFO
while `importlib.metadata` is used.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
For the time being, when `setuptools.build_meta` is called,
`egg_info.egg_base` is accidentally set to the project root between the
several calls to the different build hooks.

This means that if the hooks are called, they will try to overwrite
`setuptools.egg-info/PKG-INFO`, and for a very short interval of time it
will be an empty file.

Another process may then try to simultaneously use `importlib.metadata`
to list entry-points. However to sort entry-points, `importlib.metadata`
will try to read the `Name` field in the `PKG-INFO/METADATA` files and
will raise an error/warning if that file is empty.

This commit tries to use `os.replace` to avoid having an empty PKG-INFO
while `importlib.metadata` is used.
</pre>
</div>
</content>
</entry>
<entry>
<title>Extract core metadata logic into dedicated module</title>
<updated>2023-05-03T13:09:16+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2023-03-08T16:27:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=933db3395074ded71336ad813160ede2ec8fb437'/>
<id>933db3395074ded71336ad813160ede2ec8fb437</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove msvc hack for Numpy &lt; 1.11.2</title>
<updated>2023-01-21T08:27:16+00:00</updated>
<author>
<name>Michał Górny</name>
<email>mgorny@gentoo.org</email>
</author>
<published>2022-12-30T18:20:42+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=9f783ac0ac08dd51a2d6644a9e58d5e64c4a3b2a'/>
<id>9f783ac0ac08dd51a2d6644a9e58d5e64c4a3b2a</id>
<content type='text'>
Remove the msvc hack that was applied if numpy.distutils were loaded
prior to Numpy 1.11.2.  These versions date back to June 2016 and no
longer build with Python 3.7.  At the same time, the hack relies
on packaging.version.LegacyVersion that is removed in packaging 22.0.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Remove the msvc hack that was applied if numpy.distutils were loaded
prior to Numpy 1.11.2.  These versions date back to June 2016 and no
longer build with Python 3.7.  At the same time, the hack relies
on packaging.version.LegacyVersion that is removed in packaging 22.0.
</pre>
</div>
</content>
</entry>
<entry>
<title>remove python2 cases</title>
<updated>2022-08-25T18:48:09+00:00</updated>
<author>
<name>Stéphane Blondon</name>
<email>stephane.blondon@gmail.com</email>
</author>
<published>2022-08-25T18:47:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=ac7a0ddd49fc2a520dc498526e4feaebfbfeaadd'/>
<id>ac7a0ddd49fc2a520dc498526e4feaebfbfeaadd</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove monkeypatching of msvc9compiler. Fixes #3536</title>
<updated>2022-08-18T00:56:20+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2022-08-18T00:30:21+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=7ace3feb7340e2bc387c93745154a1ffab481e86'/>
<id>7ace3feb7340e2bc387c93745154a1ffab481e86</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://trove.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>Fixed typo</title>
<updated>2020-08-01T02:20:35+00:00</updated>
<author>
<name>Andrew Murray</name>
<email>3112309+radarhere@users.noreply.github.com</email>
</author>
<published>2020-08-01T02:20:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=6af765910c71ead64b0093ac51db7592d1ad238c'/>
<id>6af765910c71ead64b0093ac51db7592d1ad238c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Start patching DistributionMetadata.read_pkg_file</title>
<updated>2018-11-07T22:38:41+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-11-05T15:23:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=386fcdbe02c4170a560d67742f2ac1319430ff43'/>
<id>386fcdbe02c4170a560d67742f2ac1319430ff43</id>
<content type='text'>
This turns get_metadata_version into a method on DistributionMetadata,
populated either by inferrence (in the case of package metadata
specified in `setup`) or from the data in a specified PKG-INFO file.

To populate metadata_version from PKG-INFO, we need to monkey patch
read_pkg_file in addition to write_pkg_file.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This turns get_metadata_version into a method on DistributionMetadata,
populated either by inferrence (in the case of package metadata
specified in `setup`) or from the data in a specified PKG-INFO file.

To populate metadata_version from PKG-INFO, we need to monkey patch
read_pkg_file in addition to write_pkg_file.
</pre>
</div>
</content>
</entry>
<entry>
<title>Drop support for EOL Python 3.3</title>
<updated>2018-05-24T18:32:31+00:00</updated>
<author>
<name>Hugo</name>
<email>hugovk@users.noreply.github.com</email>
</author>
<published>2018-04-26T15:06:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=7392f01ffced3acfdef25b0b2d55cefdc6ee468a'/>
<id>7392f01ffced3acfdef25b0b2d55cefdc6ee468a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Stop patching write_pkg_info</title>
<updated>2018-03-18T15:43:00+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2018-03-18T15:43:00+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=a0723a66bf7950ee470971ac9931d751a7dd76f3'/>
<id>a0723a66bf7950ee470971ac9931d751a7dd76f3</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
