Skip to content

config-package does not update Plone version classifiers in setup.py #381

Description

@faro76

Describe the bug

When running config-package --branch current on a package that still defines its classifiers in setup.py (rather than setup.cfg or pyproject.toml), the Plone version classifier is not updated to reflect the current supported release.

To Reproduce

Steps to reproduce the behavior:

  1. Have a package with classifiers defined in setup.py (e.g. "Framework :: Plone :: 6.2")
  2. Run uvx --from=plone.meta config-package --branch current .
  3. Inspect setup.py — the classifier is unchanged

Expected behavior

The Plone version classifier in setup.py is updated to match the target branch (e.g. adding "Framework :: Plone :: 6.3"), or a warning is emitted telling the maintainer that classifiers in setup.py were not updated and must be handled manually

Software (please complete the following information):

  • Plone Version [e.g. 6.3.0]

Additional context

Package used is plone.app.registry

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions