Skip to content

'dependency' not found in markers configuration option #3977

Description

@0-wiz-0

Updating the pkgsrc package to 2.4.3, I noticed that the test do not run in my environment:

=================================================================================================== test session starts ====================================================================================================
platform netbsd11 -- Python 3.14.6, pytest-9.1.1, pluggy-1.6.0
rootdir: /tmp/devel/py-codespell/work/codespell-2.4.3
configfile: pyproject.toml
testpaths: codespell_lib/tests
plugins: cov-7.1.0
collected 85 items / 1 error

========================================================================================================== ERRORS ==========================================================================================================
_________________________________________________________________________________ ERROR collecting codespell_lib/tests/test_dictionary.py __________________________________________________________________________________
'dependency' not found in `markers` configuration option
-------------------------------------------------------------------- generated xml file: /tmp/devel/py-codespell/work/codespell-2.4.3/junit-results.xml --------------------------------------------------------------------
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
===================================================================================================== 1 error in 0.27s =====================================================================================================

A similar failure occurs with 2.4.2, so it's not new breakage, but it seems it wasn't reported before.

The tests are run (using the pypi source tarball) by calling pytest.
The following Python modules are installed:

Python 3.14.6.
build-1.5.1
coverage-7.15.0
hatch-fancy-pypi-readme-25.1.0
hatchling-1.31.0
iniconfig-2.3.0
installer-1.0.1
packaging-26.2
pathspec-1.1.1
pluggy-1.6.0
pygments-2.20.0
pyparsing-3.3.2
pyproject_hooks-1.2.0nb1
setuptools-83.0.0
setuptools_scm-10.2.0
test-9.1.1
test-cov-7.1.0
trove-classifiers-2026.6.1.19
vcs-versioning-2.2.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions