Henry Schreiner
Henry Schreiner
Seems like this should be a find spec instead.
Nope, wheels are not allowed to run custom code on install. Partially security issue. The previous format (eggs) did.
Does this happen if you use pipx? I'm not using a shell where rehashes are needed.
For example: ```python def which_mock(name: str) -> str | None: if name == "cmake": return "cmake/path" return None def test_get_requires_for_build_wheel_settings(fp, monkeypatch): cmake = Path("cmake/path").resolve() monkeypatch.setattr(shutil, "which", which_mock) fp.register([os.fspath(cmake), "--version"], stdout="3.18.0")...
Ahh, Guido just pointed out that I'm wrong in my discuss.python.org topic. `subprocess.run` does take `os.PathLike` since Python 3.8 (and I forgot, it was only broken on Windows in 3.7).
This looks reasonable. Feel free to ping, I'll try to spend some time on this in the future, but have a long list of things to finish first. :)
I've have a dark mode patch running here: https://iscinumpy.gitlab.io. It's a single commit, I can make it into a PR if you want it.
(Note: iOS will be released on Friday with dark-mode support, followed by iPadOS a week or two later, so this will start affecting more people soon)
Commit is here: https://github.com/henryiii/beautifulhugo/commit/f64b4735bc6811890a877f388ba3d6c7a00a216e
I need to sync it with my copy, I think I’ve polished it a bit over time.