|
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:
|
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().
tunix/pyproject.toml
Line 8 in 3b55852
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
inttype since Python v3.12. For example, see below:tunix/tunix/rl/utils.py
Line 37 in 3b55852
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().