Skip to content

Run the tests with the lowest allowed dependencies - #51

Merged
olympia merged 1 commit into
xbmc:masterfrom
olympia:min-deps-ci
Nov 27, 2026
Merged

olympia merged 1 commit into
xbmc:masterfrom
olympia:min-deps-ci

Conversation

@olympia

@olympia olympia commented Nov 27, 2026

Copy link
Copy Markdown
Collaborator

CI only installed the newest versions of everything. So a change that needs more than the lower bounds in setup.py, or a test that quietly depends on a newer jsonrpc-base, could go in without anybody noticing. The set_shuffle test was such a case, it failed with jsonrpc-base 2.1.0 until it got fixed by hand.

The new minimum job runs the tests on Python 3.11 with aiohttp 3.10.8, jsonrpc-async 2.2.0, jsonrpc-base 2.1.0 and jsonrpc-websocket 4.0.0. The pins live in constraints_min.txt and pip applies them as constraints over requirements_test.txt, and the matrix and the mypy job stay as they are.

CI installed only the newest versions, so a change that needs more than
the lower bounds of setup.py, or a test that depends on a newer
jsonrpc-base, went unnoticed. For example the set_shuffle test failed
with jsonrpc-base 2.1.0 until it was fixed by hand. The new minimum job
runs the tests on Python 3.11 with aiohttp 3.10.8, jsonrpc-async 2.2.0,
jsonrpc-base 2.1.0 and jsonrpc-websocket 4.0.0, pinned in
constraints_min.txt.
@coderabbitai

coderabbitai Bot commented Nov 27, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: b0deecc3-46b0-4cff-a011-1cb3376fcedb
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@olympia
olympia merged commit eaf916e into xbmc:master Nov 27, 2026
7 checks passed
@olympia
olympia deleted the min-deps-ci branch November 27, 2026 19:26
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