Skip to content

Errors with bobtemplates.plone with version >=6.0 caused by missing tox.ini file #533

@me-kell

Description

@me-kell

Description

Versions 6.0, 6.1, and 6.2 of bobtemplates.plone raise following errors (both in Linux and Windows):

ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
Error on isort-apply:
ERROR: tox config file (either pyproject.toml, tox.ini, setup.cfg) not found
Error on black-enforce:

With older versions 6.0bx or <=5.22 I didn't get any errors.

Older versions generated/copied a tox.ini file versions >=6.0 seems not to generate a tox.ini.

Probably caused by

Since version 6.0 the MANIFEST.in does global-exclude tox.ini.

Both bobtemplates.plone.utils.run_isort and bobtemplates.plone.utils.run_black start a subprocess calling tox which fails because there is no tox.ini.

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