Dimitri Papadopoulos Orfanos

Results 835 comments of Dimitri Papadopoulos Orfanos

Actually, it looks like an architecture problem: ``` ImportError: dlopen(.../venv/lib/python3.8/site-packages/cmake_example.cpython-38-darwin.so, 0x0002): tried: '.../venv/lib/python3.8/site-packages/cmake_example.cpython-38-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e' or 'arm64')), '.../venv/lib/python3.8/site-packages/cmake_example.cpython-38-darwin.so' (no such file),...

Opened issue #1167 for the test failures on macOS ARM.

I'll try `macos-14`, which I expect to fail as well, and `macos-15-intel`, which I expect to pass.

Actually, `macos-14` does pass. So again it's specific to `macos-15`. I'll keep `macos-14` for now and make a note that it needs to be updated to `macos-latest`.

See also https://github.com/astral-sh/uv/issues/14017 (related to the `--compile-bytecode` option).

I don't think release notes are needed.

I have left the default value `"double"` of the [`quote-style`](https://docs.astral.sh/ruff/settings/#format_quote-style) setting of the ruff formatter. The reason is that the whole code base uses double quotes except for a few...

I still need to fix **Python wheels / Build sdist**.

I don't have Windows to test, but calling [GetLogicalProcessorInformation](https://learn.microsoft.com/en-us/windows/win32/api/sysinfoapi/nf-sysinfoapi-getlogicalprocessorinformation) through [ctypes](https://docs.python.org/fr/3.13/library/ctypes.html) should help get the cache sizes on Windows: ```python import ctypes GetLogicalProcessorInformation = ctypes.windll.kernel32.GetLogicalProcessorInformation ```

Likewise, the `MY102` failure on [abravalheri/validate-pyproject](https://github.com/abravalheri/validate-pyproject) looks like a false positive: https://learn.scientific-python.org/development/guides/repo-review/?repo=abravalheri%2Fvalidate-pyproject&branch=main [**validate-pyproject/pyproject.toml**](https://github.com/abravalheri/validate-pyproject/blob/e1aa94607ce086991e6b37b09cae3dfb3c623c8a/pyproject.toml#L10-L19) Lines 10 to 19 in [`e1aa946`](https://github.com/abravalheri/validate-pyproject/commit/e1aa94607ce086991e6b37b09cae3dfb3c623c8a) ```toml [tool.mypy] show_traceback = true strict = true # Scaling back...