Closed
Description
Describe the bug
SimpleSQLite version is not pinned (floating version):
New versions of the package breaks tcconfig commands. Forcing SimpleSQLite v1.4.0 installation solves the problem.
Expected behavior
tcshow eth0
command should display the network constrains applied to eth0.
To Reproduce
Steps to reproduce the behavior:
pip install tcconfig
pip install SimpleSQLite==1.5.1
tcshow eth0
Additional context
Traceback (most recent call last):
File "/opt/hostedtoolcache/Python/3.11.6/x64/bin/tcshow", line 5, in <module>
from tcconfig.tcshow import main
File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/tcconfig/tcshow.py", line 24, in <module>
from .parser.shaping_rule import TcShapingRuleParser
File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/tcconfig/parser/shaping_rule.py", line 21, in <module>
from ._filter import TcFilterParser
File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/tcconfig/parser/_filter.py", line 15, in <module>
from ._model import Filter
File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/tcconfig/parser/_model.py", line 6, in <module>
class Filter(Model):
File "/opt/hostedtoolcache/Python/3.11.6/x64/lib/python3.11/site-packages/tcconfig/parser/_model.py", line 7, in Filter
device = Text(attr_name=Tc.Param.DEVICE, not_null=True)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: Column.__init__() got an unexpected keyword argument 'attr_name'