Skip to content

build_docs fails: cannot import name 'TestDumpParser'  #422

@orbeckst

Description

@orbeckst

Describe the bug

CI fails in build_docs with

Traceback (most recent call last):
  File "/home/runner/work/UserGuide/UserGuide/doc/source/scripts/gen_topologyparser_attrs.py", line 29, in <module>
    from MDAnalysisTests.topology.test_lammpsdata import LammpsBase, TestDumpParser
ImportError: cannot import name 'TestDumpParser' from 'MDAnalysisTests.topology.test_lammpsdata' (/home/runner/micromamba/envs/mda-user-guide/lib/python3.10/site-packages/MDAnalysisTests/topology/test_lammpsdata.py)
make: *** [Makefile:30: html] Error 1
make: Leaving directory '/home/runner/work/UserGuide/UserGuide/doc'

To Reproduce
Run CI

Expected behavior
CI should pass if I didn't specifically change the lammps tests.

Actual behavior
see error above and in https://github.com/MDAnalysis/UserGuide/actions/runs/14414547796/job/40428982295?pr=420

Additional context
See PR #420

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