-
Notifications
You must be signed in to change notification settings - Fork 245
Open
Labels
type:bugSomething isn't workingSomething isn't working
Description
Line 8 in 3b55852
| requires-python = ">=3.11" |
This version should be set to '>=3.12' (or higher) at least, because tunix/tunix/rl/utils.py calls value.is_integer() which is safely supported for the base int type since Python v3.12. For example, see below:
Line 37 in 3b55852
| if value is not None and (not value.is_integer() or value <= 0): |
I tested it with v3.11 and confirmed it causes Attribute Error. You should upgrade the default Python version to 3.12 (or higher) in pyproject.toml or substitute all value.is_integer() with the more primitive and safe isinstance().
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
type:bugSomething isn't workingSomething isn't working