Skip to content

TST: extern/configobj no longer excluded by pytest-dev #14930

Closed

Description

@pllim

In the weekly cron that test against dev versions of infrastructure packages, I see that it is collecting stuff that we explicitly ignored in setup.cfg like this:

astropy/setup.cfg

Lines 118 to 122 in 0a71105

norecursedirs =
"docs[\/]_build"
"docs[\/]generated"
"astropy[\/]extern"
"astropy[\/]_dev"

Despite that directive, I see:

../../.tox/py311-test-devinfra/lib/python3.11/site-packages/astropy/extern/configobj/configobj.py F
../../.tox/py311-test-devinfra/lib/python3.11/site-packages/astropy/extern/configobj/validate.py F

Failed log: https://github.com/astropy/astropy/actions/runs/5191708098/jobs/9359883509
pytest-7.4.0.dev118+g1a175390

Last success log: https://github.com/astropy/astropy/actions/runs/5173838762/jobs/9319503854
pytest-7.4.0.dev109+ge1204e1e

I asked over at pytest-dev/pytest#11082 (comment) and hopefully this will be gone with scientific-python/pytest-doctestplus#201 🤞

Activity

  1. pllim commented on Jun 8, 2023

    @pllim
    MemberAuthor

    Fixed upstream via scientific-python/pytest-doctestplus#201 . Thanks to @bluetech for the help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions