mozilla-services / mozservices

INACTIVE - http://mzl.la/ghe-archive - Various utilities for Pyramid-based Mozilla applications
33 stars 17 forks source link

umemcache does not support Python 3 #41

Closed okin closed 3 months ago

okin commented 6 years ago

This is one of the building blocks that is used by syncserver. Unfortunately mozservices currently do not support Python 3 because the used library for implementing memcached clients - umemcache.

It would be nice to switch to another library that does support Python 3. To keep backwards compatibility intact one idea could be to make use of umemcache under Python 2 and have another implementation for Python 3. This way an update could happen in-place.

mathstuf commented 5 years ago

Is this something that is covered by test cases that would make a port easy to verify that it still works?

rfk commented 5 years ago

It doesn't look like there's much test coverage in this repo, but there's good test coverage if used in conjunction with the https://github.com/mozilla-services/syncserver repo, which is probably the best way to confirm that it sitll works end-to-end.

I should also point out that we're currently working on a re-write of the syncstorage server in rust, if only to explain why there's not a lot of activity on moving the current servers to python3.

mathstuf commented 5 years ago

OK, thanks for the info.