Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at
Bug 2247023 - python-hl7 fails to build: ModuleNotFoundError: No module named 'six'
Summary: python-hl7 fails to build: ModuleNotFoundError: No module named 'six'
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-hl7
Version: 40
Hardware: Unspecified
OS: Unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
Depends On:
TreeView+ depends on / blocked
Reported: 2023-10-30 12:18 UTC by Karolina Surma
Modified: 2024-02-15 23:02 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
Type: Bug

Attachments (Terms of Use)

Description Karolina Surma 2023-10-30 12:18:04 UTC
python-hl7 fails to build with Python 3.13.0a1.

+ make html
sphinx-build -b html -d _build/doctrees   . _build/html
Running Sphinx v7.1.2

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/usr/lib/python3.13/site-packages/sphinx/", line 356, in eval_config_file
    exec(code, namespace)  # NoQA: S102
  File "/builddir/build/BUILD/hl7-0.3.3/docs/", line 20, in <module>
    import hl7
  File "/builddir/build/BUILD/hl7-0.3.3/hl7/", line 19, in <module>
    from .parser import parse
  File "/builddir/build/BUILD/hl7-0.3.3/hl7/", line 3, in <module>
    import six
ModuleNotFoundError: No module named 'six'

PR fixing this:

For the build logs, see:

For all our attempts to build python-hl7 with Python 3.13, see:

Testing and mass rebuild of packages is happening in copr.
You can follow these instructions to test locally in mock if your package builds with Python 3.13:

Let us know here if you have any questions.

Python 3.13 is planned to be included in Fedora 41.
To make that update smoother, we're building Fedora packages with all pre-releases of Python 3.13.
A build failure prevents us from testing all dependent packages (transitive [Build]Requires),
so if this package is required a lot, it's important for us to get it fixed soon.

We'd appreciate help from the people who know this package best,
but if you don't want to work on this now, let us know so we can try to work around it on our side.

Comment 1 Miro Hrončok 2023-10-30 12:26:11 UTC
According to this also fails to build in Rawhide and Fedora 39.

The cause is likely (using bundled six in urllib3).

Comment 2 Aoife Moloney 2024-02-15 23:02:46 UTC
This bug appears to have been reported against 'rawhide' during the Fedora Linux 40 development cycle.
Changing version to 40.

Note You need to log in before you can comment on or make changes to this bug.