Skip to content

Add minimum_server_version parameter to client.request#151

Merged
nhoening merged 2 commits intomainfrom
feat/add-minimal-server-version-parameter-to-request
Nov 23, 2025
Merged

Add minimum_server_version parameter to client.request#151
nhoening merged 2 commits intomainfrom
feat/add-minimal-server-version-parameter-to-request

Conversation

@nhoening
Copy link
Contributor

There, the version will be checked when the server returns 404 - for a better error message.

  • add the version parameter
  • use the parameter in two functions

… checked when the server returns 404 - for better error message

Signed-off-by: Nicolas Höning <nicolas@seita.nl>
@nhoening nhoening requested a review from Flix6x November 22, 2025 17:54
Copy link
Contributor

@Flix6x Flix6x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice refactoring. Only there's a test failing.

Signed-off-by: Nicolas Höning <nicolas@seita.nl>
@nhoening nhoening requested a review from Flix6x November 22, 2025 23:24
@nhoening
Copy link
Contributor Author

I see some errors in s2 relate code and seemingly this warning is the error:

"pytest.PytestRemovedIn9Warning: 'test_fill_rate_relay' requested an async fixture 'setup_cem', with no plugin or hook that handled it. This is usually an error, as pytest does not natively support it. This will turn into an error in pytest 9"

Copy link
Contributor

@Flix6x Flix6x left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix. Let's handle the unrelated failing S2 test elsewhere.

@nhoening nhoening merged commit 7fde83b into main Nov 23, 2025
4 of 6 checks passed
@nhoening nhoening deleted the feat/add-minimal-server-version-parameter-to-request branch November 23, 2025 09:10
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.

2 participants