Skip to content

Feat: using uv#180

Open
hannalee2 wants to merge 13 commits into
devfrom
feat-uv
Open

Feat: using uv#180
hannalee2 wants to merge 13 commits into
devfrom
feat-uv

Conversation

@hannalee2
Copy link
Copy Markdown
Collaborator

@hannalee2 hannalee2 commented Apr 30, 2026

  • Documentation: Updated the README.md with new instructions for installing and running the project using uv.

  • Configuration: Updated pyproject.toml to align with uv standards (including uv.sources for local/internal dependencies).

  • CI/CD: Modified the GitHub Actions workflow to utilize uv

  • Environment: Added .venv to .gitignore and bumped the project version.

  • TODO: I will add mypy.

@hannalee2 hannalee2 changed the base branch from main to dev April 30, 2026 22:48
@hannalee2 hannalee2 changed the title directional websocketFeat uv Feat: using uv Apr 30, 2026
@hannalee2 hannalee2 requested a review from Copilot April 30, 2026 22:53
Copy link
Copy Markdown
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 migrates the project’s packaging and CI workflows to use uv, updates documentation to match the new install/run flow, and adjusts packaging metadata to support a parallax CLI entrypoint.

Changes:

  • Switch build backend to Hatchling and add uv source configuration for a Git-sourced dependency.
  • Update GitHub Actions workflows (CI, pytest, publish) to use uv for environment setup and commands.
  • Update README install/run instructions, bump version, and add .venv/ to .gitignore.

Reviewed changes

Copilot reviewed 8 out of 9 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
pyproject.toml Migrates build backend to Hatchling, adds uv sources, defines console script, and reorganizes extras/config.
parallax/main_window.py Saves window size back to config on close.
parallax/__main__.py Refactors into a main() function to support a console script entrypoint.
parallax/__init__.py Bumps package version to 1.17.0.
README.md Updates installation/running/developer instructions to use uv.
.gitignore Switches ignored venv directory from venv/ to .venv/.
.github/workflows/tag_and_publish.yml Uses uv for Python setup/version extraction/build and enables workflow_call.
.github/workflows/pytest.yml Uses uv sync/uv run for installing deps and running tests with coverage gate.
.github/workflows/ci.yml Uses uv for installing linters and running Ruff checks; updates docs build steps similarly.

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

Comment thread pyproject.toml
Comment thread pyproject.toml Outdated
Comment thread README.md Outdated
Comment thread README.md Outdated
Comment thread .github/workflows/tag_and_publish.yml
pip install parallax-app will fails callling sfm which is from github, not from pypi
Recommended
Copy link
Copy Markdown
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

Copilot reviewed 8 out of 9 changed files in this pull request and generated 7 comments.


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

Comment thread pyproject.toml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/ci.yml
Comment thread .github/workflows/tag_and_publish.yml
Comment thread parallax/main_window.py
Comment thread pyproject.toml
Comment thread README.md
@hannalee2 hannalee2 requested a review from jsiegle April 30, 2026 23:48
Copy link
Copy Markdown
Collaborator

@jsiegle jsiegle left a comment

Choose a reason for hiding this comment

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

This looks good, glad you're switching to uv!

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.

3 participants