Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use new hub_version session property if available #176

Merged
merged 3 commits into from
May 14, 2024

Conversation

obriencj
Copy link
Owner

Have the hub_version function use the new hub_version property if it is available. This will allow us to get version checks for free, as the new property skims the version value out of a header in XMLRPC responses.

Closes #175

@obriencj
Copy link
Owner Author

Also used this as an excuse to make the hidden attrs have safer names

@obriencj
Copy link
Owner Author

will need to update the ClientSession stub for mypy to pass this

@obriencj obriencj marked this pull request as ready for review May 14, 2024 21:18
@obriencj obriencj merged commit 45dfe81 into master May 14, 2024
10 checks passed
@obriencj obriencj deleted the hub_version_property branch May 14, 2024 21:18
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.

use the new hub_version property in koji >= 1.35
1 participant