ScreenPyHQ / screenpy

Screenplay pattern base for Python automated UI test suites.
MIT License
27 stars 3 forks source link

#99: Fix docs build #100

Closed perrygoy closed 11 months ago

perrygoy commented 11 months ago

The docs build started failing when we removed typing_extensions a while back, but we didn't notice!

The builds are failing because we didn't specify which Python version to use, so ReadTheDocs just uses a default of 3.7 (apparently). Protocol wasn't added to typing until after 3.7, so we get an import error.

This fixes that by adding a .readthedocs.yaml config file, which can specify which version of Python to use!