Conflict in argument option --config-file with pytest 7.4.0
frenzymadness opened this issue · 3 comments
frenzymadness commented
You have --config-file
option in your conftest.py:
oci-python-sdk/tests/conftest.py
Line 16 in 31f38df
and pytest 7.4.0 now has it as well: pytest-dev/pytest@4f3f36c
which results in:
argparse.ArgumentError: argument --config-file: conflicting option string: --config-file
jyotisaini commented
thanks for reporting the issue, we will work on updating the conftest.py
frenzymadness commented
In Fedora Linux, I've solved the problem by simply renaming the option from --config-file
to --config-file-path
and it works fine for us as a workaround, see: https://src.fedoraproject.org/rpms/python-oci/blob/rawhide/f/python-oci.spec#_51