<jfng[m]>
could it be because amaranth main (which requires ~=3.9) runs the amaranth-boards CI (which requires ~=3.9), but the amaranth-boards CI matrix includes amaranth 0.4 (which requires ~=3.8) ?
whitequark[cis] has joined #amaranth-lang
<whitequark[cis]>
yeah, something like that
<whitequark[cis]>
it's really unfortunate
<jfng[m]>
ok, let's try removing 0.4 from the -boards matrix
<jfng[m]>
ah, but idk if dropping -boards support for amaranth 0.4 is fine
<jfng[m]>
codebases that depend on 0.4 won
<jfng[m]>
't be able to fallback on a previous -boards release, as they aren't any
<jfng[m]>
otoh, that's already the case for amaranth-soc (>=0.5,<0.6)
<_whitenotifier-4>
[amaranth-lang/amaranth-lang.github.io] whitequark 672201b - Deploying to main from @ amaranth-lang/amaranth@3857822b714b9a1e2efee62d7c19841c0818aa79 🚀
Wanda[cis] has quit [Quit: Idle timeout reached: 172800s]
eigenform[m] has joined #amaranth-lang
<eigenform[m]>
i don't know if this is an amaranth question or a general python question but: can I programmatically generate an `enum.Enum` that has a shape, instead of using `class Foo(enum.Enum, shape=)`
<eigenform[m]>
* an `amaranth.lib.enum.Enum` that
<whitequark[cis]>
note that you can use class: statement inside functions
<whitequark[cis]>
```
<whitequark[cis]>
def foo(shape):
<whitequark[cis]>
class Foo(enum.Enum, shape=shape):
<eigenform[m]>
mmm, I think what I'm trying to do is generate an enum with dynamic members and a dynamic shape. I thought I might be able to do some incantation of `EnumType.__new__`, but maybe not?