Skip to content

🧹 Remove Pygithub / GitPython / TQDM Deps - #392

Merged
MFA-X-AI merged 5 commits into
masterfrom
fahreza/remove-pygh
Apr 16, 2025
Merged

MFA-X-AI merged 5 commits into
masterfrom
fahreza/remove-pygh

Conversation

@MFA-X-AI

@MFA-X-AI MFA-X-AI commented Apr 2, 2025 •

Copy link
Copy Markdown
Member

Description

This pull request removes the Xircuits dependency on PyGithub + gitpython + tqdm. The motivation behind this change:

  • PyGithub's rate limiting does not scale well when deployed from a single point. Instead of relying on PyGithub, the code now uses manual HTTP requests to interact with GitHub's REST API for fetching repository contents.
  • The request_folder function is decoupled to remove the gitpython and tqdm requirement.

References

#131

Pull Request Type

  • Xircuits Core (Jupyterlab Related changes)
  • Xircuits Canvas (Custom RD Related changes)
  • Xircuits Component Library
  • Xircuits Project Template
  • Testing Automation
  • Documentation
  • Others (Infrastructure Improvements)

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

Tests

1. Test A

  1. Clone the repository.
  2. Run the CLI commands install, fetch-only to ensure they function as expected.
  3. Ensure that the examples CLI command is no longer available.

Tested on? Specify Version.

  • Windows
  • Linux
  • Mac
  • Others (State here -> xxx )

@github-actions

github-actions Bot commented Apr 2, 2025

Copy link
Copy Markdown

Binder 👈 Launch a binder notebook on branch XpressAI/xircuits/fahreza/remove-pygh

@MFA-X-AI
MFA-X-AI force-pushed the fahreza/remove-pygh branch from 77921e9 to b967271 Compare April 16, 2025 13:32
@MFA-X-AI MFA-X-AI changed the title 🧹 Remove Pygithub Deps 🧹 Remove Pygithub / GitPython / TQDM Deps Apr 16, 2025
@MFA-X-AI
MFA-X-AI merged commit 69a43ce into master Apr 16, 2025
@MFA-X-AI
MFA-X-AI deleted the fahreza/remove-pygh branch April 16, 2025 13:41
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.

1 participant