Closed kloczek closed 2 years ago
Here is pytest output:
+ PYTHONPATH=/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-0.7.1-2.fc35.x86_64/usr/lib64/python3.8/site-packages:/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-0.7.1-2.fc35.x86_64/usr/lib/python3.8/site-packages
+ /usr/bin/pytest -ra -q
=========================================================================== test session starts ============================================================================
platform linux -- Python 3.8.13, pytest-7.1.1, pluggy-1.0.0
rootdir: /home/tkloczko/rpmbuild/BUILD/validate-pyproject-0.7.1, configfile: setup.cfg, testpaths: tests
plugins: cov-3.0.0
collected 309 items
tests/test_api.py FFFFFFFFFFF [ 3%]
tests/test_cli.py ...FFFFF..FFFFF [ 8%]
tests/test_error_reporting.py ...... [ 10%]
tests/test_examples.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 27%]
tests/test_formats.py .............................................................................................................................................. [ 73%]
...... [ 75%]
tests/test_json_schema_summary.py ........... [ 79%]
tests/test_plugins.py .... [ 80%]
tests/test_pre_compile.py FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF [ 98%]
tests/test_vendoring.py FFF [ 99%]
tests/pre_compile/test_cli.py . [100%]
================================================================================= FAILURES =================================================================================
[..]
---------------------------------------------------------------------------- Captured log call -----------------------------------------------------------------------------
ERROR validate_pyproject:cli.py:174 FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-0.7.1-2.fc35.x86_64/usr/lib/python3.8/site-packages/validate_pyproject/pyproject_toml.schema.json'
---------- coverage: platform linux, python 3.8.13-final-0 -----------
Name Stmts Miss Branch BrPart Cover Missing
--------------------------------------------------------------------------------------------
src/validate_pyproject/__init__.py 6 0 0 0 100%
src/validate_pyproject/api.py 130 61 28 0 50% 97-124, 129, 134, 137-145, 148, 151, 154, 166-167, 170-173, 176, 179, 183, 209, 213, 218, 223, 228, 232-236, 240, 243-250
src/validate_pyproject/cli.py 93 11 30 1 87% 171-172, 194-200, 220-222
src/validate_pyproject/error_reporting.py 165 1 68 1 99% 263
src/validate_pyproject/errors.py 17 7 6 0 70% 20-22, 32-33, 43-44
src/validate_pyproject/extra_validations.py 16 10 6 0 36% 22-33
src/validate_pyproject/formats.py 118 2 38 0 99% 175-176
src/validate_pyproject/plugins/__init__.py 46 0 14 1 98% 106->109
src/validate_pyproject/pre_compile/__init__.py 63 40 6 0 33% 49-61, 65-67, 73-76, 80-84, 90-93, 99-110, 114, 135-136
src/validate_pyproject/pre_compile/cli.py 39 1 10 0 98% 83
src/validate_pyproject/types.py 7 0 0 0 100%
src/validate_pyproject/vendoring/__init__.py 13 0 0 0 100%
src/validate_pyproject/vendoring/cli.py 6 0 0 0 100%
--------------------------------------------------------------------------------------------
TOTAL 719 133 206 3 82%
========================================================================= short test summary info ==========================================================================
FAILED tests/test_api.py::test_load - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-0.7.1-2.fc35.x...
FAILED tests/test_api.py::test_load_plugin - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-0.7.1-2...
FAILED tests/test_api.py::TestRegistry::test_with_plugins - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-py...
FAILED tests/test_api.py::TestRegistry::test_incompatible_versions - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-va...
FAILED tests/test_api.py::TestRegistry::test_duplicated_id - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-p...
FAILED tests/test_api.py::TestRegistry::test_missing_id - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pypr...
FAILED tests/test_api.py::TestValidator::test_valid - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyprojec...
FAILED tests/test_api.py::TestValidator::test_invalid - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproj...
FAILED tests/test_api.py::TestValidator::test_plugin_not_enabled[distutils-setuptools] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_api.py::TestValidator::test_plugin_not_enabled[setuptools-distutils] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_api.py::TestValidator::test_invalid_but_plugin_not_enabled - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT...
FAILED tests/test_cli.py::TestEnable::test_parse[setuptools-distutils] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/pytho...
FAILED tests/test_cli.py::TestEnable::test_parse[distutils-setuptools] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/pytho...
FAILED tests/test_cli.py::TestEnable::test_valid - SystemExit: 1
FAILED tests/test_cli.py::TestEnable::test_invalid - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject...
FAILED tests/test_cli.py::TestEnable::test_invalid_not_enabled - SystemExit: 1
FAILED tests/test_cli.py::TestDisable::test_valid - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-...
FAILED tests/test_cli.py::TestDisable::test_invalid - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyprojec...
FAILED tests/test_cli.py::TestDisable::test_invalid_disabled - SystemExit: 1
FAILED tests/test_cli.py::TestOutput::test_valid - SystemExit: 1
FAILED tests/test_cli.py::TestOutput::test_invalid - assert '`tool.setuptools.zip-safe` must be boolean' in "error validate_pyproject:cli.py:174 filenotfounderror: [e...
FAILED tests/test_examples.py::test_examples_api[atoml/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/pytho...
FAILED tests/test_examples.py::test_examples_api[flit/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python...
FAILED tests/test_examples.py::test_examples_api[pdm/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-...
FAILED tests/test_examples.py::test_examples_api[pep_text/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/py...
FAILED tests/test_examples.py::test_examples_api[pretend-setuptools/01-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_api[pretend-setuptools/02-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_api[pretend-setuptools/03-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_api[pretend-setuptools/04-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_api[pretend-setuptools/05-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_api[pretend-setuptools/06-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_api[pretend-setuptools/07-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_api[simple/dynamic-version.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROO...
FAILED tests/test_examples.py::test_examples_api[simple/minimal.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python...
FAILED tests/test_examples.py::test_examples_api[trampolim/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/p...
FAILED tests/test_examples.py::test_examples_cli[atoml/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/pytho...
FAILED tests/test_examples.py::test_examples_cli[flit/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python...
FAILED tests/test_examples.py::test_examples_cli[pdm/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-...
FAILED tests/test_examples.py::test_examples_cli[pep_text/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/py...
FAILED tests/test_examples.py::test_examples_cli[pretend-setuptools/01-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_cli[pretend-setuptools/02-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_cli[pretend-setuptools/03-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_cli[pretend-setuptools/04-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_cli[pretend-setuptools/05-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_cli[pretend-setuptools/06-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_cli[pretend-setuptools/07-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild...
FAILED tests/test_examples.py::test_examples_cli[simple/dynamic-version.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROO...
FAILED tests/test_examples.py::test_examples_cli[simple/minimal.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python...
FAILED tests/test_examples.py::test_examples_cli[trampolim/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/p...
FAILED tests/test_examples.py::test_invalid_examples_api[pdm/invalid-version/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rp...
FAILED tests/test_examples.py::test_invalid_examples_api[pdm/redefining-as-dynamic/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloc...
FAILED tests/test_examples.py::test_invalid_examples_api[pep621/missing-fields/missing-version-with-dynamic.toml] - FileNotFoundError: [Errno 2] No such file or director...
FAILED tests/test_examples.py::test_invalid_examples_api[pep621/missing-fields/missing-version.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkl...
FAILED tests/test_examples.py::test_invalid_examples_api[pep621/non-standardised-project-fields/author_instead_of_authors.toml] - FileNotFoundError: [Errno 2] No such fi...
FAILED tests/test_examples.py::test_invalid_examples_api[pep621/non-standardised-project-fields/requires_instead_of_dependencies.toml] - FileNotFoundError: [Errno 2] No ...
FAILED tests/test_examples.py::test_invalid_examples_api[pretend-setuptools/cmdclass/invalid-value.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home...
FAILED tests/test_examples.py::test_invalid_examples_api[pretend-setuptools/package-dir/invalid-name.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/ho...
FAILED tests/test_examples.py::test_invalid_examples_api[pretend-setuptools/packages/missing-find-arguments.toml] - FileNotFoundError: [Errno 2] No such file or director...
FAILED tests/test_examples.py::test_invalid_examples_api[pretend-setuptools/pep621/license/both-text-and-file.toml] - FileNotFoundError: [Errno 2] No such file or direct...
FAILED tests/test_examples.py::test_invalid_examples_api[pretend-setuptools/pep621/license/empty.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/t...
FAILED tests/test_examples.py::test_invalid_examples_api[pretend-setuptools/pep621/readme/readme-as-array.toml] - FileNotFoundError: [Errno 2] No such file or directory:...
FAILED tests/test_examples.py::test_invalid_examples_api[pretend-setuptools/pep621/readme/readme-without-content-type.toml] - FileNotFoundError: [Errno 2] No such file o...
FAILED tests/test_examples.py::test_invalid_examples_cli[pdm/invalid-version/pyproject.toml] - assert '`project.version` must be string' in "ERROR validate_pyproject:...
FAILED tests/test_examples.py::test_invalid_examples_cli[pdm/redefining-as-dynamic/pyproject.toml] - assert 'You cannot provide a value for `project.classifiers` and lis...
FAILED tests/test_examples.py::test_invalid_examples_cli[pep621/missing-fields/missing-version-with-dynamic.toml] - assert "`project` must contain ['version'] properties...
FAILED tests/test_examples.py::test_invalid_examples_cli[pep621/missing-fields/missing-version.toml] - assert "`project` must contain ['version'] properties" in "ERROR ...
FAILED tests/test_examples.py::test_invalid_examples_cli[pep621/non-standardised-project-fields/author_instead_of_authors.toml] - assert "`project` must not contain {'au...
FAILED tests/test_examples.py::test_invalid_examples_cli[pep621/non-standardised-project-fields/requires_instead_of_dependencies.toml] - assert "`project` must not conta...
FAILED tests/test_examples.py::test_invalid_examples_cli[pretend-setuptools/cmdclass/invalid-value.toml] - assert '`tool.setuptools.cmdclass.sdist` must be python-qualif...
FAILED tests/test_examples.py::test_invalid_examples_cli[pretend-setuptools/package-dir/invalid-name.toml] - assert '`tool.setuptools.package-dir` keys must be named by'...
FAILED tests/test_examples.py::test_invalid_examples_cli[pretend-setuptools/packages/missing-find-arguments.toml] - assert '`tool.setuptools.packages` must be valid exac...
FAILED tests/test_examples.py::test_invalid_examples_cli[pretend-setuptools/pep621/license/both-text-and-file.toml] - assert '`project.license` must be valid exactly by ...
FAILED tests/test_examples.py::test_invalid_examples_cli[pretend-setuptools/pep621/license/empty.toml] - assert '`project.license` must be valid exactly by one definitio...
FAILED tests/test_examples.py::test_invalid_examples_cli[pretend-setuptools/pep621/readme/readme-as-array.toml] - assert '`project.readme` must be valid exactly by one d...
FAILED tests/test_examples.py::test_invalid_examples_cli[pretend-setuptools/pep621/readme/readme-without-content-type.toml] - assert '`project.readme` must be valid exac...
FAILED tests/test_pre_compile.py::test_pre_compile_api - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pypro...
FAILED tests/test_pre_compile.py::test_vendoring_cli - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproje...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-atoml/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbu...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-flit/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbui...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pdm/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuil...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pep_text/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rp...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pretend-setuptools/01-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pretend-setuptools/02-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pretend-setuptools/03-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pretend-setuptools/04-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pretend-setuptools/05-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pretend-setuptools/06-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-pretend-setuptools/07-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-simple/dynamic-version.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczk...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-simple/minimal.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbui...
FAILED tests/test_pre_compile.py::test_examples_api[api_pre_compile-trampolim/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/r...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-atoml/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbu...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-flit/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbui...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pdm/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuil...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pep_text/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rp...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pretend-setuptools/01-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pretend-setuptools/02-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pretend-setuptools/03-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pretend-setuptools/04-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pretend-setuptools/05-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pretend-setuptools/06-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-pretend-setuptools/07-pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/hom...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-simple/dynamic-version.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczk...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-simple/minimal.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbui...
FAILED tests/test_pre_compile.py::test_examples_api[cli_pre_compile-trampolim/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/r...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pdm/invalid-version/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory:...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pdm/redefining-as-dynamic/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or dire...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pep621/missing-fields/missing-version-with-dynamic.toml] - FileNotFoundError: [Errno 2] No su...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pep621/missing-fields/missing-version.toml] - FileNotFoundError: [Errno 2] No such file or di...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pep621/non-standardised-project-fields/author_instead_of_authors.toml] - FileNotFoundError: [...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pep621/non-standardised-project-fields/requires_instead_of_dependencies.toml] - FileNotFoundE...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pretend-setuptools/cmdclass/invalid-value.toml] - FileNotFoundError: [Errno 2] No such file o...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pretend-setuptools/package-dir/invalid-name.toml] - FileNotFoundError: [Errno 2] No such file...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pretend-setuptools/packages/missing-find-arguments.toml] - FileNotFoundError: [Errno 2] No su...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pretend-setuptools/pep621/license/both-text-and-file.toml] - FileNotFoundError: [Errno 2] No ...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pretend-setuptools/pep621/license/empty.toml] - FileNotFoundError: [Errno 2] No such file or ...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pretend-setuptools/pep621/readme/readme-as-array.toml] - FileNotFoundError: [Errno 2] No such...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[api_pre_compile-pretend-setuptools/pep621/readme/readme-without-content-type.toml] - FileNotFoundError: [Errn...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pdm/invalid-version/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or directory:...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pdm/redefining-as-dynamic/pyproject.toml] - FileNotFoundError: [Errno 2] No such file or dire...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pep621/missing-fields/missing-version-with-dynamic.toml] - FileNotFoundError: [Errno 2] No su...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pep621/missing-fields/missing-version.toml] - FileNotFoundError: [Errno 2] No such file or di...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pep621/non-standardised-project-fields/author_instead_of_authors.toml] - FileNotFoundError: [...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pep621/non-standardised-project-fields/requires_instead_of_dependencies.toml] - FileNotFoundE...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pretend-setuptools/cmdclass/invalid-value.toml] - FileNotFoundError: [Errno 2] No such file o...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pretend-setuptools/package-dir/invalid-name.toml] - FileNotFoundError: [Errno 2] No such file...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pretend-setuptools/packages/missing-find-arguments.toml] - FileNotFoundError: [Errno 2] No su...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pretend-setuptools/pep621/license/both-text-and-file.toml] - FileNotFoundError: [Errno 2] No ...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pretend-setuptools/pep621/license/empty.toml] - FileNotFoundError: [Errno 2] No such file or ...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pretend-setuptools/pep621/readme/readme-as-array.toml] - FileNotFoundError: [Errno 2] No such...
FAILED tests/test_pre_compile.py::test_invalid_examples_api[cli_pre_compile-pretend-setuptools/pep621/readme/readme-without-content-type.toml] - FileNotFoundError: [Errn...
FAILED tests/test_vendoring.py::test_api - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-0.7.1-2.f...
FAILED tests/test_vendoring.py::test_cli - FileNotFoundError: [Errno 2] No such file or directory: '/home/tkloczko/rpmbuild/BUILDROOT/python-validate-pyproject-0.7.1-2.f...
FAILED tests/test_vendoring.py::test_main - SystemExit: 1
===================================================================== 134 failed, 175 passed in 10.21s =====================================================================
Full pytest log in attachment python-validate-pyproject.txt
Hi @kloczek thank you very much for pointing this out.
Unfortunately this project was not designed to work with this test methodology.
Currently, the only supported way of testing this project is via tox
.
If you want to add support for this test methodology, please feel free to open a PR. I will be more than happy to have a look.
Currently this feature is not on my personal radar.
Unfortunately this project was not designed to work with this test methodology. Currently, the only supported way of testing this project is via
tox
.
Looks like src/validate_pyproject/*.schema.json fles are not packaged into .whl when pep517 build procedure is used.
Without those files test suite of the ini2toml
modules is failing.
This is what is packaged into. whl archive
[tkloczko@devel-g2v dist]$ unzip -l validate_pyproject-0.7.1-py3-none-any.whl
Archive: validate_pyproject-0.7.1-py3-none-any.whl
Length Date Time Name
--------- ---------- ----- ----
589 03-30-2022 20:03 validate_pyproject/__init__.py
30 03-30-2022 20:03 validate_pyproject/__main__.py
8721 03-30-2022 20:03 validate_pyproject/api.py
7018 03-30-2022 20:03 validate_pyproject/cli.py
11263 03-30-2022 20:03 validate_pyproject/error_reporting.py
1634 03-30-2022 20:03 validate_pyproject/errors.py
1178 03-30-2022 20:03 validate_pyproject/extra_validations.py
8647 03-30-2022 20:03 validate_pyproject/formats.py
821 03-30-2022 20:03 validate_pyproject/types.py
0 03-30-2022 20:03 validate_pyproject/_vendor/__init__.py
8769 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/__init__.py
312 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/__main__.py
29451 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/draft04.py
7661 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/draft06.py
4222 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/draft07.py
1612 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/exceptions.py
12576 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/generator.py
920 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/indent.py
5527 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/ref_resolver.py
19 03-30-2022 20:03 validate_pyproject/_vendor/fastjsonschema/version.py
4088 03-30-2022 20:03 validate_pyproject/plugins/__init__.py
4718 03-30-2022 20:03 validate_pyproject/pre_compile/__init__.py
61 03-30-2022 20:03 validate_pyproject/pre_compile/__main__.py
2939 03-30-2022 20:03 validate_pyproject/pre_compile/cli.py
624 03-30-2022 20:03 validate_pyproject/vendoring/__init__.py
61 03-30-2022 20:03 validate_pyproject/vendoring/__main__.py
222 03-30-2022 20:03 validate_pyproject/vendoring/cli.py
15922 04-06-2022 08:30 validate_pyproject-0.7.1.dist-info/LICENSE.txt
8008 04-06-2022 08:30 validate_pyproject-0.7.1.dist-info/METADATA
92 04-06-2022 08:30 validate_pyproject-0.7.1.dist-info/WHEEL
212 04-06-2022 08:30 validate_pyproject-0.7.1.dist-info/entry_points.txt
19 04-06-2022 08:30 validate_pyproject-0.7.1.dist-info/top_level.txt
3191 04-06-2022 08:30 validate_pyproject-0.7.1.dist-info/RECORD
--------- -------
151127 33 files
I see that in source tree is more .json files. Q: What exactly needs to be installed? only src/validate_pyproject/schema.json files or all those files? I see that in source tree are as well some .template files.
Everything inside src.
The combination of setuptools-scm, git and include_package_data should do the trick.
All these files should be included in the wheel published to PyPI. If the files are not published to the wheel in PyPi then definitely it is a problem.
Everything inside src.
The combination of setuptools-scm, git and include_package_data should do the trick.
So again: looks like validate-pyproject
is not pep517 ready and all not listed above files needs to be listed in include list (in pyproject.toml).
Usind setuptools
build is already marked as deprecated.
That is an unfair accusation.
It is completely PEP 517 ready. setuptools-scm
is already included in pyproject.toml
.
include_package_data=True
is set insetup.cfg
. git
is the VCS system of choice.
The release process is completely automated using build isolation and the artifacts uploaded to PyPI contains the files. NO python setup.py ...
command is used anywhere in this process.
Please review your setup to match the one that is supported by the project.
If there is a limitation on your setup, I am more than happy to consider a PR that would make things easier for you.
The release process is completely automated using build isolation and the artifacts uploaded to PyPI contains the files. NO
python setup.py ...
command is used anywhere in this process.
If you are using build isolation it meands that build
creates venv and installs inside of that venv all modules DOWLOADED (as .whl archives) from public network.
Please try to do that with --no-isolation
relaing only on locally installed modules.
Here is log of building .whl archive
+ SETUPTOOLS_SCM_PRETEND_VERSION=0.7.1
+ /usr/bin/python3 -sBm build -w --no-isolation
* Getting dependencies for wheel...
running egg_info
creating src/validate_pyproject.egg-info
writing src/validate_pyproject.egg-info/PKG-INFO
writing dependency_links to src/validate_pyproject.egg-info/dependency_links.txt
writing entry points to src/validate_pyproject.egg-info/entry_points.txt
writing requirements to src/validate_pyproject.egg-info/requires.txt
writing top-level names to src/validate_pyproject.egg-info/top_level.txt
writing manifest file 'src/validate_pyproject.egg-info/SOURCES.txt'
listing git files failed - pretending there aren't any
reading manifest file 'src/validate_pyproject.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'src/validate_pyproject.egg-info/SOURCES.txt'
* Building wheel...
running bdist_wheel
running build
running build_py
creating build
creating build/lib
creating build/lib/validate_pyproject
copying src/validate_pyproject/__init__.py -> build/lib/validate_pyproject
copying src/validate_pyproject/__main__.py -> build/lib/validate_pyproject
copying src/validate_pyproject/api.py -> build/lib/validate_pyproject
copying src/validate_pyproject/cli.py -> build/lib/validate_pyproject
copying src/validate_pyproject/error_reporting.py -> build/lib/validate_pyproject
copying src/validate_pyproject/errors.py -> build/lib/validate_pyproject
copying src/validate_pyproject/extra_validations.py -> build/lib/validate_pyproject
copying src/validate_pyproject/formats.py -> build/lib/validate_pyproject
copying src/validate_pyproject/types.py -> build/lib/validate_pyproject
creating build/lib/validate_pyproject/_vendor
copying src/validate_pyproject/_vendor/__init__.py -> build/lib/validate_pyproject/_vendor
creating build/lib/validate_pyproject/plugins
copying src/validate_pyproject/plugins/__init__.py -> build/lib/validate_pyproject/plugins
creating build/lib/validate_pyproject/pre_compile
copying src/validate_pyproject/pre_compile/__init__.py -> build/lib/validate_pyproject/pre_compile
copying src/validate_pyproject/pre_compile/__main__.py -> build/lib/validate_pyproject/pre_compile
copying src/validate_pyproject/pre_compile/cli.py -> build/lib/validate_pyproject/pre_compile
creating build/lib/validate_pyproject/vendoring
copying src/validate_pyproject/vendoring/__init__.py -> build/lib/validate_pyproject/vendoring
copying src/validate_pyproject/vendoring/__main__.py -> build/lib/validate_pyproject/vendoring
copying src/validate_pyproject/vendoring/cli.py -> build/lib/validate_pyproject/vendoring
creating build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/__init__.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/__main__.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/draft04.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/draft06.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/draft07.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/exceptions.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/generator.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/indent.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/ref_resolver.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
copying src/validate_pyproject/_vendor/fastjsonschema/version.py -> build/lib/validate_pyproject/_vendor/fastjsonschema
running egg_info
writing src/validate_pyproject.egg-info/PKG-INFO
writing dependency_links to src/validate_pyproject.egg-info/dependency_links.txt
writing entry points to src/validate_pyproject.egg-info/entry_points.txt
writing requirements to src/validate_pyproject.egg-info/requires.txt
writing top-level names to src/validate_pyproject.egg-info/top_level.txt
listing git files failed - pretending there aren't any
reading manifest file 'src/validate_pyproject.egg-info/SOURCES.txt'
adding license file 'LICENSE.txt'
writing manifest file 'src/validate_pyproject.egg-info/SOURCES.txt'
installing to build/bdist.linux-x86_64/wheel
running install
running install_lib
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/wheel
creating build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/__init__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/__main__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/api.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/cli.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/error_reporting.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/errors.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/extra_validations.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/formats.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
copying build/lib/validate_pyproject/types.py -> build/bdist.linux-x86_64/wheel/validate_pyproject
creating build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor
copying build/lib/validate_pyproject/_vendor/__init__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor
creating build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/__init__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/__main__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/draft04.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/draft06.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/draft07.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/exceptions.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/generator.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/indent.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/ref_resolver.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
copying build/lib/validate_pyproject/_vendor/fastjsonschema/version.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/_vendor/fastjsonschema
creating build/bdist.linux-x86_64/wheel/validate_pyproject/plugins
copying build/lib/validate_pyproject/plugins/__init__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/plugins
creating build/bdist.linux-x86_64/wheel/validate_pyproject/pre_compile
copying build/lib/validate_pyproject/pre_compile/__init__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/pre_compile
copying build/lib/validate_pyproject/pre_compile/__main__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/pre_compile
copying build/lib/validate_pyproject/pre_compile/cli.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/pre_compile
creating build/bdist.linux-x86_64/wheel/validate_pyproject/vendoring
copying build/lib/validate_pyproject/vendoring/__init__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/vendoring
copying build/lib/validate_pyproject/vendoring/__main__.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/vendoring
copying build/lib/validate_pyproject/vendoring/cli.py -> build/bdist.linux-x86_64/wheel/validate_pyproject/vendoring
running install_egg_info
Copying src/validate_pyproject.egg-info to build/bdist.linux-x86_64/wheel/validate_pyproject-0.7.1-py3.8.egg-info
running install_scripts
adding license file "LICENSE.txt" (matched pattern "LICENSE.txt")
creating build/bdist.linux-x86_64/wheel/validate_pyproject-0.7.1.dist-info/WHEEL
creating '/home/tkloczko/rpmbuild/BUILD/validate-pyproject-0.7.1/dist/tmpf45g2rsl/validate_pyproject-0.7.1-py3-none-any.whl' and adding 'build/bdist.linux-x86_64/wheel' to it
adding 'validate_pyproject/__init__.py'
adding 'validate_pyproject/__main__.py'
adding 'validate_pyproject/api.py'
adding 'validate_pyproject/cli.py'
adding 'validate_pyproject/error_reporting.py'
adding 'validate_pyproject/errors.py'
adding 'validate_pyproject/extra_validations.py'
adding 'validate_pyproject/formats.py'
adding 'validate_pyproject/types.py'
adding 'validate_pyproject/_vendor/__init__.py'
adding 'validate_pyproject/_vendor/fastjsonschema/__init__.py'
adding 'validate_pyproject/_vendor/fastjsonschema/__main__.py'
adding 'validate_pyproject/_vendor/fastjsonschema/draft04.py'
adding 'validate_pyproject/_vendor/fastjsonschema/draft06.py'
adding 'validate_pyproject/_vendor/fastjsonschema/draft07.py'
adding 'validate_pyproject/_vendor/fastjsonschema/exceptions.py'
adding 'validate_pyproject/_vendor/fastjsonschema/generator.py'
adding 'validate_pyproject/_vendor/fastjsonschema/indent.py'
adding 'validate_pyproject/_vendor/fastjsonschema/ref_resolver.py'
adding 'validate_pyproject/_vendor/fastjsonschema/version.py'
adding 'validate_pyproject/plugins/__init__.py'
adding 'validate_pyproject/pre_compile/__init__.py'
adding 'validate_pyproject/pre_compile/__main__.py'
adding 'validate_pyproject/pre_compile/cli.py'
adding 'validate_pyproject/vendoring/__init__.py'
adding 'validate_pyproject/vendoring/__main__.py'
adding 'validate_pyproject/vendoring/cli.py'
adding 'validate_pyproject-0.7.1.dist-info/LICENSE.txt'
adding 'validate_pyproject-0.7.1.dist-info/METADATA'
adding 'validate_pyproject-0.7.1.dist-info/WHEEL'
adding 'validate_pyproject-0.7.1.dist-info/entry_points.txt'
adding 'validate_pyproject-0.7.1.dist-info/top_level.txt'
adding 'validate_pyproject-0.7.1.dist-info/RECORD'
removing build/bdist.linux-x86_64/wheel
Successfully built validate_pyproject-0.7.1-py3-none-any.whl
As you see none of the.json or tempalte files are added.
Here is list of modules installed in build env
Package Version
----------------------------- -----------------
alabaster 0.7.12
attrs 21.4.0
Babel 2.9.1
build 0.7.0
charset-normalizer 2.0.12
coverage 6.3.2
cycler 0.11.0
distro 1.7.0
docutils 0.17.1
extras 1.0.0
fixtures 3.0.0
fonttools 4.31.2
gpg 1.17.1-unknown
idna 3.3
imagesize 1.3.0
importlib-metadata 4.11.3
iniconfig 1.1.1
Jinja2 3.1.1
jsonpointer 2.2
kiwisolver 1.3.2
libcomps 0.1.18
MarkupSafe 2.1.1
matplotlib 3.5.1
numpy 1.22.3
olefile 0.46
packaging 21.3
pbr 5.8.0
pep517 0.12.0
Pillow 9.1.0
pip 22.0.4
pluggy 1.0.0
py 1.11.0
Pygments 2.11.2
PyGObject 3.42.0
pyparsing 3.0.7
pytest 7.1.1
pytest-cov 3.0.0
python-dateutil 2.8.2
pytz 2022.1
PyYAML 6.0
requests 2.27.1
rpm 4.17.0
setuptools 60.9.3
setuptools-scm 6.4.2
six 1.16.0
snowballstemmer 2.2.0
Sphinx 4.5.0.dev20220404
sphinx-argparse 0.3.1
sphinx-copybutton 0.4.0
sphinx-jsonschema 1.17.2
sphinxcontrib-applehelp 1.0.2.dev20220108
sphinxcontrib-devhelp 1.0.2.dev20220108
sphinxcontrib-htmlhelp 2.0.0
sphinxcontrib-jsmath 1.0.1.dev20220108
sphinxcontrib-qthelp 1.0.3.dev20220108
sphinxcontrib-serializinghtml 1.1.5
sphinxemoji 0.2.0
testtools 2.5.0
tomli 2.0.1
urllib3 1.26.8
wheel 0.37.1
zipp 3.8.0
It is completely PEP 517 ready. setuptools-scm is already included in pyproject.toml. include_package_data=True is set insetup.cfg. git is the VCS system of choice.
I think that I know where is the issue. Data files needs to be listed in MANIFEST.in. That file is not present in validate-pyproject
source tree.
Hi @kloczek , when using setuptools-scm
, MANIFEST.in
is not required.
Please make sure to clone the repository from git instead of downloading tar balls. The existence of the .git
directory is required.
Currently the only supported way to build this project is via git clone + the standard build isolation. --no-isolation
is not supported.
If you would like to see support for this feature, please feel free to submit a PR.
Just please observe the following guidelines:
I'm trying to package your module as an rpm package. So I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account.
python3 -sBm build -w --no-isolation
build
with--no-isolation
I'm using during all processes only locally installed modules