Skip to content

Tentative fix for Windows --editable installs#2541

Merged
Adel-Moumen merged 1 commit into
speechbrain:developfrom
asumagic:maybe-fix-windows-install
Jun 6, 2024
Merged

Tentative fix for Windows --editable installs#2541
Adel-Moumen merged 1 commit into
speechbrain:developfrom
asumagic:maybe-fix-windows-install

Conversation

@asumagic

@asumagic asumagic commented May 7, 2024

Copy link
Copy Markdown
Collaborator

What does this PR do?

Fixes(?) the issue mentioned in the last comment of #2536. On Windows, the default is not UTF-8, so some users are facing issues when using --editable installs. Regular wheel installs would not reproduce the problem since those do not run setup.py.
There might still be problematic open()s so perhaps all of them should explicitly use encoding="utf-8" someday.

Before submitting
  • Did you read the contributor guideline?
  • Did you make sure your PR does only one thing, instead of bundling different changes together?
  • Did you make sure to update the documentation with your changes? (if necessary)
  • Did you write any new necessary tests? (not for typos and docs)
  • Did you verify new and existing tests pass locally with your changes?
  • Did you list all the breaking changes introduced by this pull request?
  • Does your code adhere to project-specific code style and conventions?

PR review

Reviewer checklist
  • Is this pull request ready for review? (if not, please submit in draft mode)
  • Check that all items from Before submitting are resolved
  • Make sure the title is self-explanatory and the description concisely explains the PR
  • Add labels and milestones (and optionally projects) to the PR so it can be classified
  • Confirm that the changes adhere to compatibility requirements (e.g., Python version, platform)
  • Review the self-review checklist to ensure the code is ready for review

@Adel-Moumen Adel-Moumen left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

LGTM

@Adel-Moumen Adel-Moumen merged commit 1bd75e4 into speechbrain:develop Jun 6, 2024
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