Skip to content

Minimum python version #732

Description

@i-gianni

Hello my system python is python 3.6, when I installed ford with pip in a venv I got this error.

Traceback (most recent call last):
  File "/home/i.gianni/libraries/diaglib/.venv/bin/ford", line 8, in <module>
    sys.exit(run())
  File "/home/i.gianni/libraries/diaglib/.venv/lib64/python3.6/site-packages/ford/__init__.py", line 633, in run
    proj_data, proj_docs, md = initialize()
  File "/home/i.gianni/libraries/diaglib/.venv/lib64/python3.6/site-packages/ford/__init__.py", line 236, in initialize
    return parse_arguments(vars(args), proj_docs, directory)
  File "/home/i.gianni/libraries/diaglib/.venv/lib64/python3.6/site-packages/ford/__init__.py", line 513, in parse_arguments
    subprocess.run(command, check=True, capture_output=True, text=True)
  File "/usr/lib64/python3.6/subprocess.py", line 423, in run
    with Popen(*popenargs, **kwargs) as process:
TypeError: __init__() got an unexpected keyword argument 'capture_output'

I guessed it was related to a wrong version of python, so a switched to a conda env with python 3.10 and it worked.
Could you please add to the requirements the minimum version of python that works?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions