Skip to content

Hardcoded /tmp/ paths in config break Windows compatibility (Need your help) #37

@Devguru-codes

Description

@Devguru-codes

Location

package/src/pyaslreport/core/config/allowed_file_types.yaml

Description

All intermediate file paths use /tmp/ which doesn't exist on Windows. This breaks cross-platform compatibility. Should use tempfile.gettempdir() or os.path.join(tempfile.gettempdir(), ...).

Status

I need your guidance in — whether this should be a YAML-level or Python-level fix (config values vs runtime resolution).

An advice towards the goal is what I need.
Thank you

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