On 1/20/21 8:39 PM, Stephen Kitt wrote: > Hi, > > I’ve come across a situation which doesn’t seem to be addressed by existing > policies: the python-ptrace source package only ships > architecture-independent content, but it works on a small number of > architectures (currently, 32/64-bit x86, 32-bit ARM, 32/64-bit PPC). > > As a result, the packages it builds are installable everywhere, but that’s a > false promise since they don’t work everywhere. Would it make sense to > convert it to an architecture-dependent package, only on those architectures > which are really supported?
There's no python packaging specific approach. So yes, either make it architecture dependent, or maybe add code to the entry points (__init__.py) to raise an ImportError on unsupported architectures? Matthias