Skip to content

My PullRequest (translation of documentation) broke units tests... #5481

@axel584

Description

@axel584

First Check

  • I added a very descriptive title to this issue.
  • I used the GitHub search to find a similar issue and didn't find it.
  • I searched the FastAPI documentation, with the integrated search.
  • I already searched in Google "How to X in FastAPI" and didn't find any information.
  • I already read and followed all the tutorial in the docs and didn't find an answer.
  • I already checked if it is not related to FastAPI but to Pydantic.
  • I already checked if it is not related to FastAPI but to Swagger UI.
  • I already checked if it is not related to FastAPI but to ReDoc.

Commit to Help

  • I commit to help with one of those options 👆

Example Code

N/A

Description

I translated a page of the documentation in french, and make a Pull Request :
#5477

And the CI/CD shows 2 problems with the Unit Test (for the 3.7 and 3.9 plateform) :
https://github.com/tiangolo/fastapi/actions/runs/3215376279/jobs/5256425256
https://github.com/tiangolo/fastapi/actions/runs/3215376279/jobs/5256425208

I don't understand why (I just add .md file).

The log explains :

        modulename = "anyio._backends._" + asynclib_name
        try:
>           return sys.modules[modulename]
E           KeyError: 'anyio._backends._trio'

/opt/hostedtoolcache/Python/3.9.14/x64/lib/python3.9/site-packages/anyio/_core/_eventloop.py:153: KeyError

Is it a missing module in the runner of the CI/CD ? To be honest, it's outside of my skills... Thanks for your help.

Operating System

Other

Operating System Details

the runner of the CI/CD :
https://github.com/tiangolo/fastapi/actions/runs/3215376279/jobs/5256425256
https://github.com/tiangolo/fastapi/actions/runs/3215376279/jobs/5256425208

FastAPI Version

0.85.0

Python Version

3.7 and 3.9

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions