pynss-dev / python-nss

Python bindings for Network Security Services (NSS) and Netscape Portable Runtime (NSPR).
GNU General Public License v2.0
1 stars 2 forks source link

Remove python2 #5

Open kuwv opened 2 years ago

kuwv commented 2 years ago

Remove python2 support.

saper commented 2 years ago

There are too many changes - did you reformat the source as well?

I wouldn't remove python2 support yet. If anyone is still using this, they might still be using python 2. We should do this when maintaining both become unbearable.

kuwv commented 2 years ago

The changes in this merge request only remove Python2 support from the documentation and tests.

The reason being that we won't run pipeline tests for Python2. And, the documentation examples shouldn't tell people to add Python2 support if they don't need it.

Otherwise the source directory is unchanged.

kuwv commented 2 years ago

@saper To be honest, it takes a lot of work to build binary packages for python. And, it would be an even more considerable effort to align everything to support 2.7. Many projects that do support it have already built those packages.

https://github.com/pypa/manylinux

The manylinux1 is deprecated and using it will add in a few wonky unintentional things.

It's still published though: https://quay.io/repository/pypa/manylinux1_x86_64