Easy way to check modules for python version compatibility?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Stephen Toledo-Brown

    #1

    Easy way to check modules for python version compatibility?

    Given some Python source, is there any tool which can tell the mimimum
    level of Python required to run that source? If I distribute some code,
    I need to be able to say which level of Python users require to run it.

    --
    Steve Toledo-Brown
    Speaking for myself only.
    Humans please use domain uk.ibm.com
  • wittempj@hotmail.com

    #2
    Re: Easy way to check modules for python version compatibility?

    I do not think there's a direct way of telling it - but you can try to
    catch a DeprecationWarn ing, that is issued by most code deprecated
    modules

    Comment

    Working...