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

Fix for create_or_modify_pyi read_text Windows Issue in component_meta.py #9242

Merged
merged 3 commits into from
Sep 2, 2024

Commits on Sep 1, 2024

  1. Fix for create_or_modify_pyi read_text in component_meta.py

    In some environments the `read_text()` call in `create_or_modify_pyi` will not use expected encoding when reading the `source_file`. In Unix environments (and presumably MacOS though I have not tested), this will default to use the 'utf-8' encoding, which is what the `source_file` are encoded in. In Windows, it seems to default to a different encoding when 'utf-8' should be selected.
    SmirkingKitsune committed Sep 1, 2024
    Configuration menu
    Copy the full SHA
    5307331 View commit details
    Browse the repository at this point in the history

Commits on Sep 2, 2024

  1. add changeset

    gradio-pr-bot committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    3ca7eaa View commit details
    Browse the repository at this point in the history
  2. format

    abidlabs committed Sep 2, 2024
    Configuration menu
    Copy the full SHA
    ce9cfec View commit details
    Browse the repository at this point in the history