Revisions of python-aenum
Ana Guerrero (anag+factory)
accepted
request 1144506
from
Daniel Garcia (dgarcia)
(revision 12)
- Add fix-python312-tests.patch to skip failing tests with python 3.12 gh#ethanfurman/aenum#36
Ana Guerrero (anag+factory)
accepted
request 1134618
from
Factory Maintainer (factory-maintainer)
(revision 11)
Automatic submission by obs-autosubmit
Ana Guerrero (anag+factory)
accepted
request 1125419
from
Dirk Mueller (dirkmueller)
(revision 10)
- add sle15_python_module_pythons for SLE15 build * AutoNumber and auto() now work together * add _create_pseudo_member_values_
Dominique Leuenberger (dimstar_suse)
accepted
request 1094127
from
Dirk Mueller (dirkmueller)
(revision 9)
- update to 3.1.12: * no changelog available
Dominique Leuenberger (dimstar_suse)
accepted
request 1059839
from
Daniel Garcia (dgarcia)
(revision 8)
- Update to 3.1.11: * update MANIFEST file - 3.1.10 * improve tests - 3.1.9 * fail gracefully for badly written EnumType - 3.1.8 * recalculate bits used after all flags created (sometimes needed when a custom `__new__` is in place. - 3.1.7 * update flag creation to (possibly) add bitwise operator methods to newly created flags * update extend_enum() to work with 3.11 flags - 3.1.6 * Update `dir()` on mixed enums to include mixed data type methods and attributes. * Rename `enum_property` to `property` to match stdlib. Recommended usage is `aenum.property` (prefix with module name). * Remove quadritic creation behavior. BREAKING CHANGE BUG FIX that won't affect most people Enums with a custom `__new__` that: - use the enum machinery to generate the values; AND - have keyword arguments set to a default (like `None`) will fail to generate a missing value. To fix: remove the default value and instead specify it on the member creation line. BREAKING CHANGE In Python 3.11 the `str()` of mixed enums will now match its `format()` which will be the normal `str()` of the data type -- so for an IntEnum you'll see `5` instead of `Perm.R|X`. This affects IntEnum, StrEnum, and IntFlag.
Dominique Leuenberger (dimstar_suse)
accepted
request 945349
from
Dirk Mueller (dirkmueller)
(revision 7)
- update to 3.1.5: * fix support of `auto()` kwds * rename `aenum.property` to `aenum.enum_property` * fix `extend_enum()` for unhashable values * fix `extend_enum()` for most cases
Dominique Leuenberger (dimstar_suse)
accepted
request 914827
from
Matej Cepl (mcepl)
(revision 6)
- Convert test script into proper unittest module and then skip failing tests (gh#ethanfurman/aenum#12): - tempdir_missing.patch - skip_failing_testcases.patch - Update to 3.1.0: * redo EnumConstants * add `__set_name__` to `constant` * add new test; make re strings raw
Dominique Leuenberger (dimstar_suse)
accepted
request 884804
from
Steve Kowalik (StevenK)
(revision 5)
- Update to 3.0.0: * The more esoteric method of creating Enums have been modified or removed * Member creation has been redone to match Python 3.10's methods. * enum_property() has been renamed to property() (old name still available, but deprecated). * bin() replacement shows negative integers in twos-complement * call __init_subclass__ after members have been added, and in Pythons < 3.6 * call __set_name__ in Pythons < 3.6 * do not convert/disallow private names * add iteration/len support to NamedConstant * add support to Constant to retrieve members by value * add pickle/deepcopy support to Constant * add support for Constant to use other Constant values * AutoNumber and auto() now work together - Update URL now that bitbucket is dead.
Dominique Leuenberger (dimstar_suse)
accepted
request 755836
from
Tomáš Chvátal (scarabeus_iv)
(revision 4)
- Update to 2.2.3: * Various minor fixes
Dominique Leuenberger (dimstar_suse)
accepted
request 719690
from
Tomáš Chvátal (scarabeus_iv)
(revision 3)
Dominique Leuenberger (dimstar_suse)
accepted
request 653905
from
Matej Cepl (mcepl)
(revision 2)
Remove superfluous devel dependency for noarch package
Dominique Leuenberger (dimstar_suse)
accepted
request 613121
from
Todd R (TheBlackCat)
(revision 1)
Required by python-csvkit. See request 612101 https://build.opensuse.org/request/show/612101
Displaying all 12 revisions