<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/setuptools/tests/test_build_meta.py, branch v41.2.0</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>build_meta: fix 2 issues with `build_wheel` / `build_sdist`</title>
<updated>2019-04-22T21:02:33+00:00</updated>
<author>
<name>Benoit Pierre</name>
<email>benoit.pierre@gmail.com</email>
</author>
<published>2019-04-22T20:18:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=5f88c42f3b4529956e4d02453ae571e32bc4692a'/>
<id>5f88c42f3b4529956e4d02453ae571e32bc4692a</id>
<content type='text'>
Fix the following cases:

* `build_sdist` is called with another sdist already present
  in the destination directory

* `build_wheel` is called with the destination directory not
  already created
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix the following cases:

* `build_sdist` is called with another sdist already present
  in the destination directory

* `build_wheel` is called with the destination directory not
  already created
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #1745 from shashanksingh28/master</title>
<updated>2019-04-22T15:52:09+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>pganssle@users.noreply.github.com</email>
</author>
<published>2019-04-22T15:52:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=50a41c7005c81024cf66fcd1d940fd168dc4a83d'/>
<id>50a41c7005c81024cf66fcd1d940fd168dc4a83d</id>
<content type='text'>
Fix error with PEP 517 builds when wheel exists (GH #1761)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix error with PEP 517 builds when wheel exists (GH #1761)</pre>
</div>
</content>
</entry>
<entry>
<title>Limit workers in ProcessPoolExecutor</title>
<updated>2019-04-22T15:17:21+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-04-22T15:05:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=127c8c74dead715b67a66eed86c420fe7b31ea3b'/>
<id>127c8c74dead715b67a66eed86c420fe7b31ea3b</id>
<content type='text'>
As a mitigation for #1730, this commit limits the number of workers in
the ProcessPoolExecutor to 1 (default is the number of CPUs). On PyPy,
having a higher number of available workers dramatically increases the
number of concurrent processes, leading to some resource exhaustion
issues.

This does not address the root issue, but should improve the situation
until the root issue is addressed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
As a mitigation for #1730, this commit limits the number of workers in
the ProcessPoolExecutor to 1 (default is the number of CPUs). On PyPy,
having a higher number of available workers dramatically increases the
number of concurrent processes, leading to some resource exhaustion
issues.

This does not address the root issue, but should improve the situation
until the root issue is addressed.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix error when wheels already exist in dist/</title>
<updated>2019-04-22T14:19:28+00:00</updated>
<author>
<name>Shashank Singh</name>
<email>shashanksingh28@gmail.com</email>
</author>
<published>2019-04-21T03:24:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=901f7cc2a036bfeb93bfbe480608e04c76c2c5ec'/>
<id>901f7cc2a036bfeb93bfbe480608e04c76c2c5ec</id>
<content type='text'>
`build_meta.build_wheel` assumes that the only wheel in its output
directory is the one it builds, but prior to this, it also used the
`dist/` folder as its working output directory. This commit uses a
temporary directory instead, preventing an error that was triggered when
previously-generated wheel files were still sitting in `dist/`.

Fixes GH #1671
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`build_meta.build_wheel` assumes that the only wheel in its output
directory is the one it builds, but prior to this, it also used the
`dist/` folder as its working output directory. This commit uses a
temporary directory instead, preventing an error that was triggered when
previously-generated wheel files were still sitting in `dist/`.

Fixes GH #1671
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for pre-existing wheels in build_meta</title>
<updated>2019-04-21T00:16:55+00:00</updated>
<author>
<name>Floris Lambrechts</name>
<email>florisla@gmail.com</email>
</author>
<published>2019-03-26T08:08:33+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=869c634880f24b918ca074588b625b9dce2038b2'/>
<id>869c634880f24b918ca074588b625b9dce2038b2</id>
<content type='text'>
Currently, this will fail because setuptools.build_meta.build_wheel
assumes that no wheels already exist in the `dist/` directory.

See GH #1671
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently, this will fail because setuptools.build_meta.build_wheel
assumes that no wheels already exist in the `dist/` directory.

See GH #1671
</pre>
</div>
</content>
</entry>
<entry>
<title>Extend requirement parsing tests to sdists</title>
<updated>2019-03-16T16:58:29+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-03-16T16:57:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=b54d4c699fc4e1692dadd19bdd7cbcde1c844976'/>
<id>b54d4c699fc4e1692dadd19bdd7cbcde1c844976</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add requirement parsing in setuptools.build_meta</title>
<updated>2019-03-16T16:58:29+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-03-16T16:53:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=318f739d14a810042e6803fa3eb4c4e140f0ef88'/>
<id>318f739d14a810042e6803fa3eb4c4e140f0ef88</id>
<content type='text'>
This fixes GH #1682 by porting the pkg_resources requirement parsing
logic into setuptools.build_meta, so that all valid requirement
specifiers passed to setup_requires will be added to the
get_requires_for_build_* function outputs.

Fixes GH #1682
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes GH #1682 by porting the pkg_resources requirement parsing
logic into setuptools.build_meta, so that all valid requirement
specifiers passed to setup_requires will be added to the
get_requires_for_build_* function outputs.

Fixes GH #1682
</pre>
</div>
</content>
</entry>
<entry>
<title>Add failing test for setup_requires</title>
<updated>2019-03-16T16:58:29+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-03-16T16:28:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=1aa781cd8ee638e7b403ebbd1caa82f8c7d4e6cd'/>
<id>1aa781cd8ee638e7b403ebbd1caa82f8c7d4e6cd</id>
<content type='text'>
Per GH #1682, with setuptools.build_meta we are not properly handling
the situation where setup_requires is actually a newline-delimited
string rather than a list, which is supported by setup.py interface.

This adds several failing (and some passing) tests for how
setup_requires is handled by setuptools.build_meta.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per GH #1682, with setuptools.build_meta we are not properly handling
the situation where setup_requires is actually a newline-delimited
string rather than a list, which is supported by setup.py interface.

This adds several failing (and some passing) tests for how
setup_requires is handled by setuptools.build_meta.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for setup.cfg-only projects</title>
<updated>2019-02-07T13:08:14+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-01-31T13:29:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=179115b198387a21202433ea61cc53f2efd383fc'/>
<id>179115b198387a21202433ea61cc53f2efd383fc</id>
<content type='text'>
Many projects can get away with an empty `setup.py` and use *only* the
declarative `setup.cfg`. With the new PEP 517 backend, we can supply a
default empty `setup.py` if one is not provided.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Many projects can get away with an empty `setup.py` and use *only* the
declarative `setup.cfg`. With the new PEP 517 backend, we can supply a
default empty `setup.py` if one is not provided.
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename build_meta:legacy to build_meta:__legacy__</title>
<updated>2019-02-05T13:42:36+00:00</updated>
<author>
<name>Paul Ganssle</name>
<email>paul@ganssle.io</email>
</author>
<published>2019-02-05T13:42:36+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/python-setuptools-git.git/commit/?id=e04a41e3129fa9945e15b16fd6d65cc212c1d946'/>
<id>e04a41e3129fa9945e15b16fd6d65cc212c1d946</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
