-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Building Cython extension on Windows triggers TypeError #268
Comments
If I am not mistaken the @daniel-larraz what is the return value of |
The return value of |
I assume you are using the official CPython build? Due to 2ad8784 I guess. Previously customize_compiler() was skipped in that setup. Two options:
I personally tend towards (2). (this could be moved to distutils) |
Yes, I'm using the official CPython build. |
@jaraco would it be possible to transfer this issue to @naveen521kk, would it be possible to help with this problem (as a potential unintended consequence of #184)? |
I can reproduce the error locally, by patching the distutils test suite to default to GCC even for msvc CPython. The test suite passes otherwise.
|
By enabling customize_compiler() when using the mingw compiler class in 2ad8784 this also enabled it for when the mingw compiler class was used with a MSVC built CPython. MSVC CPython doesn't have any of the config vars that are required in customize_compiler() though. And while it would be nice if all the env vars would be considered in that scenario too, it's not clear how this should be implemented without any sysconfig provided fallbacks (if CC isn't set but CFLAGS is, there is no way to pass things to set_executables() etc.) Given that, just restore the previous behaviour, skip customize_compiler() with MSVC Python in all cases, and add a test. Fixes https://github.com/pypa/setuptools/issues/4456
I've created #267 I went with option (1), since (2) turned out to be not possible without major changes. |
+1 |
* Fix Typo: Default Polarization * Clarify from_nmp docstring Make clear how the default impedance is determined * change requirements to force numpy<2.0 * Prepare for cibuildwheels * avoid tests incompatible to package name `treams-dev` * Update CIBuildWheel * Continue even if windows build fails * Cibuildwheels v2.14.1 * Cibuildwheel v2.16.5 * Roll Back to upload-artifact@v3 * Also downgrade download_artifact * testing: build only for windows * reintroduce failing tests but finish build despite failing tests * pin setuptools to avoid bug https://github.com/pypa/setuptools/issues/4456 * use cross platform way to set error code to 0 for tests to continue building despite failing tests * Prepare for merge * Build against numpy 2.0 * Unconstrain numpy for py3.8 compatibility (still numpy 2.0 compatible)
I saw this then lost track of it. I've transferred it now. We should figure out how to give @abravalheri access to transfer (I did not realize it had not already been granted). |
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=70.2.0&new-version=70.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=70.2.0&new-version=70.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> <h1>v70.2.0</h1> <h2>Features</h2> <ul> <li>Updated distutils including significant changes to support Cygwin and mingw compilers. (<a href="https://redirect.github.com/pypa/setuptools/issues/4444">#4444</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Fix distribution name normalisation (:pep:<code>625</code>) for valid versions that are not canonical (e.g. <code>1.0-2</code>). (<a href="https://redirect.github.com/pypa/setuptools/issues/4434">#4434</a>)</li> </ul> <h1>v70.1.1</h1> <h2>Misc</h2> <ul> <li><a href="https://redirect.github.com/pypa/setuptools/issues/4429">#4429</a></li> </ul> <h1>v70.1.0</h1> <h2>Features</h2> <ul> <li> <p>Adopted the <code>bdist_wheel</code> command from the <code>wheel</code> project -- by :user:<code>agronholm</code> (<a href="https://redirect.github.com/pypa/setuptools/issues/1386">#1386</a>)</p> </li> <li> <p>Improve error message when <code>pkg_resources.ZipProvider</code> tries to extract resources with a missing Egg -- by :user:<code>Avasam</code></p> <p>Added variables and parameter type annotations to <code>pkg_resources</code> to be nearly on par with typeshed.* -- by :user:<code>Avasam</code></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
…in /packages/@jsii/python-runtime (#4570) Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> <h1>v70.2.0</h1> <h2>Features</h2> <ul> <li>Updated distutils including significant changes to support Cygwin and mingw compilers. (<a href="https://redirect.github.com/pypa/setuptools/issues/4444">#4444</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Fix distribution name normalisation (:pep:<code>625</code>) for valid versions that are not canonical (e.g. <code>1.0-2</code>). (<a href="https://redirect.github.com/pypa/setuptools/issues/4434">#4434</a>)</li> </ul> <h1>v70.1.1</h1> <h2>Misc</h2> <ul> <li><a href="https://redirect.github.com/pypa/setuptools/issues/4429">#4429</a></li> </ul> <h1>v70.1.0</h1> <h2>Features</h2> <ul> <li> <p>Adopted the <code>bdist_wheel</code> command from the <code>wheel</code> project -- by :user:<code>agronholm</code> (<a href="https://redirect.github.com/pypa/setuptools/issues/1386">#1386</a>)</p> </li> <li> <p>Improve error message when <code>pkg_resources.ZipProvider</code> tries to extract resources with a missing Egg -- by :user:<code>Avasam</code></p> <p>Added variables and parameter type annotations to <code>pkg_resources</code> to be nearly on par with typeshed.* -- by :user:<code>Avasam</code></p> </li> </ul> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [setuptools](https://github.com/pypa/setuptools) from 68.2.2 to 70.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> <h1>v70.2.0</h1> <h2>Features</h2> <ul> <li>Updated distutils including significant changes to support Cygwin and mingw compilers. (<a href="https://redirect.github.com/pypa/setuptools/issues/4444">#4444</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Fix distribution name normalisation (:pep:<code>625</code>) for valid versions that are not canonical (e.g. <code>1.0-2</code>). (<a href="https://redirect.github.com/pypa/setuptools/issues/4434">#4434</a>)</li> </ul> <h1>v70.1.1</h1> <h2>Misc</h2> <ul> <li><a href="https://redirect.github.com/pypa/setuptools/issues/4429">#4429</a></li> </ul> <h1>v70.1.0</h1> <h2>Features</h2> <ul> <li> <p>Adopted the <code>bdist_wheel</code> command from the <code>wheel</code> project -- by :user:<code>agronholm</code> (<a href="https://redirect.github.com/pypa/setuptools/issues/1386">#1386</a>)</p> </li> <li> <p>Improve error message when <code>pkg_resources.ZipProvider</code> tries to extract resources with a missing Egg -- by :user:<code>Avasam</code></p> <p>Added variables and parameter type annotations to <code>pkg_resources</code> to be nearly on par with typeshed.* -- by :user:<code>Avasam</code></p> </li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v68.2.2...v70.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=68.2.2&new-version=70.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/wearepal/ranzen/network/alerts). </details>
…ests (#11021) Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=70.2.0&new-version=70.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) Dependabot will merge this PR once CI passes on it, as requested by @jaredlockhart. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ests (#11021) Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=70.2.0&new-version=70.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) Dependabot will merge this PR once CI passes on it, as requested by @jaredlockhart. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ests (#11021) Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=70.2.0&new-version=70.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) Dependabot will merge this PR once CI passes on it, as requested by @jaredlockhart. [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v71.0.1</h1> <h2>Bugfixes</h2> <ul> <li>Restored package data that went missing in 71.0. This change also incidentally causes tests to be installed once again. (<a href="https://redirect.github.com/pypa/setuptools/issues/4475">#4475</a>)</li> </ul> <h1>v71.0.0</h1> <h2>Deprecations and Removals</h2> <ul> <li>Now setuptools declares its own dependencies in the <code>core</code> extra. Dependencies are still vendored for bootstrapping purposes, but setuptools will prefer installed dependencies if present. The <code>core</code> extra is used for informational purposes and should <em>not</em> be declared in package metadata (e.g. <code>build-requires</code>). Downstream packagers can de-vendor by simply removing the <code>setuptools/_vendor</code> directory. (<a href="https://redirect.github.com/pypa/setuptools/issues/2825">#2825</a>)</li> </ul> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> <h1>v70.2.0</h1> <h2>Features</h2> <ul> <li>Updated distutils including significant changes to support Cygwin and mingw compilers. (<a href="https://redirect.github.com/pypa/setuptools/issues/4444">#4444</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li>Fix distribution name normalisation (:pep:<code>625</code>) for valid versions that are not canonical (e.g. <code>1.0-2</code>). (<a href="https://redirect.github.com/pypa/setuptools/issues/4434">#4434</a>)</li> </ul> <p>v70.1.1</p> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/f2a6bb190202577595a45ceebdedb0016b7cf864"><code>f2a6bb1</code></a> Bump version: 71.0.0 → 71.0.1</li> <li><a href="https://github.com/pypa/setuptools/commit/87afa4b8c448dbd76905d05589698be56d2b3f2b"><code>87afa4b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4479">#4479</a> from pypa/bugfix/4475-all-the-files</li> <li><a href="https://github.com/pypa/setuptools/commit/cf298e76bae4781ca4a1a85e7bb8ea6c8f260611"><code>cf298e7</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/75116176d417bcb65033da0373432d6d8086ab37"><code>7511617</code></a> Mark the file as xfail for now.</li> <li><a href="https://github.com/pypa/setuptools/commit/9f07e225b6e283bb5c9497518ad59ed104181d34"><code>9f07e22</code></a> Remove test as it's redundant to the check in test_its_own_wheel_does_not_con...</li> <li><a href="https://github.com/pypa/setuptools/commit/5be48b997dc49f9c75f6615cb5bfab2d15323104"><code>5be48b9</code></a> Add test asserting cli scripts are included in wheel.</li> <li><a href="https://github.com/pypa/setuptools/commit/1a52f11e3c28b3776a5d5184c536a280f7061acd"><code>1a52f11</code></a> Revert "Disable inclusion of package data as it causes 'tests' to be included...</li> <li><a href="https://github.com/pypa/setuptools/commit/8482e6b2a75ba5b74d2cb88c85383b6dcb7c5f94"><code>8482e6b</code></a> Revert "Ensure that package data from vendored packages gets installed."</li> <li><a href="https://github.com/pypa/setuptools/commit/aa41ab5de437a96bd62f31c1c1fe5633850e80f4"><code>aa41ab5</code></a> Pin Sphinx to <7.4 as workaround for <a href="https://redirect.github.com/sphinx-doc/sphinx/issues/12613">sphinx-doc/sphinx#12613</a>. Closes <a href="https://redirect.github.com/pypa/setuptools/issues/4474">#4474</a>.</li> <li><a href="https://github.com/pypa/setuptools/commit/9c53695500f496d91ba372e61668392d01a68a97"><code>9c53695</code></a> Update intersphinx link to point to redirected target.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.3.0...v71.0.1">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
Bumps [setuptools](https://github.com/pypa/setuptools) from 70.2.0 to 70.3.0. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/356e9a00c4f04c1c6cf76a4a5f97325d0ab4df46"><code>356e9a0</code></a> Bump version: 70.2.0 → 70.3.0</li> <li><a href="https://github.com/pypa/setuptools/commit/822280ba9992bed7ca4bb314d24e6344478be379"><code>822280b</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4463">#4463</a> from pypa/bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/c4e64c194285e73895a858fa226cd5225beebfed"><code>c4e64c1</code></a> Add news fragment.</li> <li><a href="https://github.com/pypa/setuptools/commit/b01183c19952625d7461ab5c8cb0a07c39c98c9e"><code>b01183c</code></a> Merge <a href="https://github.com/pypa/distutils">https://github.com/pypa/distutils</a> into bugfix/distutils-34f9518ef</li> <li><a href="https://github.com/pypa/setuptools/commit/e221581f8023b5c7b8d54a78ef80edadcac55d24"><code>e221581</code></a> Merge pull request <a href="https://redirect.github.com/pypa/distutils/issues/267">pypa/distutils#267</a> from msys2-contrib/customize_compiler_m...</li> <li><a href="https://github.com/pypa/setuptools/commit/34f9518ef5b50d546893fc29386d4d11866dd9db"><code>34f9518</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4410">#4410</a> from pypa/debt/4137-deprecate-distutils-stdlib</li> <li><a href="https://github.com/pypa/setuptools/commit/bacd9c6f92ed1926644f5743d7139d16ee65801b"><code>bacd9c6</code></a> sysconfig: skip customize_compiler() with MSVC Python again</li> <li><a href="https://github.com/pypa/setuptools/commit/4a3406baf94b1ef8122364b417c9564344a52921"><code>4a3406b</code></a> CI: also set CC/CXX when pip installing with mingw+clang</li> <li><a href="https://github.com/pypa/setuptools/commit/e9f0be98ea4faaba4a7b2d07ba994a81fde8f42f"><code>e9f0be9</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4453">#4453</a> from pypa/drop-gitignore</li> <li><a href="https://github.com/pypa/setuptools/commit/70cda3d1e8bb8a9602256f235c9a023934dd6065"><code>70cda3d</code></a> Use '.yml' for consistency.</li> <li>Additional commits viewable in <a href="https://github.com/pypa/setuptools/compare/v70.2.0...v70.3.0">compare view</a></li> </ul> </details> <br /> [![Dependabot compatibility score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=setuptools&package-manager=pip&previous-version=70.2.0&new-version=70.3.0)](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Updates the requirements on [setuptools](https://github.com/pypa/setuptools) to permit the latest version. <details> <summary>Changelog</summary> <p><em>Sourced from <a href="https://github.com/pypa/setuptools/blob/main/NEWS.rst">setuptools's changelog</a>.</em></p> <blockquote> <h1>v71.0.3</h1> <h2>Bugfixes</h2> <ul> <li>Reset the backports module when enabling vendored packages. (<a href="https://redirect.github.com/pypa/setuptools/issues/4476">#4476</a>)</li> </ul> <h1>v71.0.2</h1> <h2>Bugfixes</h2> <ul> <li>Include all vendored files in the sdist. (<a href="https://redirect.github.com/pypa/setuptools/issues/4480">#4480</a>)</li> </ul> <h1>v71.0.1</h1> <h2>Bugfixes</h2> <ul> <li>Restored package data that went missing in 71.0. This change also incidentally causes tests to be installed once again. (<a href="https://redirect.github.com/pypa/setuptools/issues/4475">#4475</a>)</li> </ul> <h1>v71.0.0</h1> <h2>Deprecations and Removals</h2> <ul> <li>Now setuptools declares its own dependencies in the <code>core</code> extra. Dependencies are still vendored for bootstrapping purposes, but setuptools will prefer installed dependencies if present. The <code>core</code> extra is used for informational purposes and should <em>not</em> be declared in package metadata (e.g. <code>build-requires</code>). Downstream packagers can de-vendor by simply removing the <code>setuptools/_vendor</code> directory. Since Setuptools now prefers installed dependencies, those installing to an environment with old, incompatible dependencies will not work. In that case, either uninstall the incompatible dependencies or upgrade them to satisfy those declared in <code>core</code>. (<a href="https://redirect.github.com/pypa/setuptools/issues/2825">#2825</a>)</li> </ul> <h1>v70.3.0</h1> <h2>Features</h2> <ul> <li>Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (<a href="https://redirect.github.com/pypa/setuptools/issues/4137">#4137</a>)</li> </ul> <h2>Bugfixes</h2> <ul> <li><code>pypa/distutils#268</code></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/pypa/setuptools/commit/6d915ca1b67d43609714a70bff23526a362dd0f1"><code>6d915ca</code></a> Bump version: 71.0.2 → 71.0.3</li> <li><a href="https://github.com/pypa/setuptools/commit/fddda3729a830a7fcf00e36ddea18cf962b5d901"><code>fddda37</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4486">#4486</a> from pypa/bugfix/4476-reset-backports</li> <li><a href="https://github.com/pypa/setuptools/commit/299d27655f3f3a06d698b9ae06a3e3ad13943e81"><code>299d276</code></a> Reset the backports module when enabling vendored packages.</li> <li><a href="https://github.com/pypa/setuptools/commit/17b735a260dc6e51cce1edbeb21eaaa5a32ef188"><code>17b735a</code></a> Bump version: 71.0.1 → 71.0.2</li> <li><a href="https://github.com/pypa/setuptools/commit/5a59af42a922bb4bb4c291fd1acc7f0991db36ef"><code>5a59af4</code></a> Merge pull request <a href="https://redirect.github.com/pypa/setuptools/issues/4485">#4485</a> from pypa/bugfix/4480-vendored-metadata</li> <li><a href="https://github.com/pypa/setuptools/commit/65e00b6e96c531c2b0be023475bb956ebc976c39"><code>65e00b6</code></a> Include all vendored files in the sdist.</li> <li><a href="https://github.com/pypa/setuptools/commit/284e8afc5a481a1ac40405111058421a0c68c683"><code>284e8af</code></a> Add a failing test covering the missed expectation.</li> <li><a href="https://github.com/pypa/setuptools/commit/ea5ce1a2e1406a51bd235c8afd854716d4b8a775"><code>ea5ce1a</code></a> Update changelog to reflect common experience seen in <a href="https://redirect.github.com/pypa/setuptools/issues/4478">#4478</a> and <a href="https://redirect.github.com/pypa/setuptools/issues/4483">#4483</a>.</li> <li>See full diff in <a href="https://github.com/pypa/setuptools/compare/v71.0.1...v71.0.3">compare view</a></li> </ul> </details> <br /> Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details>
v70.3.0 ======= Features -------- - Support for loading distutils from the standard library is now deprecated, including use of SETUPTOOLS_USE_DISTUTILS=stdlib and importing distutils before importing setuptools. (#4137) Bugfixes -------- - Bugfix for building Cython extension on Windows (pypa/distutils#268).
fyi @daniel-larraz the recently released v72.2.0 had some changes (#274) potentially affecting your setup. Let me know if there are any issues. There are tests in CI now though, so hopefully not :) |
@lazka Thanks for the heads up! I’ll let you know if I encounter any issues. |
setuptools version
setuptools==70.2.0
Python version
Python 3.12
OS
Windows
Additional environment information
MSYS2 MINGW64
Description
Version 70.2.0 triggers a
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
when building a Cython extension on Windows using MSYS2 MINGW64. Previous versions of setuptools work fine.Expected behavior
The Cython extension should build successfully without any errors.
How to Reproduce
helloworld.pyx
,setup.py
, andsetup.cfg
:C:\path\to\python.exe setup.py build_ext --inplace
Output
The text was updated successfully, but these errors were encountered: