-
Notifications
You must be signed in to change notification settings - Fork 50
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
tests(unit): charm unit tests fail with 'CallSpec2' object has no attribute 'funcargs' #1185
Labels
bug
Something isn't working
Comments
Thank you for reporting us your feedback! The internal ticket has been created: https://warthogs.atlassian.net/browse/KF-6660.
|
Affected repositories:
|
This was referenced Dec 9, 2024
orfeas-k
added a commit
to canonical/kubeflow-dashboard-operator
that referenced
this issue
Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131 * Update python dependencies using 'tox -e update-requirements' * Remove unused pytest-lazy-fixture package Ref canonical/bundle-kubeflow#1177 Ref canonical/bundle-kubeflow#1185
orfeas-k
added a commit
to canonical/mlflow-operator
that referenced
this issue
Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131 * Update python dependencies using 'tox -e update-requirements' * migrate `pytest-lazyfixture` to `pytest-lazy-fixtures` (with an "s" at the end) Ref canonical/bundle-kubeflow#1177 Ref canonical/bundle-kubeflow#1185
orfeas-k
added a commit
to canonical/minio-operator
that referenced
this issue
Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131 * Update python dependencies using 'tox -e update-requirements' * Remove unused pytest-lazy-fixture package * Remove mocking of private ops class according to canonical/operator#1369 and canonical/seldon-core-operator#268 Ref canonical/bundle-kubeflow#1177 Ref canonical/bundle-kubeflow#1185
orfeas-k
added a commit
to canonical/metacontroller-operator
that referenced
this issue
Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131 * Update python dependencies using 'tox -e update-requirements' * Remove unused pytest-lazy-fixture package * Bump chisme to 0.4.4 to fix #138 Ref canonical/bundle-kubeflow#1177 Ref canonical/bundle-kubeflow#1185 Fixes #138
orfeas-k
added a commit
to canonical/resource-dispatcher
that referenced
this issue
Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131 * Update python dependencies using 'tox -e update-requirements' Ref canonical/bundle-kubeflow#1177 Ref canonical/bundle-kubeflow#1185
orfeas-k
added a commit
to canonical/oidc-gatekeeper-operator
that referenced
this issue
Dec 13, 2024
* Pin pip to 24.2 due to jazzband/pip-tools#2131 * Update python dependencies using 'tox -e update-requirements' * Remove unused pytest-lazy-fixture package Ref canonical/bundle-kubeflow#1177 Ref canonical/bundle-kubeflow#1185
Closed by referenced PRs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug Description
During #1156, we figured out that after bumping python dependencies (pytest>8.0), unit tests in some charm repos fail with the following error:
This is caused by issue TvoroG/pytest-lazy-fixture#65. The referenced package is though unmaintained and thus does not work with
pytest>=8.0
. What is being suggested is to switch from pytest-lazy-fixture to pytest-lazy-fixtures (with an "s" at the end), which seems to be supporting all the features of the first one + being maintained. In some cases, thepytest-lazy-fixtures
is a leftover package not used anymore and can be just removed from the packages (ie resource-dispatcher canonical/resource-dispatcher#77)To Reproduce
Run unit test in repositories affected.
Environment
main
branchRelevant Log Output
Additional Context
No response
The text was updated successfully, but these errors were encountered: