docker-registry icon indicating copy to clipboard operation
docker-registry copied to clipboard

python 2.6 support

Open dmp42 opened this issue 11 years ago • 2 comments

So, we have buses full of users on python 2.6.

Don't ask me why.

We already made the registry pass the tests for 2.6 - so, we are likely very close to full compat.

Here is what I would love:

  • run the registry on 2.6 and verify that basic pull / push operations work, plus search enabled works
  • get through past user reports and check what was causing problems for 2.6 compat

dmp42 avatar Aug 01 '14 09:08 dmp42

On Fri, Aug 01, 2014 at 02:23:15AM -0700, Olivier Gambier wrote:

  • run the registry on 2.6 and verify that basic pull / push operations work, plus search enabled works

Can't we just write those into the test suite? I haven't checked, maybe we already do, and you just don't trust the tests ;).

wking avatar Aug 01 '14 17:08 wking

Well. To boot with, I don't trust mocks (#365) - so, yeah, I don't trust tests - whether I'm right on this or just a psycho on the loose is yet to be determined :-)

Now, our tests ((un)fortunately?) are too much unit tests - and we lack integration tests (including simulating complete user operations).

But yeah, taking the occasion to enhance tests is welcome!

dmp42 avatar Aug 01 '14 17:08 dmp42