Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Sep 24, 2024
1 parent 821cef1 commit 6521bef
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyodide_build/build_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def get_hostsitepackages() -> str:
def get_unisolated_packages() -> dict[str, str]:
"""
Get a map of unisolated packages.
Unisolated packages are packages that are used during the build process
and have some platform-specific files. When these packages are used
during the build process, we switch need to switch platform-specific files,
Expand All @@ -187,7 +187,7 @@ def get_unisolated_packages() -> dict[str, str]:
unisolated_packages = {}
if in_xbuildenv():
unisolated_packages_file = PYODIDE_ROOT / ".." / "requirements.txt"

for line in unisolated_packages_file.read_text().splitlines():
name, version = line.split("==")
unisolated_packages[name] = version
Expand Down

0 comments on commit 6521bef

Please sign in to comment.