Uploaded image for project: 'RHEL'
  1. RHEL
  2. RHEL-91197

Update python-trove-classifiers to a more recent upstream version

Linking RHIVOS CVEs to...Migration: Automation ...SWIFT: POC ConversionSync from "Extern...XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Undefined Undefined
    • rhel-10.1
    • CentOS Stream 10
    • None
    • python-trove-classifiers-2025.5.9.12-1.el10
    • No
    • Moderate
    • 1
    • rhel-pt-python
    • ssg_platform_tools
    • 1
    • False
    • False
    • Hide

      None

      Show
      None
    • No
    • PT Python 2025 S06
    • Unspecified Release Note Type - Unknown
    • Unspecified
    • Unspecified
    • Unspecified
    • None

      When trying to build modern Python packages with hatchling on EPEL 10, I often get errors like:

      Traceback (most recent call last):
        File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 721, in main
          generate_requires(
        File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 611, in generate_requires
          generate_run_requirements(backend, requirements, build_wheel=build_wheel,
        File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 415, in generate_run_requirements
          generate_run_requirements_hook(backend, requirements)
        File "/usr/lib/rpm/redhat/pyproject_buildrequires.py", line 329, in generate_run_requirements_hook
          dir_basename = prepare_metadata('.', config_settings=requirements.config_settings)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/hatchling/build.py", line 117, in prepare_metadata_for_build_wheel
          f.write(builder.config.core_metadata_constructor(builder.metadata))
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/hatchling/metadata/spec.py", line 567, in construct_metadata_file_2_4
          if metadata.core.classifiers:
             ^^^^^^^^^^^^^^^^^^^^^^^^^
        File "/usr/lib/python3.12/site-packages/hatchling/metadata/core.py", line 991, in classifiers
          raise ValueError(message)
      ValueError: Unknown classifier in field `project.classifiers`: Programming Language :: Python :: 3.14
      

      This is because the version of trove-classifiers in c10s is from 2023 and does not yet contain this classifier.

      Considering the package is in CRB and its purpose is merely to list classifiers supported by PyPI, we should regularly update it to the latest version.

              rhn-support-lzachar Lukas Zachar
              mhroncok@redhat.com Miro Hrončok
              Miro Hrončok Miro Hrončok
              Lukas Zachar Lukas Zachar
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: