Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
me-kell opened this issue Nov 24, 2022 · 0 comments

Comments

@me-kell
Copy link
Contributor

me-kell commented Nov 24, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant