Skip to content

Conversation

@jjmerchante
Copy link
Contributor

This PR updates the Python version, GitHub actions, and configuration to use Python 3.10+

This PR also updates all the packages and makes the necessary changes in the code to support them. Each commit contains more information about each change.

Copy link
Member

@sduenas sduenas left a comment

Choose a reason for hiding this comment

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

LGTM

Update workflows and configuration to support Python 3.10.

Python 3.9 will no longer receive updates after October 2025.
This change ensures compatibility with newer features and
maintains security for the project.

Update dependencies to support the latest version of the packages.

Signed-off-by: Jose Javier Merchante <[email protected]>
The current version fixes the bug that required the allow_any function.

Signed-off-by: Jose Javier Merchante <[email protected]>
Before Python 3.9 importlib_resources package was needed, but now
all the versions include the importlib package. Refactor the code
to use the new package.

Signed-off-by: Jose Javier Merchante <[email protected]>
The new version of get_status in RQ returns an Enum instead of a
string. The library recommends to compare against the Enum.

Signed-off-by: Jose Javier Merchante <[email protected]>
In newer versions of Graphene, when an input is passed as
null, it overwrites the argument’s default value as None.
This commit updates the code to fix this issue and support a
future change that will be made in a future version in which
the value will be Undefined when the filter is not defined.

Signed-off-by: Jose Javier Merchante <[email protected]>
This commit removes the mix_stderr=False parameter from all instances of
CliRunner in the test suite. The mix_stderr was required to separate
the standard error from the standard output in the test results. However,
in the latest version of the package this argument was removed and now
always collect stderr output and never raise an exception

Signed-off-by: Jose Javier Merchante <[email protected]>
@sduenas sduenas merged commit 2054c9b into chaoss:main Sep 8, 2025
35 of 44 checks passed
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