Skip to content

Can we include dateutil by default for spack-stack python? #1826

@guoqing-noaa

Description

@guoqing-noaa

Is your feature request related to a problem?

dateutil is an ultra-frequently-used package, can we include it by default for spack-stack Python?

Currently, people needs to do module load py-python-dateutil/2.8.2 separately.
Lots of people don't even know this exists.

When they get the following erros:

Traceback (most recent call last):
  File "/scratch3/BMC/wrfruc/gge/rrfs2/regressionTests/rrfs-workflow.20251121/workflow/./setup_rocoto.py", line 6, in <module>
    from rocoto_funcs.setup_xml import setup_xml
  File "/scratch3/BMC/wrfruc/gge/rrfs2/regressionTests/rrfs-workflow.20251121/workflow/rocoto_funcs/setup_xml.py", line 5, in <module>
    from rocoto_funcs.base import header_begin, header_entities, header_end, \
  File "/scratch3/BMC/wrfruc/gge/rrfs2/regressionTests/rrfs-workflow.20251121/workflow/rocoto_funcs/base.py", line 6, in <module>
    from dateutil.relativedelta import relativedelta
ModuleNotFoundError: No module named 'dateutil'

they may just think there is something wrong with the spack-stack Python and will try to find other Python that work.

Describe the solution you'd like

Add dateutil to the default stack-stack Python.

Additional context

None

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions