MusicalNinjaDad

Results 19 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

I have the following code which returns as `attribute-error` unless silenced: ```py def __eq__(self, value: object) -> bool: """Dice are equal if they give the same probabilities.""" try: return self.probabilities...

### Go version go1.24.9 linux/amd64 ### Output of `go env` in your module/workspace: ```shell AR='ar' CC='gcc' CGO_CFLAGS='-O2 -g' CGO_CPPFLAGS='' CGO_CXXFLAGS='-O2 -g' CGO_ENABLED='1' CGO_FFLAGS='-O2 -g' CGO_LDFLAGS='-O2 -g' CXX='g++' GCCGO='gccgo' GO111MODULE='' GOAMD64='v1'...

help wanted
NeedsDecision
compiler/runtime