Bug 2247023 - python-hl7 fails to build: ModuleNotFoundError: No module named 'six'
Summary: python-hl7 fails to build: ModuleNotFoundError: No module named 'six'
Keywords:
Status: NEW
Alias: None
Product: Fedora
Classification: Fedora
Component: python-hl7
Version: 40
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ankur Sinha (FranciscoD)
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F39FTBFS F40FTBFS PYTHON3.13
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:
Environment:
Last Closed:
Type: Bug
Embargoed:


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/config.py", line 356, in eval_config_file
    exec(code, namespace)  # NoQA: S102
    ^^^^^^^^^^^^^^^^^^^^^
  File "/builddir/build/BUILD/hl7-0.3.3/docs/conf.py", line 20, in <module>
    import hl7
  File "/builddir/build/BUILD/hl7-0.3.3/hl7/__init__.py", line 19, in <module>
    from .parser import parse
  File "/builddir/build/BUILD/hl7-0.3.3/hl7/parser.py", line 3, in <module>
    import six
ModuleNotFoundError: No module named 'six'


PR fixing this: https://src.fedoraproject.org/rpms/python-hl7/pull-request/2

For the build logs, see:
https://copr-be.cloud.fedoraproject.org/results/@python/python3.13/fedora-rawhide-x86_64/06572947-python-hl7/

For all our attempts to build python-hl7 with Python 3.13, see:
https://copr.fedorainfracloud.org/coprs/g/python/python3.13/package/python-hl7/

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:
https://copr.fedorainfracloud.org/coprs/g/python/python3.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 https://koschei.fedoraproject.org/package/python-hl7 this also fails to build in Rawhide and Fedora 39.

The cause is likely https://src.fedoraproject.org/rpms/python-urllib3/pull-request/25 (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.