Skip to content

Conversation

@codeskyblue
Copy link
Owner

No description provided.

Copilot AI review requested due to automatic review settings November 22, 2025 09:01
Copilot finished reviewing on behalf of codeskyblue November 22, 2025 09:03
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Harmony installation process to use the official PyPI package instead of custom URLs. The installation is now simplified to use the hypium package from PyPI with an optional Poetry extra.

Key changes:

  • Simplified install-harmony command to install only the hypium package from PyPI
  • Added hypium as an optional dependency in pyproject.toml with a harmony extra
  • Updated README to document the new installation method using pip extras

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.

File Description
uiautodev/cli.py Simplified install_harmony() to install single hypium package instead of multiple URLs
pyproject.toml Added hypium as optional dependency with version ^6.0.7.200 and created harmony extra
README.md Updated installation instructions to use pip extras syntax instead of CLI command
Comments suppressed due to low confidence (1)

uiautodev/cli.py:40

  • The HARMONY_PACKAGES constant is no longer used after the refactoring of install_harmony(). It should be removed to avoid confusion and reduce dead code.
HARMONY_PACKAGES = [
    "setuptools",
    "https://public.uiauto.devsleep.com/harmony/xdevice-5.0.7.200.tar.gz",
    "https://public.uiauto.devsleep.com/harmony/xdevice-devicetest-5.0.7.200.tar.gz",
    "https://public.uiauto.devsleep.com/harmony/xdevice-ohos-5.0.7.200.tar.gz",
    "https://public.uiauto.devsleep.com/harmony/hypium-5.0.7.200.tar.gz",
]

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

codeskyblue and others added 2 commits November 22, 2025 22:57
Co-authored-by: Copilot <[email protected]>
Co-authored-by: Copilot <[email protected]>
@codeskyblue codeskyblue merged commit 3da93ec into master Nov 22, 2025
@codeskyblue codeskyblue deleted the update_harmony_install branch November 22, 2025 14:58
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