-
Notifications
You must be signed in to change notification settings - Fork 74
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 /> [](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 /> [](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>
…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 /> [](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 /> [](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 /> [](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 /> [](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>
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 /> [](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>
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: