Skip to content

chore(deps): lock file maintenance - #363

Merged
CameronBrooks11 merged 2 commits into
mainfrom
renovate/lock-file-maintenance
Sep 8, 2026
Merged

CameronBrooks11 merged 2 commits into
mainfrom
renovate/lock-file-maintenance

Conversation

@renovate

@renovate renovate Bot commented Aug 24, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Update Change
lockFileMaintenance All locks refreshed

🔧 This Pull Request updates lock files to use the latest dependency versions.


Configuration

📅 Schedule: (UTC)

  • Branch creation
    • "before 6am on monday"
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot added the dependencies Pull requests that update a dependency file label Aug 24, 2026
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance branch from d64cbc2 to 26a4b9f Compare August 26, 2026 18:52
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance branch 2 times, most recently from 9b85e4e to bddfe6c Compare September 3, 2026 20:58
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance branch from bddfe6c to 062e8a3 Compare September 7, 2026 17:15
CameronBrooks11 added a commit that referenced this pull request Sep 7, 2026
jsdom implements no Web Animations API. Svelte calls `element.animate()`
when a transition runs, and from 5.57 it does so from a deferred
microtask, so the `TypeError` escapes the test that triggered it and
fails the whole run even though every assertion passes.

This is what currently blocks #361 and #363 — both bump svelte 5.56.9 →
5.57.0, and both fail `GUI / Test & Build` with:

```
TypeError: element.animate is not a function
 ❯ node_modules/svelte/src/internal/client/dom/elements/transitions.js:415:23
 ❯ run_micro_tasks node_modules/svelte/src/internal/client/dom/task.js:10:2
```

Note this is **not** a jsdom bump — jsdom is 30.0.1 on main and on both
PRs. Both svelte versions call `element.animate`; 5.57.0 changed *when*,
moving it into a deferred microtask where the throw is no longer
contained.

## Fix

An inert `Animation` in the vitest setup. `playState: "finished"` stops
Svelte's rAF loop immediately, and `onfinish` is left unfired so
transitions stay no-ops rather than half-applying.

## Verification

Run against #363's lockfile, varying only the svelte version:

| svelte | stub | result |
| --- | --- | --- |
| 5.57.0 | no | **red** — unhandled `TypeError`, 339/339 assertions
still pass |
| 5.56.9 | no | green |
| 5.57.0 | yes | green |
| 5.56.9 | yes | green |

So the stub fixes the failure and is inert on the version main is on
today. `tsc --noEmit` clean; `svelte-check` 382 files, 0 errors.
@renovate
renovate Bot force-pushed the renovate/lock-file-maintenance branch 2 times, most recently from 46640ac to 9f1b2ac Compare September 7, 2026 21:48
@renovate

renovate Bot commented Sep 8, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@CameronBrooks11
CameronBrooks11 merged commit 445fe13 into main Sep 8, 2026
21 checks passed
@CameronBrooks11
CameronBrooks11 deleted the renovate/lock-file-maintenance branch September 8, 2026 03:38
CameronBrooks11 added a commit that referenced this pull request Sep 10, 2026
Closes #369.

## Why

`plot = ["matplotlib>=3.8", "plotly>=5.22"]` dated to the **initial
commit** and was never used.

- **Nothing imports either package.** `git grep -nIE
'plotly|matplotlib|pyplot'` across tracked source returns only the
`pyproject.toml` declaration itself. There are no dynamic imports
anywhere (`import_module` / `__import__` return zero hits), so nothing
could be hiding a lazy use.
- **`fiberpath plot` doesn't need them.** It renders through **Pillow**
in `fiberpath/visualization/plotter.py`.
- **It was never advertised.** The README documents `[cli]`, `[api]` and
`[dev]`; `contributing.md` installs `.[dev,cli,api]`.
- **It wasn't reserved for planned work.** The only related backlog item
is "3D Streaming Visualization", explicitly *"Backlog Concept, Not
Shipped"* — and it proposes **Three.js in the GUI**, a different
technology in a different stack.

## What it cost

`dependency-audit.yml` audits `uv export --all-extras`, so the extra's
whole subtree was scanned on every run:

| | packages in the audited set |
| --- | --- |
| before | 73 |
| after | **63** |

The 10 removed: `matplotlib`, `plotly`, `contourpy`, `cycler`,
`fonttools`, `kiwisolver`, `narwhals`, `pyparsing`, `python-dateutil`,
`six`.

That is live advisory surface for zero functionality — and it generates
churn: today's lock-file maintenance (#363) carried **plotly 6.9.0 →
7.0.0**, a major bump of a package the project does not use. That major
is what surfaced this.

## Verification

After removing the extra and re-syncing:

```
$ uv run python -c "import plotly"
ModuleNotFoundError: No module named 'plotly'

$ uv run fiberpath plot p.gcode --output p.png
…/p.png (500.0 mm × 7.0 mm tow)
  PNG written: 1471 bytes
```

So the command that sounds like it depends on the extra demonstrably
does not.

Gate: `ruff check` / `ruff format --check` (148 files) / `mypy` (51
files) / **332 pytest passed** / `uv build` produces the 0.11.0 wheel +
sdist.

## Risk

`pip install fiberpath[plot]` would stop resolving that extra. Given it
is undocumented, unused, and unreferenced anywhere outside its own
declaration, that is acceptable.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant