-
Notifications
You must be signed in to change notification settings - Fork 46
Closed
Labels
Description
On Python 3.10 and SoS 0.25.0 this workflow:
[1]
parameter: dat = path
input: dat
print(_input)
it works well.
sos run test.sos --dat test.sos
INFO: Running 1:
test.sos
INFO: 1 is completed.
INFO: Workflow default (ID=wadc76383948ec2d8) is executed successfully with 1 completed step.
But on Python 3.12, it fails:
# sos run test.sos --dat test.sos
INFO: Running 1:
ERROR: [1]: [1]: Failed to process input statement dat
: file_target object has no attribute traced
I have another workflow that shows a different error:
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/root/.pixi/envs/sos/lib/python3.12/site-packages/sos/targets.py", line 128, in __getattr__
return self._dict[name]
^^^^^^^^^^
File "/root/.pixi/envs/sos/lib/python3.12/site-packages/sos/targets.py", line 132, in __getattr__
raise AttributeError(f"{self.__class__.__name__} object has no attribute {name}") from e
AttributeError: file_target object has no attribute _dict
after we upgrade from Python 3.10 to 3.12 it seems we are crippled ..