Building bup on fedora/wsl, part 2

4 views
Skip to first unread message

Joe Kesselman

unread,
Feb 9, 2022, 4:19:47 PM2/9/22
to bup-...@googlegroups.com
"check -j" reported no errors, but wasn't 100% happy:

================================== warnings summary
==================================
../.local/lib/python3.10/site-packages/_pytest/nodes.py:140: 312 warnings
/home/keshlam/.local/lib/python3.10/site-packages/_pytest/nodes.py:140:
PytestRemovedIn8Warning: The (fspath: py.path.local) argument to
BupSubprocTestFile is deprecated. Please use the (path: pathlib.Path)
argument instead.
  See
https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path
    return super().__call__(*k, **kw)

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
=================== 120 passed, 312 warnings in 391.34s (0:06:31)
====================

I'm running python 3.10.2

--
/_ My pronouns are he/him/his, though I answer
-/ _) to "(the) cat('s)" ... or anything, really.
/ Please correct me if I get yours wrong.

() Plaintext Ribbon Campaign
/\ Stamp out HTML mail!

Rob Browning

unread,
Feb 19, 2022, 2:00:20 PM2/19/22
to Joe Kesselman, bup-...@googlegroups.com
Joe Kesselman <kes...@alum.mit.edu> writes:

> "check -j" reported no errors, but wasn't 100% happy:
>
> ================================== warnings summary
> ==================================
> ../.local/lib/python3.10/site-packages/_pytest/nodes.py:140: 312 warnings
> /home/keshlam/.local/lib/python3.10/site-packages/_pytest/nodes.py:140:
> PytestRemovedIn8Warning: The (fspath: py.path.local) argument to
> BupSubprocTestFile is deprecated. Please use the (path: pathlib.Path)
> argument instead.
>   See
> https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path


Thanks. Looks like you might have a fairly new pytest since that
deprecation appears to have happened in 7:

https://docs.pytest.org/en/latest/deprecations.html#fspath-argument-for-node-constructors-replaced-with-pathlib-path

which was just released this month:

https://docs.pytest.org/en/stable/changelog.html

So I suspect we'll have to either live with that warning for a good
while or figure out how to suppress it.

Thanks
--
Rob Browning
rlb @defaultvalue.org and @debian.org
GPG as of 2011-07-10 E6A9 DA3C C9FD 1FF8 C676 D2C4 C0F0 39E9 ED1B 597A
GPG as of 2002-11-03 14DD 432F AE39 534D B592 F9A0 25C8 D377 8C7E 73A4
Reply all
Reply to author
Forward
0 new messages