Skip to content

Tox tests fail in Python version 3.9 #79

@chrisinmtown

Description

@chrisinmtown

Thank you very much for providing this minimal Connexion V3 project, especially the tox tests! I am trying to learn from your example. I don't have Python 3.6, instead I created a venv with 3.9. I changed the tox.ini envlist entry from 3.6 to 3.9 then ran tox. The result was a complaint from coverage, possibly the "test" argument is no longer valid. Would you please update?

I'm not sure of the best practice, it helped me to add tox to the test-requirements.txt file, please consider.

Here's partial output from tox showing the error:

/Users/me/git/github/python-flask-connexion-example-openapi3/.tox/py39/lib/python3.9/site-packages/coverage/control.py:892: CoverageWarning: No data was collected. (no-data-collected)
  self._warn("No data was collected.", slug="no-data-collected")
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: invalid command 'test'
py39: exit 1 (1.83 seconds) /Users/me/git/github/python-flask-connexion-example-openapi3> coverage run --source=./basic '--omit=*/test*' -a setup.py test pid=46991
py39: FAIL ✖ in 14.21 seconds

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions