Move test disable for bootstrapped Python projects to pyproject.mk
| | |
| | | %include-2% |
| | | # Since we cannot use the 'build' package to build itself we need to bootstrap. |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | | %hook-manifest% |
| | | # usr/bin/pyproject-build-3.7 does not use importlib.metadata. It uses importlib_metadata instead. |
| | | printf '<transform file path=usr/bin/pyproject-build-3\\.7$ -> add pkg.depend.bypass-generate .*/importlib/(64/)?metadata.* >\n' >> "$DISTRIBUTION-PYVER.p5m" |
| | |
| | | # - pep517 |
| | | # - typing_extensions |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | |
| | | # - build |
| | | # - wheel |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | |
| | | # bootstrapped too. |
| | | # - setuptools_scm |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | | %hook-manifest% |
| | | ( |
| | | cat "$SOURCE_DIR/LICENSE" |
| | |
| | | # bootstrapped too. |
| | | # - build |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | |
| | | # Python modules and it needs to be bootstrapped. |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # https://github.com/stanislavlevin/pyproject_installer/issues/13 |
| | | TEST_STYLE = none |
| | | |
| | | # This project requires Python >= 3.8. Once we add support for new Python |
| | | # version (>= 3.8), such version needs to be added to PYTHON_VERSIONS below. |
| | | # Once we obsolete Python 3.7 the PYTHON_VERSIONS line should be removed. |
| | |
| | | # - packaging |
| | | # - setuptools_scm |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | | %hook-manifest% |
| | | # usr/bin/pyproject-build-3.7 does not use importlib.metadata. It uses importlib_metadata instead. |
| | | #printf '<transform file path=usr/bin/pyproject-build-3\\.7$ -> add pkg.depend.bypass-generate .*/importlib/(64/)?metadata.* >\n' >> "$DISTRIBUTION-PYVER.p5m" |
| | |
| | | # bootstrapped too. |
| | | # - importlib_metadata |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | |
| | | # bootstrapped too. |
| | | # - build |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | |
| | | # bootstrapped too. |
| | | # - setuptools_scm |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | |
| | | # bootstrapped too. |
| | | # - packaging |
| | | PYTHON_BOOTSTRAP = yes |
| | | |
| | | # Disable tests because required packages are not available during bootstrap |
| | | TEST_STYLE = none |
| | | %hook-manifest% |
| | | # usr/bin/wheel-3.7 does not use importlib.metadata. It uses importlib_metadata instead. |
| | | printf '<transform file path=usr/bin/wheel-3\\.7$ -> add pkg.depend.bypass-generate .*/importlib/(64/)?metadata.* >\n' >> "$DISTRIBUTION-PYVER.p5m" |
| | |
| | | # Copyright 2022 Marcel Telka |
| | | # |
| | | |
| | | ifeq ($(strip $(PYTHON_BOOTSTRAP)),yes) |
| | | # Until we implement support for testing bootstrapped projects we simply |
| | | # disable tests for them because required packages (e.g. tox and/or pytest) are |
| | | # very likely not available during bootstrap so testing would very likely fail |
| | | # anyway. |
| | | TEST_STYLE = none |
| | | endif |
| | | |
| | | include $(WS_MAKE_RULES)/setup.py.mk |
| | | |
| | | PYTHON_BOOTSTRAP ?= no |