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

Split config file handling out of shared.py. NFC. #12699

Merged
merged 1 commit into from
Nov 9, 2020

Conversation

sbc100
Copy link
Collaborator

@sbc100 sbc100 commented Nov 4, 2020

Move config file handling into its own file. In order to achieve this
while avoiding a circular bependecy between shared.py and config.py,
move a few small utilities into utils.py.

For a while now shared.py has been way too big and this is step towards
breaking it up and breaking the existing circular dependencies between
python modules that use, and also also used by, shared.py (cache.py for
example).

@sbc100 sbc100 force-pushed the shared_python_refactor branch 7 times, most recently from 47cea7a to 435c471 Compare November 5, 2020 05:37
Move config file handling into its own file.  Also, move a few small
utilities into `utils.py` to avoid circular dependencies.

For a while now shared.py has been way too big and this is step towards
breaking it up and breaking the existing circular dependencies between
python modules that use and also also used by shared.py (cache.py for
example).
@sbc100 sbc100 merged commit 13535ca into master Nov 9, 2020
@sbc100 sbc100 deleted the shared_python_refactor branch November 9, 2020 16:06
sbc100 added a commit that referenced this pull request Nov 10, 2020
emsdk was broken by #12699 because it was assuming that
EM_CONFIG is available in the environment at the point
when the config was bring parsed.
sbc100 added a commit that referenced this pull request Nov 10, 2020
emsdk was broken by #12699 because it was assuming that
EM_CONFIG is available in the environment at the point
when the config was bring parsed.
sbc100 added a commit that referenced this pull request Sep 8, 2021
It seems this was broken back in #12699.  Add a test.

Fixes: #14995
sbc100 added a commit that referenced this pull request Sep 9, 2021
It seems this was broken back in #12699.  Add a test.

Fixes: #14995
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.

2 participants