pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: py-test 9.1.1



Greg Troxel <gdt%lexort.com@localhost> writes:

> I am seeing test failures
>
>  File "/usr/pkg/lib/python3.13/site-packages/_pytest/mark/structures.py", line 491, in store_mark
>     fail(
>     ~~~~^
>         "Marks cannot be applied to fixtures.\n"
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>         "See docs: https://docs.pytest.org/en/stable/deprecations.html#applying-a-mark-to-a-fixture-function";
>         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>     )
>     ^
>
> in multiple programs, after updating to py-test 9.1.1.

The problem was the combination of.

  I had libtmux installed
  py-test hooks in plugins even if not asked for, it seems.
  libtmux 0.56.1 was not ok with pytest-9.1

I update libtmux to 0.58.1 -- released last week as a fix to work with
py-test 9.1.


I think things are ok now.



Home | Main Index | Thread Index | Old Index