Skip to content

Conversation

@skrawcz
Copy link
Contributor

@skrawcz skrawcz commented Dec 29, 2025

Because we have so many integrations, our unit tests can fail because the world moved.

We only care about having unit tests work against the latest version of a library -- though we need to
ensure we're backwards compatible with older versions if we want to ensure we wont break anyone.

Changes

  • updates due to some deprecation warnings
  • fixes for unit tests -- see commits
  • adds more license headers
  • punts on one or two tests

How I tested this

  • locally

Notes

Checklist

  • PR has an informative and human-readable title (this will be pulled into the release notes)
  • Changes are limited to a single goal (no scope creep)
  • Code passed the pre-commit check & code is left cleaner/nicer than when first encountered.
  • Any change in functionality is tested
  • New functions are documented (with a description, list of inputs, and expected output)
  • Placeholder code is flagged / future TODOs are captured in comments
  • Project documentation has been updated if adding/changing functionality.

pygls changed it’s import structure — so handle that.
Updating code to not use the deprecated way of getting UTC time.
This changes things so that the we compare things
in an order invariant way, but also handles the newer
hugging face library change.
This removes use of the deprecated way to dump
a pydantic model.
These are now the correct values.
The license check should check all files, and work
against an exclusion list.

Adds missing headers to files.
@skrawcz skrawcz force-pushed the stefan/fix-unit-tests branch from a860458 to 4dd95a1 Compare December 29, 2025 13:01
@skrawcz skrawcz requested review from cswartzvi and zilto December 29, 2025 23:28
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