shared_bindings_matrix revert to using shared-bindings

.. hard-coding ulab for now.

It also fixes a problem where board_name was unassigned when
use_branded_name was False, which only happened at release-building
time.

Trying to change this caused multiple problems in the release process.
This commit is contained in:
Jeff Epler 2020-08-29 07:37:00 -05:00
parent d858d048c1
commit 28f0139e6e

View File

@ -43,8 +43,8 @@ def get_circuitpython_root_dir():
def get_shared_bindings():
""" Get a list of modules in shared-bindings based on folder names
"""
shared_bindings_dir = get_circuitpython_root_dir() / "circuitpython-stubs"
return [item.name for item in shared_bindings_dir.iterdir()]
shared_bindings_dir = get_circuitpython_root_dir() / "shared-bindings"
return [item.name for item in shared_bindings_dir.iterdir()] + ["ulab"]
def read_mpconfig():
@ -159,6 +159,8 @@ def support_matrix_by_board(use_branded_name=True):
board_contents)
if board_name_re:
board_name = board_name_re.group(1).strip('"')
else:
board_name = entry.name
board_modules = []
for module in base: