Closed rik-coenders closed 1 year ago
I could create a PR for it depending on what is the desired solution.
If removing it from operations is fine, not much needs to be changed. It is only used in
def iteritems(self):
return six.iteritems(self.objects)
I don't know if it is safe to remove iteritems
altogether and only go for python 3 style items()
. Otherwise iteritems
could just use items
which is only little less performant when using the already deprecated python 2.x
Hi, I'll be removing six in the next version, but it's been added as a dependency for now via #327.
Using
SQLAlchemy-Continuum==1.3.13
withSQLAlchemy==1.4.45
on python 3.11.1, I get the follwoing error:This seems to come from
operation.py
having a depedency onsix
, butsix
is only added as atest
requirement insetup.py
.The easy way would be to require six, but it would be nicer to remove the import from
operation.py
.