-
Notifications
You must be signed in to change notification settings - Fork 145
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
pytest 8.1 incompatibility: TypeError: import_path() missing 1 required keyword-only argument: 'consider_namespace_packages' #765
Comments
jtbandes
added a commit
to foxglove/schemas
that referenced
this issue
Mar 12, 2024
Update to latest links and product names. Includes a pytest downgrade to work around a CI failure ros2/launch#765 (similar to scientific-python/pytest-doctestplus#240)
My team is seeing this issue as well. |
We're also facing this issue. I think it's safe to say it's a bug affecting a lot of people |
Created PR #766 |
6 tasks
1 task
This was referenced May 14, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Required Info:
Steps to reproduce issue
A test failure was encountered here (for Humble, Iron, and Rolling): https://github.com/foxglove/schemas/actions/runs/8241439601/job/22538701279
The error points to this line of code:
launch/launch_testing/launch_testing/pytest/hooks.py
Line 178 in d9ffd80
Additional information
This
consider_namespace_packages
arg appears to have become required in pytest 8.1 (pytest-dev/pytest#11997). This is also causing issues for other pytest plugin authors (scientific-python/pytest-doctestplus#240). You can see an example fix at scientific-python/pytest-doctestplus#241.The text was updated successfully, but these errors were encountered: