poetry
poetry copied to clipboard
poetry build only creates one .whl when CFFI has generated extension for multiple platforms (multiple build/lib.* dirs)
CFFI can generate libraries for multiple Python platforms, e.g. lib.linux-x86_64-3.9/mymod/_mylib.abi3.so
and lib.linux-x86_64-cpython-39/mymod/_mylib.abi3.so
(the latter could contain optimised code that relies on CPython features)
poetry build
only builds the first one of these that it finds into a .whl
file. The guilty code is here: wheel.py:191.
I believe it should build a .whl
file for every platform for which CFFI has generated a shared library.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
@minglu this is mostly likely fixed with the next SR of MAUI
You can test on the preview builds of MAUI or you can wait for it to reach stable.
As a workaround, you could try setting them with a small delay, as I did here:
_ = Task.Run(async () => {
await Task.Delay(100);
Dispatcher.Dispatch(() => {
SelectedStates = new ObservableCollection<object>(ss);
OnPropertyChanged(nameof(SelectedStates));
});
});
I have a similar issue... any fixes?
The same issue is happening on Windows as well.
Verified this issue with Visual Studio Enterprise 17.7.0 Preview 2.0. Can repro on iOS platform with sample project. iOSCollectionViewPreselectedTest.
Confirmed it is still happening on macOS using .NET 8 (MAUI 8.0.3). Workaround by @Glorfindel83 seems to do the trick.
Duplicate of #18933