[python] Bump Spector deps to enable datetime matcher support (PR #10011)#10245
Draft
[python] Bump Spector deps to enable datetime matcher support (PR #10011)#10245
Conversation
…atetime matchers + add changelog Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/1bbb3871-173c-4525-ae6f-a424e79a3f6a Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
… of the change Agent-Logs-Url: https://github.com/microsoft/typespec/sessions/1bbb3871-173c-4525-ae6f-a424e79a3f6a Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add test case for pull request 10011
[python] Bump Spector deps to enable datetime matcher support (PR #10011)
Apr 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR #10011 introduced
match.dateTimesemantic matchers into the Spector framework, updatingencode/datetime,payload/xml, andpayload/pageablemockapis to use flexible datetime comparison instead of exact string matching. The previously pinned versions of the Spector packages predate these changes, causing the existing Python mock API tests to fail against the updated mock server.Changes
packages/http-client-python/package.json— bump three dev dependencies:@typespec/http-specs0.1.0-alpha.350.1.0-alpha.36-dev.3@typespec/spec-api0.1.0-alpha.14-dev.10.1.0-alpha.14-dev.4@typespec/spector0.1.0-alpha.240.1.0-alpha.25-dev.4@typespec/http-specs@0.1.0-alpha.36-dev.3— first release containing the updated mockapi files withmatch.dateTimematchers@typespec/spec-api@0.1.0-alpha.14-dev.4— adds thematchexport (matchers API)@typespec/spector@0.1.0-alpha.25-dev.4— adds matcher evaluation in the request processor (matchValues)The existing tests for
test_encode_datetime,test_payload_xml, andtest_payload_pageablecover all affected scenarios and pass with these updated versions.