Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include Frozen Libraries In build_board_info.py #5304

Merged
merged 4 commits into from
Sep 7, 2021

Conversation

sommersoft
Copy link
Collaborator

Fixes #4672

Tested with the following:

(.venv) ~/Dev/circuitpython/tools:$> python
Python 3.8.2 (default, May 20 2020, 16:07:42) 
[GCC 7.5.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import json
>>> import pathlib
>>> from build_board_info import get_board_mapping
>>> fpath = pathlib.Path().home()
>>> with open(fpath / "Dev" / "frozen_board_mapping.txt", "w") as f:
...     json.dump(get_board_mapping(), f, indent=2)
... 
>>>

Result:
frozen_board_mapping.txt

Note: without a manual update, this will only update the newest version in circuitpython-org/_data/files.json.

Copy link
Member

@tannewt tannewt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @sommersoft !

@tannewt tannewt merged commit daad0d0 into adafruit:main Sep 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Update build_board_info.py to check for frozen libraries
2 participants