Update pytest requirement from >=8.4.2 to >=9.0.3 - #5
Merged
Conversation
Updates the requirements on [pytest](https://github.com/pytest-dev/pytest) to permit the latest version. - [Release notes](https://github.com/pytest-dev/pytest/releases) - [Changelog](https://github.com/pytest-dev/pytest/blob/main/CHANGELOG.rst) - [Commits](pytest-dev/pytest@8.4.2...9.0.3) --- updated-dependencies: - dependency-name: pytest dependency-version: 9.0.3 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot
Bot
force-pushed
the
dependabot/uv/pytest-gte-9.0.3
branch
from
April 24, 2026 23:27
4796069 to
8c7c9d7
Compare
wpfleger96
added a commit
that referenced
this pull request
Aug 3, 2026
…metrics, epoch refusal, capabilities, validation Addresses all Thufir pass-2 CRITICAL and IMPORTANT findings. CRITICAL: - Add DeviceAmbiguityError raised when ≥2 devices have sessions on same date - Add _resolve_device() centralizing profile-scoped device resolution - Add _fetch_day_sessions() returning all sessions for a resolved device/date - Add _reduce_day_status() pure reducer implementing 5-case precedence: mixed identities → MIXED_VERSION; all-OK → OK; all-NOT_RUN → NOT_RUN; all-STALE → STALE; anything else (incl. stale+not-run) → PARTIAL - Update find_windows(), get_nightly_summary(), get_nightly_range_summary(), compare_epochs(), get_contextual_events(), get_ca_analysis() to use helpers IMPORTANT #4 (status test): - Rename test_stale_and_not_run_find_windows_status_is_stale to _is_partial - Flip expectation to PARTIAL (stale+not-run → PARTIAL per plan §1 line 864) - Add plan-line citation comments to all status/precedence assertions IMPORTANT #5 (compliance): - get_nightly_summary() reads Day.total_therapy_hours instead of summing Session.duration_seconds - get_nightly_range_summary() validates date_end >= date_start IMPORTANT #6 (capabilities): - rx_keys_present uses RX_KEYS from rx_tracker (not CROSS_VERSION_REFUSAL_KEYS) - Add list_supported_models() to ParserRegistry aggregating parser metadata - get_device_capabilities() uses list_supported_models() IMPORTANT #7 (epoch refusal): - Move RX homogeneity check before any breath queries - Check ALL contributing sessions per night (not just first session) - Immediately refuse with null distributions when RX violation detected IMPORTANT #8 (corruption propagation): - get_contextual_events() and get_ca_analysis() narrow except-Exception catches to re-raise ValueError (corrupt blob) while swallowing absent-channel errors IMPORTANT #9 (input validation): - get_contextual_events() validates event_types (non-empty strings or None) and min_duration (>= 0 or None) IMPORTANT #2 (CA metrics): - Implement preceding_mv_slope via linear regression over prior 120s MV - Implement ps_delivered_cmh2o via mean(THERAPY_PRESSURE - EPAP) over ±5s - Implement stability_index as CV (std/mean) of MV over prior 120s - Fix WaveformWindowRequest window_cap_seconds bypass for full-session MV fetch - get_ca_analysis() and get_contextual_events() now aggregate across ALL sessions New tests: - TestSameProfileTwoDevice: DeviceAmbiguityError for methods without device_id - TestSplitNight: contextual events and CA analysis return from both sessions - TestContextualEventsInputValidation: invalid event_types and min_duration - TestNightlyRangeDateValidation: reversed date range raises ValueError Co-authored-by: Will Pfleger <pfleger.will@gmail.com> Signed-off-by: Will Pfleger <pfleger.will@gmail.com>
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.
Updates the requirements on pytest to permit the latest version.
Release notes
Sourced from pytest's releases.
Commits
a7d58d7Prepare release version 9.0.3089d981Merge pull request #14366 from bluetech/revert-14193-backport8127eafRevert "Fix: assertrepr_compare respects dict insertion order (#14050) (#14193)"99a7e60Merge pull request #14363 from pytest-dev/patchback/backports/9.0.x/95d8423bd...ddee02aMerge pull request #14343 from bluetech/cve-2025-71176-simple74eac69doc: Update training info (#14298) (#14301)f92dee7Merge pull request #14267 from pytest-dev/patchback/backports/9.0.x/d6fa26c62...7ee58acMerge pull request #12378 from Pierre-Sassoulas/fix-implicit-str-concat-and-d...37da870Merge pull request #14259 from mitre88/patch-4 (#14268)c34bfa3Add explanation for string context diffs (#14257) (#14266)