MusicalNinjaDad

Results 17 issues of MusicalNinjaDad

### Bug Description Running `cargo test --workspace` in the pyo3 root directory leads to linker error. This means that it is not possible to run tests from the test explorer...

bug

While working on another topic I noticed this `cfg` entry: ```rust // PyInterpreterState_Get is only available on 3.9 and later, but is missing // from python3.dll for Windows stable API...

This is a first step towards #1857 designed to get feedback and validate the approach. ### Considerations 1. ~~**Don't make a breaking change**: anyone currently using `from cibuildwheel.util import *`,...

This fixes #1861 and any other build setups which make use of `setuptools._distutils.util.get_platform()` on windows ### Approach - Uses `dict` lookup pattern analog to many other places within the code...

#1851 introduced a change into `utils.py` which required an in-function import in order to avoid a circular import with `logger.py` _Originally posted by @henryiii in https://github.com/pypa/cibuildwheel/pull/1851#discussion_r1629782369_ > We can probably...

Add a short note on when Path.unlink() raises `NotADirectoryError` This can occur "in the wild", for example, after calling `shutil.move(src, dst)` where `dst` is a non-existent directory. Debugging can cost...

docs
awaiting review
skip news

# Documentation https://docs.python.org/3/library/pathlib.html#pathlib.Path.unlink states that a `FileNotFoundError` will be raised if the path does not exist. On macos-14 a `NotADirectoryError` is raised if the directory does not exist. See pypa/cibuildwheel#1850...

docs
topic-pathlib