Uploaded image for project: 'SPI'
  1. SPI
  2. SPI-1806

SWAN LCG software stack 99 - Issue with dataclass

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Low
    • Resolution: Fixed
    • None
    • None
    • SWAN, software stack 99, CentOS 7 gcc8

       

      All packages, that include dataclasses

    • ANY

    Description

      Hey,

       

      The new software stack on SWAN [stack 99] causes trouble when using dataclasses. Modules that include these run into the error:
      AttributeError: module 'typing' has no attribute '_ClassVar'

      I think this is related to the problem, that the software stack has still the module dataclasses version 0.7 installed, which is a backport for Python version 3.6. However, I think since Python 3.8. dataclasses are built-in and so the module should not be installed anymore, as it is not supported for this python version anymore. However, I'm not sure if this is really the case.

      Thank you very much for having a look into it! [Hope this is the right place to report this?]

      Cheers

      Marvin

      Attachments

        Activity

          People

            sailer Andre Sailer
            mjanitsc Marvin Janitschke
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: