<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/setuptools/config/expand.py, branch dev/simplified_wheelbuilder</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>Use new warnings in setuptools/config/expand.py</title>
<updated>2023-03-07T21:06:29+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2023-03-06T20:59:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=27cfcd126e05b1e5c8413aa57d06df81cebfdeb5'/>
<id>27cfcd126e05b1e5c8413aa57d06df81cebfdeb5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge PRs #3636 #3634 #3633 #3595 #3576 #3569 #3564</title>
<updated>2022-10-14T11:00:03+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2022-10-14T11:00:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=a55b024319679c016ab687777d7da41a06d16c6f'/>
<id>a55b024319679c016ab687777d7da41a06d16c6f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use pathlib to open the file</title>
<updated>2022-09-29T23:39:22+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2022-09-29T23:39:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=fb62784d242fdeb38d06c4d1d8277c25775e7fca'/>
<id>fb62784d242fdeb38d06c4d1d8277c25775e7fca</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>expand: Give bytes to ast.parse to let it discover encoding cookie.</title>
<updated>2022-09-27T15:00:53+00:00</updated>
<author>
<name>Julien Palard</name>
<email>julien@palard.fr</email>
</author>
<published>2022-09-27T13:56:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=b35394aca15a51ff6fb44943c9f9530c68e685c4'/>
<id>b35394aca15a51ff6fb44943c9f9530c68e685c4</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use abspath() instead of resolve() in expand._assert_local()</title>
<updated>2022-09-23T00:16:31+00:00</updated>
<author>
<name>Mike Salvatore</name>
<email>mike.s.salvatore@gmail.com</email>
</author>
<published>2022-09-23T00:16:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=063aecddad96472c905edddaf8fe1ed03a37df18'/>
<id>063aecddad96472c905edddaf8fe1ed03a37df18</id>
<content type='text'>
4249da1ecf uses `pathlib.Path.resolve()` instead of `os.path.abspath()`
to canonicalize path names. `resolve()` resolves symlinks, whereas
`abspath()` does not. `resolve()` can also raise a `RuntimeError` if
infinite loops are discovered while resolving the path. There is some
concern that using `resolve()` would not be backwards compatible. This
commit switches back to `abspath()` but still uses `Path.parents` to
avoid the edge case. See PR #3595 for more details.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
4249da1ecf uses `pathlib.Path.resolve()` instead of `os.path.abspath()`
to canonicalize path names. `resolve()` resolves symlinks, whereas
`abspath()` does not. `resolve()` can also raise a `RuntimeError` if
infinite loops are discovered while resolving the path. There is some
concern that using `resolve()` would not be backwards compatible. This
commit switches back to `abspath()` but still uses `Path.parents` to
avoid the edge case. See PR #3595 for more details.
</pre>
</div>
</content>
</entry>
<entry>
<title>Catch an edge case in expand._assert_local()</title>
<updated>2022-09-18T23:30:03+00:00</updated>
<author>
<name>Mike Salvatore</name>
<email>mike.s.salvatore@gmail.com</email>
</author>
<published>2022-09-18T23:30:03+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=4249da1ecfaca9541d64f0d3c7f08fb22e73e3b9'/>
<id>4249da1ecfaca9541d64f0d3c7f08fb22e73e3b9</id>
<content type='text'>
Using str.startswith() has an edge case where someone can access files
outside the root directory. For example, consider the case where the
root directory is "/home/user/my-package" but some secrets are stored in
"/home/user/my-package-secrets". Evaluating a check that
"/home/user/my-package-secrets".startswith("/home/user/my-package") will
return True, but the statement's intention is that no file outside of
"/home/user/my-package" can be accessed.

Using pathlib.Path.resolve() and pathlib.Path.parents eliminates this
edge case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Using str.startswith() has an edge case where someone can access files
outside the root directory. For example, consider the case where the
root directory is "/home/user/my-package" but some secrets are stored in
"/home/user/my-package-secrets". Evaluating a check that
"/home/user/my-package-secrets".startswith("/home/user/my-package") will
return True, but the statement's intention is that no file outside of
"/home/user/my-package" can be accessed.

Using pathlib.Path.resolve() and pathlib.Path.parents eliminates this
edge case.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge remote-tracking branch 'upstream/main' into feature/pep660</title>
<updated>2022-06-24T12:29:57+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2022-06-24T12:29:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=8832db2030f67f72a3f9210cb0484538aba8fd38'/>
<id>8832db2030f67f72a3f9210cb0484538aba8fd38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>build_meta: Allow dist-info and egg-info to coexist</title>
<updated>2022-06-21T10:37:13+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2022-06-21T10:09:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=fd5fcbb1ec200ba2b0c657628a591ce2255998e3'/>
<id>fd5fcbb1ec200ba2b0c657628a591ce2255998e3</id>
<content type='text'>
PEP 517 does not care if other directories/files are left behind in the
`metadata_directory`, as long as a `.dist_info` directory is produced at
the root. We can leave the `.egg-info` directory behind, so this way
we don't have to run it again when listing files from `build_py`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PEP 517 does not care if other directories/files are left behind in the
`metadata_directory`, as long as a `.dist_info` directory is produced at
the root. We can leave the `.egg-info` directory behind, so this way
we don't have to run it again when listing files from `build_py`.
</pre>
</div>
</content>
</entry>
<entry>
<title>config.expand.StaticModule: handle scenarios when annotated assignment does not have a value</title>
<updated>2022-06-19T07:32:10+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2022-06-19T07:21:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=0b1d090e48b16bff59e6e9e1d33b0d6dca65a7ee'/>
<id>0b1d090e48b16bff59e6e9e1d33b0d6dca65a7ee</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>config.expand: Refactor StaticModule</title>
<updated>2022-06-19T07:32:10+00:00</updated>
<author>
<name>Anderson Bravalheri</name>
<email>andersonbravalheri@gmail.com</email>
</author>
<published>2022-06-19T07:19:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=6384f26597800c89e5605931a306fbb68127ce13'/>
<id>6384f26597800c89e5605931a306fbb68127ce13</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
