Skip to content

Conversation

@nstarman
Copy link
Contributor

@nstarman nstarman commented Jan 2, 2026

No description provided.

@nstarman nstarman added this to the v1.9.x milestone Jan 2, 2026
@github-actions github-actions bot added the 🔧 Add / update configuration Add or update configuration files. label Jan 2, 2026
@codecov
Copy link

codecov bot commented Jan 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.76%. Comparing base (267ae24) to head (7107187).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #534   +/-   ##
=======================================
  Coverage   96.76%   96.76%           
=======================================
  Files          44       44           
  Lines        2068     2068           
  Branches       69       69           
=======================================
  Hits         2001     2001           
  Misses         51       51           
  Partials       16       16           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: nstarman <[email protected]>
@github-actions github-actions bot added the 👷 Add / update CI build system Add or update CI build system. label Jan 3, 2026
@nstarman nstarman marked this pull request as ready for review January 3, 2026 01:42
@nstarman nstarman requested a review from a team as a code owner January 3, 2026 01:42
Copilot AI review requested due to automatic review settings January 3, 2026 01:42
@nstarman nstarman merged commit 9e5e503 into GalacticDynamics:main Jan 3, 2026
38 checks passed
@nstarman nstarman deleted the mnt/testing branch January 3, 2026 01:44
meeseeksmachine pushed a commit to meeseeksmachine/unxt that referenced this pull request Jan 3, 2026
Copy link

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 restructures the workspace package dependencies by introducing a new workspace optional extra for the main unxt package. This allows users to optionally install the workspace packages (unxt-api and unxt-hypothesis) when needed, rather than having them as development dependencies.

Key changes:

  • Introduces a workspace optional extra containing unxt-api and unxt-hypothesis, included in the all extra
  • Removes the workspace dependency group and moves unxt-hypothesis out of development dependency groups (dev, test, test-all)
  • Adds dependency-groups with test dependencies to both workspace packages (unxt-api and unxt-hypothesis)
  • Updates nox sessions to use uv_extras=["workspace"] instead of uv_groups=["workspace"]
  • Updates GitHub Actions workflow labels from workspace: <package> to 🧩 <package> format

Reviewed changes

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

Show a summary per file
File Description
pyproject.toml Adds workspace optional extra, removes workspace dependency group and unxt-hypothesis from test dependency groups
uv.lock Updates lockfile to reflect dependency reorganization, moving workspace packages from dev dependencies to optional extras
packages/unxt-api/pyproject.toml Adds test dependency group for independent testing of the workspace package
packages/unxt-hypothesis/pyproject.toml Adds test dependency group for independent testing of the workspace package
noxfile.py Updates pytest and docs sessions to use uv_extras=["workspace"] instead of uv_groups=["workspace"]
.github/workflows/ci.yml Updates workspace package labels from text format to emoji format (🧩)
.github/labels.yml Defines new labels for workspace packages with emoji prefix

backend-astropy = ["astropy>=6.0"]
interop-gala = ["gala>=1.8"]
interop-mpl = ["matplotlib>=3.8"]
workspace = ["unxt-api", "unxt-hypothesis"]
Copy link

Copilot AI Jan 3, 2026

Choose a reason for hiding this comment

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

The workspace extra includes unxt-api, but unxt-api is already a required dependency in the main dependencies list (line 35). Including it in the workspace extra creates redundancy since unxt-api will always be installed regardless of whether the workspace extra is used. Consider removing unxt-api from this extra and keeping only unxt-hypothesis, or if the intent is to have unxt-api as optional, move it from the core dependencies to only this extra.

Suggested change
workspace = ["unxt-api", "unxt-hypothesis"]
workspace = ["unxt-hypothesis"]

Copilot uses AI. Check for mistakes.

[dependency-groups]
test = [
"hypothesis[numpy]>=6.138.14",
Copy link

Copilot AI Jan 3, 2026

Choose a reason for hiding this comment

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

The test dependency group includes hypothesis[numpy]>=6.138.14 which duplicates the same dependency already listed in unxt-hypothesis's core dependencies (line 21 of packages/unxt-hypothesis/pyproject.toml). Since this package already requires hypothesis as a runtime dependency, including it again in the test group is redundant and could lead to version conflicts or confusion about which version specification takes precedence.

Suggested change
"hypothesis[numpy]>=6.138.14",

Copilot uses AI. Check for mistakes.
nstarman added a commit that referenced this pull request Jan 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

👷 Add / update CI build system Add or update CI build system. 🔧 Add / update configuration Add or update configuration files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant