Describe the issue
When using the tool with Python 3.13 I get an error of No module named 'distutils'.
Internet states: The error "No module named 'distutils'" occurs because the distutils module has been removed in Python 3.12.
To Reproduce
Run project using Python 3.12 or 3.13 that would hit sasctl code in the Stack Trace.
Expected behavior
The project says it works on python 3.6+
Stack Trace
Traceback (most recent call last):
File "/src/system-ready/system_ready.py", line 10, in
from sasctl import Session
File "/usr/local/lib/python3.13/site-packages/sasctl/init.py", line 43, in
from .tasks import publish_model, register_model, update_model_performance
File "/usr/local/lib/python3.13/site-packages/sasctl/tasks.py", line 32, in
from .services import model_management as mm
File "/usr/local/lib/python3.13/site-packages/sasctl/services.py", line 25, in
from ._services.score_execution import ScoreExecution as score_execution
File "/usr/local/lib/python3.13/site-packages/sasctl/_services/score_execution.py", line 4, in
from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
Version
What version of sasctl are you using? v1.11.8
Describe the issue
When using the tool with Python 3.13 I get an error of No module named 'distutils'.
Internet states: The error "No module named 'distutils'" occurs because the distutils module has been removed in Python 3.12.
To Reproduce
Run project using Python 3.12 or 3.13 that would hit sasctl code in the Stack Trace.
Expected behavior
The project says it works on python 3.6+
Stack Trace
Traceback (most recent call last):
File "/src/system-ready/system_ready.py", line 10, in
from sasctl import Session
File "/usr/local/lib/python3.13/site-packages/sasctl/init.py", line 43, in
from .tasks import publish_model, register_model, update_model_performance
File "/usr/local/lib/python3.13/site-packages/sasctl/tasks.py", line 32, in
from .services import model_management as mm
File "/usr/local/lib/python3.13/site-packages/sasctl/services.py", line 25, in
from ._services.score_execution import ScoreExecution as score_execution
File "/usr/local/lib/python3.13/site-packages/sasctl/_services/score_execution.py", line 4, in
from distutils.version import StrictVersion
ModuleNotFoundError: No module named 'distutils'
Version
What version of
sasctlare you using? v1.11.8