Saturday, 15 April 2023

How do I check the version of python a module supports?

I was wondering if there is a generic way to find out if your version of python is supported by a specific module?

For example, let us say that I have python 3.11 installed on my computer and I want to install the modules biopython and lru-dict. Going to their respective pypi entries biopython shows this in their Project description:

Python Requirements

We currently recommend using Python 3.10 from http://www.python.org

Biopython is currently supported and tested on the following Python implementations:

Python 3.7, 3.8, 3.9, 3.10 and 3.11 – see http://www.python.org

PyPy3.7 v7.3.5 – or later, see http://www.pypy.org

However, if we check the lru-dict entry, their Project description does not mention Python requirements. I did eventually find out that python 3.11 is not supported by finding a issue on their github page.

Is there a simpler way of finding this information out?



from How do I check the version of python a module supports?

No comments:

Post a Comment