Deprecation of non-SNI packages in python affecting `trusty`

Pypi is testing deprecation of non-SNI packages support:
https://status.python.org/

Our java builds fail with dist: trusty and python 2.7

Anybody knows a good solution?
Update python somehow without switching to “language: python”?
Change distribution used?

Deprecation of non-SNI compatible clients. · Issue #978 · pypa/pypi-support · GitHub :

For users of Python 2.7.{0…8}

Upgrading to the last Python 2.7 release is an option.

However, note that Python 2.7 series itself is now End of Life and support in pip was dropped with version 21.0.

Why do you need dist: trusty anyway? It was previously needed because JDK 8 support was broken in later images. But now, it’s fixed.

1 Like

My build requires dist: trusty because the language: android docs say so, is there a newer Ubuntu version that we should use instead? My build tries to pip install xunitparser which is encountering difficulties recently.

We have switched our builds to xenial and it seems to work good so far

1 Like
Imprint