|
|
|
|
|
by woodruffw
1056 days ago
|
|
> If you set up a private registry on gitlab and try to push packages with epoch versions, gitlab will normalize the ! to _ so everything breaks. (We found this out the hard way recently.) That's unfortunate; I know Poetry's support for epochs has also been spotty (at least historically, I'm not sure about currently). > There seems to be no way in Python versioning to say "this version is for CPUs with AVX2 instructions" so I guess public C extensions have to be compiled for the least common denominator instruction set. Does anyone know otherwise? This is my understanding as well: x86_64 in wheel tags implies the lowest common denominator for AMD64. I think the best you can generally do here is either (1) accept the pain that comes with sdists, or (2) do runtime feature detection for things like AVX2. > How do other packaging systems like cargo deal with this? Cargo always builds from source, so they effectively punt on this problem. |
|