Skip to content

Installation fails on Python 3.13: xmldict==0.4.1 is unused but breaks pip install #227

Description

@jimisola

Problem

Installing reqstool on Python 3.13 fails with an ImportError from xmldict's legacy setup.py, which is incompatible with modern setuptools.

Root Cause

xmldict==0.4.1 is declared as a dependency in pyproject.toml but:

  1. Never imported or used anywhere in the codebase (src/ and tests/ have zero references)
  2. Uses a legacy build format incompatible with Python 3.13
  3. All XML parsing in the project uses the stdlib xml.etree.ElementTree (see testdata_model_generator.py:6)

Solution

Remove the unused xmldict==0.4.1 dependency from pyproject.toml line 62.

Verification

  • Codebase contains zero references to xmldict (confirmed via grep)
  • All XML parsing uses stdlib xml.etree.ElementTree

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingdependenciesPull requests that update a dependency file

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions