Skip to content

Check dist-packages when checking for source installation#413

Merged
abidlabs merged 2 commits into
mainfrom
issue-412
Jan 29, 2026
Merged

Check dist-packages when checking for source installation#413
abidlabs merged 2 commits into
mainfrom
issue-412

Conversation

@sergiopaniego
Copy link
Copy Markdown
Collaborator

Short description

Fixes #412

AI Disclosure

We encourage the use of AI tooling in creating PRs, but the any non-trivial use of AI needs be disclosed. E.g. if you used Claude to write a first draft, you should mention that. Trivial tab-completion doesn't need to be disclosed. You should self-review all PRs, especially if they were generated with AI.


  • I used AI to... [fill here]
  • I did not use AI

Type of Change

  • Bug fix
  • New feature (non-breaking)
  • New feature (breaking change)
  • Documentation update
  • Test improvements

Related Issues

Closes: #412

Testing and linting

Please run tests before submitting changes:

python -m pytest

and format your code using Ruff:

ruff check --fix --select I && ruff format

@sergiopaniego sergiopaniego changed the title Check dist-packages when checking for source installation Check dist-packages when checking for source installation Jan 29, 2026
@gradio-pr-bot
Copy link
Copy Markdown
Contributor

gradio-pr-bot commented Jan 29, 2026

🪼 branch checks and previews

Name Status URL
🦄 Changes detected! Details

@gradio-pr-bot
Copy link
Copy Markdown
Contributor

🦄 change detected

This Pull Request includes changes to the following packages.

Package Version
trackio minor

  • Check dist-packages when checking for source installation

‼️ Changeset not approved. Ensure the version bump is appropriate for all packages before approving.

  • Maintainers can approve the changeset by checking this checkbox.

Something isn't right?

  • Maintainers can change the version label to modify the version bump.
  • If the bot has failed to detect any changes, or if this pull request needs to update multiple packages to different versions or requires a more comprehensive changelog entry, maintainers can update the changelog file directly.

@HuggingFaceDocBuilderDev
Copy link
Copy Markdown

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Copy link
Copy Markdown
Member

@abidlabs abidlabs left a comment

Choose a reason for hiding this comment

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

Thanks @sergiopaniego! We might replace this check altogether but for now, this patch makes sense

@abidlabs abidlabs merged commit 39c4750 into main Jan 29, 2026
7 checks passed
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.

[bug] Error when starting a HF Space created from Colab

4 participants