jazzband / prettytable

Display tabular data in a visually appealing ASCII table format
https://pypi.org/project/PrettyTable/
Other
1.32k stars 149 forks source link

Temporarily pin pytest<8 due to pytest-lazy-fixture#65 #273

Closed hugovk closed 5 months ago

hugovk commented 5 months ago

pytest 8 was just released but pytest-lazy-fixture doesn't yet support it:

.tox\py\lib\site-packages\pluggy\_hooks.py:501: in __call__
    return self._hookexec(self.name, self._hookimpls.copy(), kwargs, firstresult)
.tox\py\lib\site-packages\pluggy\_manager.py:119: in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
.tox\py\lib\site-packages\_pytest\python.py:277: in pytest_pycollect_makeitem
    return list(collector._genfunctions(name, obj))
.tox\py\lib\site-packages\_pytest\python.py:506: in _genfunctions
    self.ihook.pytest_generate_tests.call_extra(methods, dict(metafunc=metafunc))
.tox\py\lib\site-packages\pluggy\_hooks.py:562: in call_extra
    return self._hookexec(self.name, hookimpls, kwargs, firstresult)
.tox\py\lib\site-packages\pluggy\_manager.py:[119](https://github.com/hugovk/prettytable/actions/runs/7699842249/job/20982359292#step:5:120): in _hookexec
    return self._inner_hookexec(hook_name, methods, kwargs, firstresult)
.tox\py\lib\site-packages\pytest_lazyfixture.py:74: in pytest_generate_tests
    normalize_metafunc_calls(metafunc, 'funcargs')
.tox\py\lib\site-packages\pytest_lazyfixture.py:81: in normalize_metafunc_calls
    calls = normalize_call(callspec, metafunc, valtype, used_keys)
.tox\py\lib\site-packages\pytest_lazyfixture.py:105: in normalize_call
    valtype_keys = set(getattr(callspec, valtype).keys()) - used_keys
E   AttributeError: 'CallSpec2' object has no attribute 'funcargs'

See https://github.com/TvoroG/pytest-lazy-fixture/issues/65.

codecov[bot] commented 5 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1383072) 94.21% compared to head (696a30d) 94.21%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #273 +/- ## ======================================= Coverage 94.21% 94.21% ======================================= Files 5 5 Lines 2387 2387 ======================================= Hits 2249 2249 Misses 138 138 ``` | [Flag](https://app.codecov.io/gh/jazzband/prettytable/pull/273/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | Coverage Δ | | |---|---|---| | [macos-latest](https://app.codecov.io/gh/jazzband/prettytable/pull/273/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | `94.17% <ø> (ø)` | | | [ubuntu-latest](https://app.codecov.io/gh/jazzband/prettytable/pull/273/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | `94.17% <ø> (ø)` | | | [windows-latest](https://app.codecov.io/gh/jazzband/prettytable/pull/273/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband) | `94.13% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=jazzband#carryforward-flags-in-the-pull-request-comment) to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.