braintree / braintree_python

Braintree Python library
https://developer.paypal.com/braintree/docs/start/overview
MIT License
241 stars 155 forks source link

Use python_requires='>=3.5' #141

Open gopackgo90 opened 2 years ago

gopackgo90 commented 2 years ago

Issue description

This library should use python_requires to enforce the supported Python version with pip.

hollabaq86 commented 2 years ago

👋 @gopackgo90 thanks for reaching out. I've marked this for the next-major-version since the notes on the docs you referenced mention that only versions 9.0.0 and higher of pip recognize the python_requires metadata.

It's my understanding that not everyone who develops in python uses pip, so I'm curious on the ramifications to folks using other dependency management frameworks would experience by our adding this enforcement.

hollabaq86 commented 1 year ago

based on my conversations with pip maintainers, we should be safe to add this into the next major version.

for internal tracking, ticket 2056