Skip to content

community/py3-codespell: upgrade to 2.3.0

And disable tests, since they require a non-packaged dependency. When they were enabled, however, the problem already existed:

=============================== warnings summary ===============================
../../../../../../../usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:178
  /usr/lib/python3.12/site-packages/_pytest/assertion/rewrite.py:178: UserWarning: aspell not found, but not required, skipping aspell tests. Got error during import:
  No module named 'aspell'
    exec(co, module.__dict__)

codespell_lib/tests/test_dictionary.py:300
  /home/buildozer/aports/community/py3-codespell/src/codespell-2.2.6/codespell_lib/tests/test_dictionary.py:300: PytestUnknownMarkWarning: Unknown pytest.mark.dependency - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.dependency(name="dictionary loop")

codespell_lib/tests/test_dictionary.py:370
  /home/buildozer/aports/community/py3-codespell/src/codespell-2.2.6/codespell_lib/tests/test_dictionary.py:370: PytestUnknownMarkWarning: Unknown pytest.mark.dependency - is this a typo?  You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/how-to/mark.html
    @pytest.mark.dependency(depends=["dictionary loop"])

-- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html
- generated xml file: /home/buildozer/aports/community/py3-codespell/src/codespell-2.2.6/junit-results.xml -
=========================== short test summary info ============================

Now that instead became an error:

'dependency' not found in markers configuration option

Edited by Kevin Daudt

Merge request reports

Loading