Skip to content

[Docs] Example for declarative config contains deprecated data_files #2832

@abravalheri

Description

@abravalheri

Summary

According to the following references:

the usage of data_files is deprecated and does not work with wheels.

Therefore I think the best is to not include it in the main example on the declarative configuration docs (since it may give the wrong impression/idea to users).

Instead the best should be directing them to the datafiles support docs

OS / Environment

No response

Additional Information

The example is particularly controversial, since it includes files to be written to the /etc folder.

Example configuration

Code of Conduct

  • I agree to follow the PSF Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Needs TriageIssues that need to be evaluated for severity and status.documentation

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions