From 1e52e5b5f68cc6f447fc6cc0fe7ccd98d76bcf45 Mon Sep 17 00:00:00 2001 From: dherrada Date: Thu, 9 Jul 2020 12:45:35 -0400 Subject: [PATCH 1/2] Using python 3.7 so sphinx is ok with __future__ --- .github/workflows/build.yml | 4 ++-- .github/workflows/release.yml | 4 ++-- docs/conf.py | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 41d16a1..0d491a1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -18,10 +18,10 @@ jobs: awk -F '\/' '{ print tolower($2) }' | tr '_' '-' ) - - name: Set up Python 3.6 + - name: Set up Python 3.7 uses: actions/setup-python@v1 with: - python-version: 3.6 + python-version: 3.7 - name: Versions run: | python3 --version diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18efb9c..0950dc6 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,10 +20,10 @@ jobs: awk -F '\/' '{ print tolower($2) }' | tr '_' '-' ) - - name: Set up Python 3.6 + - name: Set up Python 3.7 uses: actions/setup-python@v1 with: - python-version: 3.6 + python-version: 3.7 - name: Versions run: | python3 --version diff --git a/docs/conf.py b/docs/conf.py index c936193..f2cd3f0 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,7 +21,7 @@ # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the # autodoc module docs will fail to generate with a warning. -# autodoc_mock_imports = ["digitalio", "busio"] +# autodoc_mock_imports = ["bleak", "digitalio", "busio"] intersphinx_mapping = { From 76e115801da4fe87fa8551589d108ce71385bd2e Mon Sep 17 00:00:00 2001 From: dherrada Date: Thu, 9 Jul 2020 12:54:54 -0400 Subject: [PATCH 2/2] uncommented mock imports --- docs/conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/conf.py b/docs/conf.py index f2cd3f0..88a5795 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -21,7 +21,7 @@ # Uncomment the below if you use native CircuitPython modules such as # digitalio, micropython and busio. List the modules you use. Without it, the # autodoc module docs will fail to generate with a warning. -# autodoc_mock_imports = ["bleak", "digitalio", "busio"] +autodoc_mock_imports = ["bleak", "digitalio", "busio"] intersphinx_mapping = {