From b39de16a110fbaa7c4b0f6449a9e6d9dff8534d6 Mon Sep 17 00:00:00 2001 From: Niklas Rosenstein Date: Wed, 8 Nov 2023 02:55:09 +0100 Subject: [PATCH] Merge kraken-common, kraken-core, kraken-std and kraken-wrapper into kraken-build (#125) * Merge kraken-common, kraken-core, kraken-std and kraken-wrapper into kraken-build * kraken-build/: improvement: Merge `kraken-common`, `kraken-core`, `kraken-std` and `kraken-wrapper` packages into a single `kraken-build` package. * Updated PR references in 1 changelogs. skip-checks: true * update CI, disable Selftest and Kraken-std integration tests, fix kraken-build/pyproject.toml * format imports with isort * upgrade Mypy python version * one more isort * adjustments * install poetry/pdm into CI environment * Move Python projects for integration tests into examples/ folder * also move Cargo examples for integration tests into examples/ folder * Improve Python integration tests by unsetting the locally activate virtual environment * fix install pdm in ci * comment out 3.11 and 3.12 for now because of Dill * update Python constraint due to Dill * add mention to readme that we cant use 3.11+ until Dill 0.3.8 is released (https://github.com/uqfoundation/dill/issues/595) * remove unused import * run rustup update to make sure cargo is available * use example_dir * fix * disable pyupgrade for now, we will do that in another MR for kraken-common and kraken-wrapper which is now elevated to 3.10+ * re-enable selftest * need poetry/rustup in selftest as well * improve integration test for Python when running locally where Poetry can cache a copy of the same wheel with a different hash from a previous test run * also fix PDM for repeated tests locally * mark deactivate_venv fixture as autouse * doctest fix --------- Co-authored-by: GitHub Action --- .github/workflows/python.yaml | 86 +++--- .github/workflows/selftest.yaml | 14 +- .../cargo-hello-world-app}/Cargo.toml | 0 .../cargo-hello-world-app}/src/main.rs | 0 .../cargo-hello-world-lib/.cargo/config.toml | 6 + .../cargo-hello-world-lib}/Cargo.lock | 0 .../cargo-hello-world-lib}/Cargo.toml | 0 .../cargo-hello-world-lib}/src/lib.rs | 0 .../docker/kraken.build.py | 0 .../.kraken.py | 0 .../bin/__init__.py | 0 .../examples/__init__.py | 0 .../pyproject.toml | 0 .../__init__.py | 0 .../pdm-project-consumer/.kraken.py | 0 .../pdm-project-consumer/README.md | 0 .../pdm-project-consumer/pyproject.toml | 0 .../src/pdm_project_consumer/__init__.py | 0 .../data => examples}/pdm-project/.kraken.py | 0 .../data => examples}/pdm-project/README.md | 0 .../pdm-project/pyproject.toml | 0 .../pdm-project/src/pdm_project/__init__.py | 0 .../poetry-project-consumer/.kraken.py | 0 .../poetry-project-consumer/pyproject.toml | 0 .../src/poetry_project_consumer/__init__.py | 0 .../poetry-project/.kraken.py | 0 .../poetry-project/pyproject.toml | 0 .../src/poetry_project/__init__.py | 0 .../rust-pdm-project-consumer/.kraken.py | 0 .../rust-pdm-project-consumer/pyproject.toml | 0 .../src/poetry_project_consumer/__init__.py | 0 .../rust-pdm-project/.kraken.py | 0 .../rust-pdm-project/Cargo.toml | 0 .../rust-pdm-project/maturin-project.pyi | 0 .../rust-pdm-project/pyproject.toml | 0 .../rust-pdm-project/src}/__init__.py | 0 .../rust-pdm-project/src/lib.rs | 0 .../rust-poetry-project-consumer/.kraken.py | 0 .../pyproject.toml | 0 .../src/poetry_project_consumer/__init__.py | 0 .../rust-poetry-project/.kraken.py | 0 .../rust-poetry-project/Cargo.toml | 0 .../rust-poetry-project/maturin-project.pyi | 0 .../rust-poetry-project/pyproject.toml | 0 .../rust-poetry-project/src}/__init__.py | 0 .../rust-poetry-project/src/lib.rs | 0 .../slap-project-consumer/.flake8 | 0 .../slap-project-consumer/.gitignore | 0 .../slap-project-consumer/.kraken.py | 0 .../slap-project-consumer}/LICENSE | 0 .../slap-project-consumer/pyproject.toml | 0 .../slap-project-consumer/readme.md | 0 .../src/slap_project_consumer/__init__.py | 0 .../src/slap_project_consumer}/py.typed | 0 .../tests/test_consumer_import.py | 0 .../data => examples}/slap-project/.flake8 | 0 .../data => examples}/slap-project/.gitignore | 0 .../data => examples}/slap-project/.kraken.py | 0 .../slap-project}/LICENSE | 0 .../slap-project/pyproject.toml | 0 .../data => examples}/slap-project/readme.md | 0 .../slap-project/src/slap_project/__init__.py | 0 .../slap-project/src/slap_project}/py.typed | 0 .../slap-project/tests/test_import.py | 0 .../version-project/pyproject.toml | 0 .../src/version_project/__init__.py | 0 .../.changelog/0.1.0.post1.toml | 1 + .../.changelog/0.1.1.toml | 11 +- .../.changelog/0.1.10.toml | 11 +- .../.changelog/0.1.11.toml | 8 + .../.changelog/0.1.12.toml | 11 + .../.changelog/0.1.13.toml | 9 + .../.changelog/0.1.14.toml | 10 +- .../.changelog/0.1.15.toml | 9 + kraken-build/.changelog/0.1.16.toml | 15 + .../.changelog/0.1.17.toml | 9 + kraken-build/.changelog/0.1.18.toml | 15 + .../.changelog/0.1.19.toml | 8 + .../.changelog/0.1.2.toml | 10 +- .../.changelog/0.1.20.toml | 7 + .../.changelog/0.1.21.toml | 9 + .../.changelog/0.1.22.toml | 18 +- .../.changelog/0.1.23.toml | 1 + .../.changelog/0.1.24.toml | 2 + .../.changelog/0.1.25.toml | 1 + .../.changelog/0.1.26.toml | 2 + .../.changelog/0.1.27.toml | 1 + .../.changelog/0.1.29.toml | 1 + .../.changelog/0.1.3.toml | 10 +- .../.changelog/0.1.30.toml | 4 + .../.changelog/0.1.31.toml | 1 + .../.changelog/0.1.32.toml | 2 + .../.changelog/0.1.33.toml | 2 + .../.changelog/0.1.34.toml | 1 + .../.changelog/0.1.35.toml | 2 + .../.changelog/0.1.36.toml | 9 + .../.changelog/0.1.37.toml | 1 + .../.changelog/0.1.38.toml | 1 + .../.changelog/0.1.39.toml | 1 + kraken-build/.changelog/0.1.4.toml | 15 + .../.changelog/0.1.40.toml | 1 + .../.changelog/0.1.41.toml | 1 + .../.changelog/0.1.42.toml | 2 + .../.changelog/0.1.43.toml | 1 + .../.changelog/0.1.44.toml | 1 + .../.changelog/0.1.45.toml | 2 + .../.changelog/0.1.46.toml | 1 + .../.changelog/0.1.5.toml | 10 + .../.changelog/0.1.6.toml | 1 + kraken-build/.changelog/0.1.7.toml | 15 + kraken-build/.changelog/0.1.8.toml | 22 ++ .../.changelog/0.1.9.toml | 11 +- .../.changelog/0.10.0.toml | 2 + .../.changelog/0.10.1.toml | 2 + .../.changelog/0.10.10.toml | 1 + .../.changelog/0.10.11.toml | 1 + .../.changelog/0.10.12.toml | 3 + .../.changelog/0.10.13.toml | 1 + .../.changelog/0.10.14.toml | 2 + .../.changelog/0.10.15.toml | 2 + .../.changelog/0.10.16.toml | 1 + .../.changelog/0.10.17.toml | 1 + .../.changelog/0.10.18.toml | 1 + .../.changelog/0.10.2.toml | 1 + .../.changelog/0.10.3.toml | 2 + .../.changelog/0.10.4.toml | 3 + .../.changelog/0.10.5.toml | 3 + .../.changelog/0.10.6.toml | 1 + .../.changelog/0.10.7.toml | 1 + .../.changelog/0.10.8.toml | 2 + .../.changelog/0.10.9.toml | 1 + .../.changelog/0.11.0.toml | 5 + .../.changelog/0.11.1.toml | 3 + .../.changelog/0.11.2.toml | 4 + .../.changelog/0.11.3.toml | 3 + .../.changelog/0.11.4.toml | 1 + .../.changelog/0.11.5.toml | 1 + .../.changelog/0.11.6.toml | 5 + .../.changelog/0.11.7.toml | 10 + .../.changelog/0.12.0.toml | 16 + .../.changelog/0.12.1.toml | 1 + .../.changelog/0.12.2.toml | 1 + .../.changelog/0.12.3.toml | 1 + .../.changelog/0.12.4.toml | 1 + .../.changelog/0.2.0.toml | 39 ++- kraken-build/.changelog/0.2.1.toml | 36 +++ .../.changelog/0.2.10.toml | 1 + .../.changelog/0.2.11.toml | 1 + .../.changelog/0.2.12.toml | 1 + .../.changelog/0.2.13.toml | 1 + .../.changelog/0.2.14.toml | 1 + .../.changelog/0.2.15.toml | 1 + .../.changelog/0.2.16.toml | 2 + .../.changelog/0.2.17.toml | 2 + .../.changelog/0.2.18.toml | 1 + .../.changelog/0.2.19.toml | 1 + .../.changelog/0.2.2.toml | 10 +- .../.changelog/0.2.3.toml | 8 + .../.changelog/0.2.4.toml | 19 ++ .../.changelog/0.2.5.toml | 4 + .../.changelog/0.2.6.toml | 1 + .../.changelog/0.2.7.toml | 3 + .../.changelog/0.2.9.toml | 3 + .../.changelog/0.20.0.toml | 5 + kraken-build/.changelog/0.20.1.toml | 22 ++ .../.changelog/0.20.2.toml | 7 + .../.changelog/0.20.3.toml | 1 + .../.changelog/0.20.4.toml | 1 + .../.changelog/0.23.4.toml | 1 + .../.changelog/0.23.5.toml | 11 + .../.changelog/0.23.6.toml | 1 + .../.changelog/0.23.7.toml | 1 + .../.changelog/0.24.0.toml | 11 + .../.changelog/0.24.1.toml | 1 + .../.changelog/0.24.2.toml | 1 + .../.changelog/0.24.3.toml | 1 + kraken-build/.changelog/0.25.0.toml | 49 +++ .../.changelog/0.26.0.toml | 51 ++++ .../.changelog/0.26.1.toml | 1 + kraken-build/.changelog/0.27.0.toml | 287 ++++++++++++++++++ .../.changelog/0.27.2.toml | 1 + .../.changelog/0.27.3.toml | 2 + .../.changelog/0.27.4.toml | 1 + .../.changelog/0.27.5.toml | 1 + .../.changelog/0.28.0.dev0.toml | 36 +++ .../.changelog/0.28.0.toml | 1 + .../.changelog/0.28.1.toml | 1 + .../.changelog/0.28.2.toml | 1 + .../.changelog/0.28.3.toml | 8 + .../.changelog/0.28.4.toml | 1 + .../.changelog/0.29.0.toml | 19 ++ .../.changelog/0.3.0.toml | 18 ++ .../.changelog/0.3.1.toml | 8 + .../.changelog/0.3.10.toml | 2 + .../.changelog/0.3.11.toml | 1 + .../.changelog/0.3.12.toml | 3 + .../.changelog/0.3.13.toml | 4 + .../.changelog/0.3.14.toml | 1 + .../.changelog/0.3.15.toml | 1 + .../.changelog/0.3.16.toml | 1 + .../.changelog/0.3.17.toml | 2 + .../.changelog/0.3.18.toml | 1 + .../.changelog/0.3.19.toml | 2 + .../.changelog/0.3.2.toml | 1 + .../.changelog/0.3.20.toml | 2 + .../.changelog/0.3.21.toml | 1 + .../.changelog/0.3.22.toml | 1 + .../.changelog/0.3.3.toml | 10 +- .../.changelog/0.3.4.toml | 11 +- kraken-build/.changelog/0.3.5.toml | 15 + .../.changelog/0.3.6.toml | 11 +- .../.changelog/0.3.7.toml | 9 + .../.changelog/0.3.8.toml | 1 + .../.changelog/0.3.9.toml | 1 + .../.changelog/0.30.0.toml | 18 ++ .../.changelog/0.30.1.toml | 18 ++ .../.changelog/0.30.2.toml | 1 + .../.changelog/0.30.4.toml | 1 + .../.changelog/0.31.0.toml | 16 + .../.changelog/0.31.1.toml | 19 ++ .../.changelog/0.31.2.toml | 1 + .../.changelog/0.31.3.toml | 19 ++ kraken-build/.changelog/0.31.4.toml | 49 +++ .../.changelog/0.31.5.toml | 1 + .../.changelog/0.31.6.toml | 2 + .../.changelog/0.31.7.toml | 2 + .../.changelog/0.4.0.toml | 9 + .../.changelog/0.4.1.toml | 1 + .../.changelog/0.4.10.toml | 1 + .../.changelog/0.4.11.toml | 1 + .../.changelog/0.4.12.toml | 1 + .../.changelog/0.4.13.toml | 1 + .../.changelog/0.4.14.toml | 4 + .../.changelog/0.4.15.toml | 2 + .../.changelog/0.4.16.toml | 1 + .../.changelog/0.4.17.toml | 1 + .../.changelog/0.4.18.toml | 1 + .../.changelog/0.4.19.toml | 5 + .../.changelog/0.4.2.toml | 8 + .../.changelog/0.4.20.toml | 3 + .../.changelog/0.4.21.toml | 2 + .../.changelog/0.4.3.toml | 11 +- .../.changelog/0.4.4.toml | 2 + .../.changelog/0.4.5.toml | 1 + .../.changelog/0.4.6.toml | 2 + .../.changelog/0.4.7.toml | 1 + .../.changelog/0.4.8.toml | 1 + .../.changelog/0.4.9.toml | 1 + kraken-build/.changelog/0.5.0.toml | 36 +++ kraken-build/.changelog/0.5.1.toml | 22 ++ .../.changelog/0.5.10.toml | 3 + .../.changelog/0.5.11.toml | 1 + .../.changelog/0.5.12.toml | 3 + .../.changelog/0.5.13.toml | 1 + .../.changelog/0.5.14.toml | 1 + .../.changelog/0.5.15.toml | 1 + .../.changelog/0.5.16.toml | 2 + .../.changelog/0.5.17.toml | 1 + .../.changelog/0.5.18.toml | 1 + .../.changelog/0.5.19.toml | 1 + .../.changelog/0.5.2.toml | 11 +- .../.changelog/0.5.20.toml | 2 + .../.changelog/0.5.21.toml | 1 + .../.changelog/0.5.22.toml | 1 + .../.changelog/0.5.23.toml | 1 + .../.changelog/0.5.24.toml | 6 + .../.changelog/0.5.3.toml | 19 ++ kraken-build/.changelog/0.5.4.toml | 25 ++ .../.changelog/0.5.5.toml | 2 + .../.changelog/0.5.6.toml | 2 + .../.changelog/0.5.8.toml | 1 + .../.changelog/0.5.9.toml | 1 + .../.changelog/0.6.0.toml | 9 + kraken-build/.changelog/0.6.1.toml | 16 + .../.changelog/0.6.2.toml | 9 + .../.changelog/0.6.3.toml | 1 + .../.changelog/0.6.5.toml | 1 + .../.changelog/0.7.0.toml | 16 +- .../.changelog/0.7.1.toml | 1 + .../.changelog/0.7.2.toml | 2 + .../.changelog/0.7.3.toml | 2 + .../.changelog/0.7.4.toml | 3 + .../.changelog/0.7.5.toml | 3 + .../.changelog/0.8.0.toml | 9 + .../.changelog/0.8.1.toml | 1 + .../.changelog/0.8.10.toml | 20 +- .../.changelog/0.8.11.toml | 12 +- kraken-build/.changelog/0.8.2.toml | 16 + .../.changelog/0.8.3.toml | 11 +- .../.changelog/0.8.4.toml | 15 +- .../.changelog/0.8.5.toml | 12 +- .../.changelog/0.8.6.toml | 10 +- .../.changelog/0.8.7.toml | 1 + .../.changelog/0.8.8.toml | 10 +- kraken-build/.changelog/0.8.9.toml | 16 + .../.changelog/0.9.0.toml | 2 + .../.changelog/0.9.1.toml | 2 + .../.changelog/0.9.2.toml | 1 + .../.changelog/0.9.3.toml | 3 + .../.changelog/0.9.4.toml | 1 + .../.changelog/0.9.5.toml | 2 + .../.changelog/0.9.6.toml | 4 + kraken-build/.changelog/_unreleased.toml | 6 + {kraken-std => kraken-build}/.kraken.py | 7 +- kraken-build/README.md | 49 ++- kraken-build/pyproject.toml | 138 ++++++++- .../src/kraken/common/__init__.py | 0 .../src/kraken/common/_argparse.py | 0 .../src/kraken/common/_asciitable.py | 0 .../src/kraken/common/_auth.py | 0 .../src/kraken/common/_buildscript.py | 0 .../src/kraken/common/_buildscript_test.py | 0 .../src/kraken/common/_date.py | 0 .../src/kraken/common/_date_test.py | 0 .../src/kraken/common/_environment.py | 0 .../src/kraken/common/_fs.py | 0 .../src/kraken/common/_generic.py | 0 .../src/kraken/common/_importlib.py | 0 .../src/kraken/common/_option_sets.py | 0 .../src/kraken/common/_requirements.py | 0 .../src/kraken/common/_requirements_test.py | 0 .../src/kraken/common/_runner.py | 0 .../src/kraken/common/_runner_test.py | 0 .../src/kraken/common/_terminal.py | 0 .../src/kraken/common/_text.py | 0 .../src/kraken/common/_text_test.py | 0 .../src/kraken/common/_tomlconfig.py | 0 .../src/kraken/common/_tomlconfig_test.py | 0 .../src/kraken/common/exceptions.py | 0 .../src/kraken/common/findpython.py | 0 .../src/kraken/common/http/__init__.py | 0 .../common/http/lint_ban_bare_requests.py | 0 .../src/kraken/common/path.py | 0 .../src/kraken/common}/py.typed | 0 .../src/kraken/common/pyenv/__init__.py | 0 .../src/kraken/common/pyenv/_distributions.py | 0 .../src/kraken/common/pyenv/_virtualenv.py | 0 .../src/kraken/common/strings.py | 0 .../src/kraken/common/supplier.py | 0 .../src/kraken/core/__init__.py | 0 .../src/kraken/core/address/__init__.py | 0 .../src/kraken/core/address/_address.py | 0 .../kraken/core/address/_address_resolver.py | 4 +- .../core/address/_address_resolver_test.py | 0 .../src/kraken/core/address/_address_test.py | 2 +- .../src/kraken/core/address/_addressable.py | 0 .../src/kraken/core/base/__init__.py | 0 .../src/kraken/core/base/currentable.py | 0 .../src/kraken/core/base/metadata.py | 0 .../src/kraken/core/cli/executor.py | 0 .../src/kraken/core/cli/executor_test.py | 0 .../src/kraken/core/cli/main.py | 8 +- .../src/kraken/core/cli/option_sets.py | 0 .../src/kraken/core/cli/serialize.py | 4 +- .../src/kraken/core}/py.typed | 0 .../src/kraken/core/system/__init__.py | 0 .../src/kraken/core/system/context.py | 2 +- .../src/kraken/core/system/context_test.py | 0 .../src/kraken/core/system/errors.py | 0 .../kraken/core/system/executor/__init__.py | 0 .../kraken/core/system/executor/colored.py | 0 .../kraken/core/system/executor/default.py | 0 .../core/system/executor/default_test.py | 0 .../src/kraken/core/system/executor/utils.py | 0 .../src/kraken/core/system/graph.py | 2 +- .../src/kraken/core/system/graph_test.py | 0 .../src/kraken/core/system/kraken_object.py | 0 .../src/kraken/core/system/project.py | 0 .../src/kraken/core/system/project_test.py | 0 .../src/kraken/core/system/property.py | 3 +- .../src/kraken/core/system/property_test.py | 2 +- .../src/kraken/core/system/task.py | 2 +- .../src/kraken/core/system/task_supplier.py | 0 .../src/kraken/core/system/task_test.py | 0 .../src/kraken/core/testing/__init__.py | 0 .../src/kraken/{build => std}/__init__.py | 0 .../src/kraken/std/buffrs/__init__.py | 0 .../src/kraken/std/buffrs/manifest.py | 0 .../src/kraken/std/buffrs/tasks.py | 0 .../src/kraken/std/cargo/__init__.py | 0 .../src/kraken/std/cargo/config.py | 0 .../src/kraken/std/cargo/manifest.py | 0 .../src/kraken/std/cargo/tasks/__init__.py | 0 .../src/kraken/std/cargo/tasks/_cargo_sqlx.py | 0 .../std/cargo/tasks/cargo_auth_proxy_task.py | 2 +- .../std/cargo/tasks/cargo_build_task.py | 1 - .../cargo/tasks/cargo_bump_version_task.py | 1 - .../tasks/cargo_check_toolchain_version.py | 0 .../std/cargo/tasks/cargo_clippy_task.py | 0 .../kraken/std/cargo/tasks/cargo_deny_task.py | 0 .../kraken/std/cargo/tasks/cargo_fmt_task.py | 1 - .../std/cargo/tasks/cargo_generate_deb.py | 1 - .../std/cargo/tasks/cargo_publish_task.py | 0 .../std/cargo/tasks/cargo_sqlx_migrate.py | 0 .../std/cargo/tasks/cargo_sqlx_prepare.py | 0 .../std/cargo/tasks/cargo_sync_config_task.py | 2 +- .../kraken/std/cargo/tasks/cargo_test_task.py | 0 .../std/cargo/tasks/cargo_update_task.py | 0 .../std/cargo/tasks/rustup_target_add_task.py | 0 .../src/kraken/std/cargo/version.py | 0 .../src/kraken/std/descriptors/__init__.py | 0 .../src/kraken/std/descriptors/resource.py | 0 .../src/kraken/std/dist.py | 3 +- .../src/kraken/std/docker/__init__.py | 1 - .../src/kraken/std/docker/_test.py | 0 .../src/kraken/std/docker}/py.typed | 0 .../src/kraken/std/docker/tasks/__init__.py | 0 .../std/docker/tasks/base_build_task.py | 1 - .../std/docker/tasks/buildx_build_task.py | 1 - .../std/docker/tasks/docker_build_task.py | 1 - .../std/docker/tasks/kaniko_build_task.py | 2 +- .../docker/tasks/manifest_tool_push_task.py | 0 .../src/kraken/std/docker/util/__init__.py | 0 .../src/kraken/std/docker/util/dockerapi.py | 0 .../src/kraken/std/docker/util/dockerfile.py | 0 .../src/kraken/std/git/__init__.py | 1 - .../src/kraken/std/git/config.py | 0 .../src/kraken/std/git/gitignore/__init__.py | 0 .../data/gitignore-io-tokens.json.gz | Bin .../src/kraken/std/git/gitignore/generated.py | 0 .../std/git/gitignore/generated_test.py | 0 .../kraken/std/git/gitignore/gitignore_io.py | 0 .../std/git/gitignore/gitignore_io_test.py | 0 .../src/kraken/std/git/gitignore/parser.py | 0 .../src/kraken/std/git/gitignore_test.py | 0 .../src/kraken/std/git/tasks/__init__.py | 0 .../kraken/std/git/tasks/check_file_task.py | 0 .../std/git/tasks/check_file_task_test.py | 1 - .../src/kraken/std/git/tasks/sync_task.py | 1 - .../kraken/std/git/tasks/sync_task_test.py | 2 +- .../src/kraken/std/git/version.py | 0 .../src/kraken/std/helm/__init__.py | 0 .../src/kraken/std/helm/helmapi.py | 0 .../src/kraken/std/http/__init__.py | 0 .../kraken/std/http/lint_ban_bare_requests.py | 0 .../src/kraken/std/mitm/__init__.py | 0 .../src/kraken/std/mitm/mitm_addon.py | 0 .../src/kraken/std/protobuf/__init__.py | 0 .../src/kraken/std}/py.typed | 0 .../src/kraken/std/python/__init__.py | 2 + .../kraken/std/python/buildsystem/__init__.py | 1 - .../kraken/std/python/buildsystem/helpers.py | 0 .../kraken/std/python/buildsystem/maturin.py | 0 .../src/kraken/std/python/buildsystem/pdm.py | 1 - .../kraken/std/python/buildsystem/pdm_test.py | 0 .../kraken/std/python/buildsystem/poetry.py | 1 - .../std/python/buildsystem/poetry_test.py | 0 .../src/kraken/std/python/buildsystem/slap.py | 1 - .../src/kraken/std/python/pyproject.py | 0 .../src/kraken/std/python/settings.py | 1 - .../src/kraken/std/python/tasks/__init__.py | 0 .../src/kraken/std/python/tasks/base_task.py | 1 - .../src/kraken/std/python/tasks/black_task.py | 0 .../src/kraken/std/python/tasks/build_task.py | 0 .../kraken/std/python/tasks/flake8_task.py | 0 .../src/kraken/std/python/tasks/info_task.py | 2 +- .../kraken/std/python/tasks/install_task.py | 0 .../src/kraken/std/python/tasks/isort_task.py | 0 .../src/kraken/std/python/tasks/login_task.py | 0 .../std/python/tasks/mypy_stubtest_task.py | 0 .../src/kraken/std/python/tasks/mypy_task.py | 0 .../kraken/std/python/tasks/publish_task.py | 3 +- .../src/kraken/std/python/tasks/pycln_task.py | 0 .../kraken/std/python/tasks/pylint_task.py | 0 .../kraken/std/python/tasks/pytest_task.py | 0 .../kraken/std/python/tasks/pyupgrade_task.py | 0 .../std/python/tasks/update_lockfile_task.py | 0 .../std/python/tasks/update_pyproject_task.py | 1 - .../src/kraken/std/python/version.py | 0 .../src/kraken/std/sccache.py | 0 .../src/kraken/std/util/__init__.py | 0 .../std/util/check_file_contents_task.py | 3 +- .../std/util/check_file_contents_task_test.py | 4 +- .../src/kraken/std/util/copyright_task.py | 1 - .../src/kraken/std/util/daemon_controller.py | 0 .../src/kraken/std/util/render_file_task.py | 0 .../src/kraken/std/util/validate_readme.py | 0 .../kraken/std/util/validate_readme_test.py | 1 - .../src/kraken/wrapper/__init__.py | 0 .../src/kraken/wrapper/_buildenv.py | 0 .../src/kraken/wrapper/_buildenv_manager.py | 0 .../src/kraken/wrapper/_buildenv_pex.py | 3 +- .../src/kraken/wrapper/_buildenv_venv.py | 3 +- .../src/kraken/wrapper/_config.py | 1 + .../src/kraken/wrapper/_lockfile.py | 3 +- .../src/kraken/wrapper/_option_sets.py | 0 .../src/kraken/wrapper/_pex.py | 0 .../src/kraken/wrapper/main.py | 4 +- .../src/kraken/wrapper/py.typed | 0 .../src => kraken-build}/tests/__init__.py | 0 .../tests/kraken_core}/__init__.py | 0 .../tests/kraken_core}/conftest.py | 0 .../tests/kraken_core}/test_doctest.py | 0 .../tests/kraken_core}/test_import.py | 0 .../kraken_core}/test_resume_build_state.py | 4 +- .../kraken_core}/test_run_in_subproject.py | 2 +- .../tests/kraken_std}/__init__.py | 0 .../tests/kraken_std}/conftest.py | 4 +- .../kraken_std}/data/complex_manifest.toml | 0 .../tests/kraken_std}/data/http_requests.py | 0 .../kraken_std}/data/invalid_manifest.toml | 0 .../kraken_std}/data/workspace_manifest.toml | 0 .../kraken_std}/integration/cargo/.gitignore | 0 .../cargo/test_cargo_private_registry.py | 17 +- .../integration/docker/test_docker_secrets.py | 2 +- .../helm/data/example-chart/.helmignore | 0 .../helm/data/example-chart/Chart.yaml | 0 .../helm/data/example-chart/values.yaml | 0 .../integration/helm/test_helm_oci.py | 4 +- .../integration/python/test_python.py | 95 +++--- .../test_cargo_bump_version_task.py | 1 - .../tests/kraken_std}/test_cargo_manifest.py | 0 .../tests/kraken_std}/test_cargo_metadata.py | 0 .../tests/kraken_std}/test_cargo_version.py | 0 .../tests/kraken_std}/test_docker_util.py | 0 .../tests/kraken_std}/test_import.py | 0 .../tests/kraken_std}/test_lint_ban_httpx.py | 0 .../tests/kraken_std}/test_python_version.py | 0 .../gitignore_corrupt_content/.gitignore | 0 .../gitignore_corrupt_hash/.gitignore | 0 .../data/gitignore/gitignore_empty/.gitignore | 0 .../gitignore/gitignore_unsorted/.gitignore | 0 .../data/gitignore/gitignore_valid/.gitignore | 0 .../util/data/readme_empty/README.md | 0 .../util/data/readme_invalid/Readme.MD | 0 .../tests/kraken_std}/util/docker.py | 2 +- .../tests/kraken_std}/util/test_copyright.py | 1 - kraken-build/tests/resources.py | 18 ++ kraken-common/.changelog/0.20.1.toml | 7 - kraken-common/.changelog/0.25.0.toml | 15 - kraken-common/.changelog/0.26.0.toml | 15 - kraken-common/.changelog/0.27.0.toml | 15 - kraken-common/.changelog/0.28.3.toml | 7 - kraken-common/.changelog/0.30.0.toml | 8 - kraken-common/.changelog/0.30.1.toml | 8 - kraken-common/.changelog/0.31.3.toml | 8 - kraken-common/.changelog/0.4.2.toml | 7 - kraken-common/.changelog/0.5.0.toml | 13 - kraken-common/.changelog/0.5.1.toml | 7 - kraken-common/.changelog/0.5.3.toml | 7 - kraken-common/.changelog/0.5.4.toml | 10 - kraken-common/.flake8 | 19 -- kraken-common/.gitignore | 8 - kraken-common/README.md | 63 +--- kraken-common/pyproject.toml | 65 +--- kraken-common/src/tests/conftest.py | 23 -- kraken-common/src/tests/data/http_requests.py | 34 --- .../src/tests/test_lint_ban_httpx.py | 23 -- kraken-core/.changelog/0.1.2.toml | 7 - kraken-core/.changelog/0.1.3.toml | 7 - kraken-core/.changelog/0.2.0.toml | 13 - kraken-core/.changelog/0.2.1.toml | 19 -- kraken-core/.changelog/0.2.2.toml | 7 - kraken-core/.changelog/0.20.1.toml | 7 - kraken-core/.changelog/0.24.0.toml | 8 - kraken-core/.changelog/0.25.0.toml | 8 - kraken-core/.changelog/0.27.0.toml | 119 -------- kraken-core/.changelog/0.28.0.dev0.toml | 29 -- kraken-core/.changelog/0.3.3.toml | 7 - kraken-core/.changelog/0.3.4.toml | 7 - kraken-core/.changelog/0.3.5.toml | 7 - kraken-core/.changelog/0.3.6.toml | 7 - kraken-core/.changelog/0.31.0.toml | 11 - kraken-core/.changelog/0.31.4.toml | 8 - kraken-core/.changelog/0.5.0.toml | 13 - kraken-core/.changelog/0.5.1.toml | 7 - kraken-core/.changelog/0.5.2.toml | 7 - kraken-core/.changelog/0.5.4.toml | 7 - kraken-core/.changelog/0.6.1.toml | 7 - kraken-core/.changelog/0.7.0.toml | 7 - kraken-core/.changelog/0.8.10.toml | 13 - kraken-core/.changelog/0.8.11.toml | 7 - kraken-core/.changelog/0.8.2.toml | 7 - kraken-core/.changelog/0.8.3.toml | 7 - kraken-core/.changelog/0.8.4.toml | 7 - kraken-core/.changelog/0.8.5.toml | 7 - kraken-core/.changelog/0.8.6.toml | 7 - kraken-core/.changelog/0.8.8.toml | 7 - kraken-core/.changelog/0.8.9.toml | 7 - kraken-core/.flake8 | 12 - kraken-core/.gitignore | 9 - kraken-core/README.md | 15 +- kraken-core/pyproject.toml | 97 +----- kraken-std/.changelog/0.1.1.toml | 7 - kraken-std/.changelog/0.1.10.toml | 7 - kraken-std/.changelog/0.1.14.toml | 7 - kraken-std/.changelog/0.1.16.toml | 7 - kraken-std/.changelog/0.1.18.toml | 7 - kraken-std/.changelog/0.1.22.toml | 13 - kraken-std/.changelog/0.1.4.toml | 7 - kraken-std/.changelog/0.1.7.toml | 7 - kraken-std/.changelog/0.1.8.toml | 13 - kraken-std/.changelog/0.1.9.toml | 7 - kraken-std/.changelog/0.20.1.toml | 7 - kraken-std/.changelog/0.23.5.toml | 8 - kraken-std/.changelog/0.25.0.toml | 8 - kraken-std/.changelog/0.26.0.toml | 8 - kraken-std/.changelog/0.27.0.toml | 92 ------ kraken-std/.changelog/0.3.0.toml | 13 - kraken-std/.changelog/0.3.1.toml | 7 - kraken-std/.changelog/0.3.5.toml | 7 - kraken-std/.changelog/0.3.7.toml | 7 - kraken-std/.changelog/0.30.1.toml | 8 - kraken-std/.changelog/0.31.4.toml | 15 - kraken-std/.changelog/0.4.3.toml | 7 - kraken-std/.changelog/0.5.0.toml | 7 - kraken-std/.changelog/0.5.1.toml | 7 - kraken-std/.changelog/0.5.3.toml | 7 - kraken-std/.changelog/0.5.4.toml | 7 - kraken-std/.changelog/0.6.0.toml | 8 - kraken-std/.changelog/0.6.1.toml | 8 - kraken-std/.changelog/0.6.2.toml | 8 - kraken-std/.changelog/0.8.0.toml | 8 - kraken-std/.changelog/0.8.2.toml | 8 - kraken-std/.changelog/0.8.9.toml | 8 - kraken-std/.flake8 | 20 -- kraken-std/.gitignore | 11 - kraken-std/.kraken.lock | 91 ------ kraken-std/LICENSE | 20 -- kraken-std/README.md | 40 +-- kraken-std/pyproject.toml | 76 +---- kraken-std/scripts/cloudsmith-repos.py | 59 ---- kraken-std/src/kraken/std/__init__.py | 1 - .../python/data/slap-project-consumer/LICENSE | 20 -- .../python/data/slap-project/LICENSE | 20 -- kraken-wrapper/.changelog/0.1.11.toml | 7 - kraken-wrapper/.changelog/0.1.12.toml | 7 - kraken-wrapper/.changelog/0.1.13.toml | 7 - kraken-wrapper/.changelog/0.1.15.toml | 7 - kraken-wrapper/.changelog/0.1.16.toml | 7 - kraken-wrapper/.changelog/0.1.17.toml | 7 - kraken-wrapper/.changelog/0.1.18.toml | 7 - kraken-wrapper/.changelog/0.1.19.toml | 7 - kraken-wrapper/.changelog/0.1.21.toml | 7 - kraken-wrapper/.changelog/0.1.4.toml | 7 - kraken-wrapper/.changelog/0.1.5.toml | 7 - kraken-wrapper/.changelog/0.1.7.toml | 7 - kraken-wrapper/.changelog/0.1.8.toml | 7 - kraken-wrapper/.changelog/0.2.0.toml | 13 - kraken-wrapper/.changelog/0.2.1.toml | 13 - kraken-wrapper/.changelog/0.2.3.toml | 7 - kraken-wrapper/.changelog/0.2.4.toml | 13 - kraken-wrapper/.changelog/0.25.0.toml | 15 - kraken-wrapper/.changelog/0.26.0.toml | 15 - kraken-wrapper/.changelog/0.27.0.toml | 28 -- kraken-wrapper/.changelog/0.29.0.toml | 15 - kraken-wrapper/.changelog/0.30.0.toml | 8 - kraken-wrapper/.changelog/0.31.1.toml | 15 - kraken-wrapper/.changelog/0.31.3.toml | 8 - kraken-wrapper/.changelog/0.31.4.toml | 22 -- kraken-wrapper/.flake8 | 8 - kraken-wrapper/LICENSE | 20 -- kraken-wrapper/README.md | 13 +- kraken-wrapper/pyproject.toml | 70 +---- kraken-wrapper/tests/test_import.py | 2 - 655 files changed, 2065 insertions(+), 2139 deletions(-) rename {kraken-std/src/tests/integration/cargo/data/hello-world-app => examples/cargo-hello-world-app}/Cargo.toml (100%) rename {kraken-std/src/tests/integration/cargo/data/hello-world-app => examples/cargo-hello-world-app}/src/main.rs (100%) create mode 100644 examples/cargo-hello-world-lib/.cargo/config.toml rename {kraken-std/src/tests/integration/cargo/data/hello-world-lib => examples/cargo-hello-world-lib}/Cargo.lock (100%) rename {kraken-std/src/tests/integration/cargo/data/hello-world-lib => examples/cargo-hello-world-lib}/Cargo.toml (100%) rename {kraken-std/src/tests/integration/cargo/data/hello-world-lib => examples/cargo-hello-world-lib}/src/lib.rs (100%) rename {kraken-std/examples => examples}/docker/kraken.build.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/lint-enforced-directories-project/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/lint-enforced-directories-project/bin/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/lint-enforced-directories-project/examples/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/lint-enforced-directories-project/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/lint-enforced-directories-project/src/lint_enforced_directories_project/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project-consumer/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project-consumer/README.md (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project-consumer/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project-consumer/src/pdm_project_consumer/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project/README.md (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/pdm-project/src/pdm_project/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/poetry-project-consumer/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/poetry-project-consumer/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/poetry-project-consumer/src/poetry_project_consumer/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/poetry-project/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/poetry-project/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/poetry-project/src/poetry_project/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project-consumer/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project-consumer/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project-consumer/src/poetry_project_consumer/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project/Cargo.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project/maturin-project.pyi (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project/pyproject.toml (100%) rename {kraken-common/src/tests => examples/rust-pdm-project/src}/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-pdm-project/src/lib.rs (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project-consumer/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project-consumer/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project-consumer/src/poetry_project_consumer/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project/.kraken.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project/Cargo.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project/maturin-project.pyi (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project/pyproject.toml (100%) rename {kraken-core/tests => examples/rust-poetry-project/src}/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/rust-poetry-project/src/lib.rs (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project-consumer/.flake8 (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project-consumer/.gitignore (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project-consumer/.kraken.py (100%) rename {kraken-common => examples/slap-project-consumer}/LICENSE (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project-consumer/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project-consumer/readme.md (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project-consumer/src/slap_project_consumer/__init__.py (100%) rename {kraken-common/src/kraken/common => examples/slap-project-consumer/src/slap_project_consumer}/py.typed (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project-consumer/tests/test_consumer_import.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project/.flake8 (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project/.gitignore (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project/.kraken.py (100%) rename {kraken-core => examples/slap-project}/LICENSE (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project/readme.md (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project/src/slap_project/__init__.py (100%) rename {kraken-core/src/kraken/core => examples/slap-project/src/slap_project}/py.typed (100%) rename {kraken-std/src/tests/integration/python/data => examples}/slap-project/tests/test_import.py (100%) rename {kraken-std/src/tests/integration/python/data => examples}/version-project/pyproject.toml (100%) rename {kraken-std/src/tests/integration/python/data => examples}/version-project/src/version_project/__init__.py (100%) rename {kraken-core => kraken-build}/.changelog/0.1.0.post1.toml (91%) rename {kraken-wrapper => kraken-build}/.changelog/0.1.1.toml (59%) rename {kraken-wrapper => kraken-build}/.changelog/0.1.10.toml (61%) rename {kraken-std => kraken-build}/.changelog/0.1.11.toml (53%) rename {kraken-std => kraken-build}/.changelog/0.1.12.toml (74%) rename {kraken-std => kraken-build}/.changelog/0.1.13.toml (67%) rename {kraken-wrapper => kraken-build}/.changelog/0.1.14.toml (58%) rename {kraken-std => kraken-build}/.changelog/0.1.15.toml (66%) create mode 100644 kraken-build/.changelog/0.1.16.toml rename {kraken-std => kraken-build}/.changelog/0.1.17.toml (61%) create mode 100644 kraken-build/.changelog/0.1.18.toml rename {kraken-std => kraken-build}/.changelog/0.1.19.toml (51%) rename {kraken-wrapper => kraken-build}/.changelog/0.1.2.toml (50%) rename {kraken-std => kraken-build}/.changelog/0.1.20.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.1.21.toml (64%) rename {kraken-wrapper => kraken-build}/.changelog/0.1.22.toml (58%) rename {kraken-std => kraken-build}/.changelog/0.1.23.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.1.24.toml (89%) rename {kraken-std => kraken-build}/.changelog/0.1.25.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.1.26.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.1.27.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.1.29.toml (91%) rename {kraken-wrapper => kraken-build}/.changelog/0.1.3.toml (53%) rename {kraken-std => kraken-build}/.changelog/0.1.30.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.1.31.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.1.32.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.1.33.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.1.34.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.1.35.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.1.36.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.1.37.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.1.38.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.1.39.toml (90%) create mode 100644 kraken-build/.changelog/0.1.4.toml rename {kraken-std => kraken-build}/.changelog/0.1.40.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.1.41.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.1.42.toml (89%) rename {kraken-std => kraken-build}/.changelog/0.1.43.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.1.44.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.1.45.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.1.46.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.1.5.toml (72%) rename {kraken-std => kraken-build}/.changelog/0.1.6.toml (92%) create mode 100644 kraken-build/.changelog/0.1.7.toml create mode 100644 kraken-build/.changelog/0.1.8.toml rename {kraken-wrapper => kraken-build}/.changelog/0.1.9.toml (55%) rename {kraken-core => kraken-build}/.changelog/0.10.0.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.10.1.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.10.10.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.10.11.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.10.12.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.10.13.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.10.14.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.10.15.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.10.16.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.10.17.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.10.18.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.10.2.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.10.3.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.10.4.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.10.5.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.10.6.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.10.7.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.10.8.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.10.9.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.11.0.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.11.1.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.11.2.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.11.3.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.11.4.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.11.5.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.11.6.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.11.7.toml (95%) rename {kraken-core => kraken-build}/.changelog/0.12.0.toml (95%) rename {kraken-core => kraken-build}/.changelog/0.12.1.toml (95%) rename {kraken-core => kraken-build}/.changelog/0.12.2.toml (95%) rename {kraken-core => kraken-build}/.changelog/0.12.3.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.12.4.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.2.0.toml (66%) create mode 100644 kraken-build/.changelog/0.2.1.toml rename {kraken-core => kraken-build}/.changelog/0.2.10.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.2.11.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.2.12.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.2.13.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.2.14.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.2.15.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.2.16.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.2.17.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.2.18.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.2.19.toml (92%) rename {kraken-wrapper => kraken-build}/.changelog/0.2.2.toml (54%) rename {kraken-core => kraken-build}/.changelog/0.2.3.toml (52%) rename {kraken-core => kraken-build}/.changelog/0.2.4.toml (61%) rename {kraken-core => kraken-build}/.changelog/0.2.5.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.2.6.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.2.7.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.2.9.toml (89%) rename {kraken-std => kraken-build}/.changelog/0.20.0.toml (92%) create mode 100644 kraken-build/.changelog/0.20.1.toml rename {kraken-core => kraken-build}/.changelog/0.20.2.toml (95%) rename {kraken-core => kraken-build}/.changelog/0.20.3.toml (96%) rename {kraken-std => kraken-build}/.changelog/0.20.4.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.23.4.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.23.5.toml (73%) rename {kraken-std => kraken-build}/.changelog/0.23.6.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.23.7.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.24.0.toml (74%) rename {kraken-std => kraken-build}/.changelog/0.24.1.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.24.2.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.24.3.toml (93%) create mode 100644 kraken-build/.changelog/0.25.0.toml rename {kraken-core => kraken-build}/.changelog/0.26.0.toml (62%) rename {kraken-common => kraken-build}/.changelog/0.26.1.toml (92%) create mode 100644 kraken-build/.changelog/0.27.0.toml rename {kraken-common => kraken-build}/.changelog/0.27.2.toml (94%) rename {kraken-wrapper => kraken-build}/.changelog/0.27.3.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.27.4.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.27.5.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.28.0.dev0.toml (53%) rename {kraken-std => kraken-build}/.changelog/0.28.0.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.28.1.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.28.2.toml (93%) rename {kraken-wrapper => kraken-build}/.changelog/0.28.3.toml (59%) rename {kraken-std => kraken-build}/.changelog/0.28.4.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.29.0.toml (50%) rename {kraken-core => kraken-build}/.changelog/0.3.0.toml (66%) rename {kraken-core => kraken-build}/.changelog/0.3.1.toml (51%) rename {kraken-std => kraken-build}/.changelog/0.3.10.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.3.11.toml (96%) rename {kraken-std => kraken-build}/.changelog/0.3.12.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.3.13.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.3.14.toml (95%) rename {kraken-std => kraken-build}/.changelog/0.3.15.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.3.16.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.3.17.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.3.18.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.3.19.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.3.2.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.3.20.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.3.21.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.3.22.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.3.3.toml (50%) rename {kraken-std => kraken-build}/.changelog/0.3.4.toml (51%) create mode 100644 kraken-build/.changelog/0.3.5.toml rename {kraken-std => kraken-build}/.changelog/0.3.6.toml (65%) rename {kraken-core => kraken-build}/.changelog/0.3.7.toml (54%) rename {kraken-std => kraken-build}/.changelog/0.3.8.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.3.9.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.30.0.toml (52%) rename {kraken-core => kraken-build}/.changelog/0.30.1.toml (50%) rename {kraken-std => kraken-build}/.changelog/0.30.2.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.30.4.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.31.0.toml (74%) rename {kraken-std => kraken-build}/.changelog/0.31.1.toml (55%) rename {kraken-wrapper => kraken-build}/.changelog/0.31.2.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.31.3.toml (60%) create mode 100644 kraken-build/.changelog/0.31.4.toml rename {kraken-std => kraken-build}/.changelog/0.31.5.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.31.6.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.31.7.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.4.0.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.4.1.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.4.10.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.4.11.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.4.12.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.4.13.toml (89%) rename {kraken-std => kraken-build}/.changelog/0.4.14.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.4.15.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.4.16.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.4.17.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.4.18.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.4.19.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.4.2.toml (57%) rename {kraken-std => kraken-build}/.changelog/0.4.20.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.4.21.toml (91%) rename {kraken-common => kraken-build}/.changelog/0.4.3.toml (58%) rename {kraken-std => kraken-build}/.changelog/0.4.4.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.4.5.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.4.6.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.4.7.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.4.8.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.4.9.toml (93%) create mode 100644 kraken-build/.changelog/0.5.0.toml create mode 100644 kraken-build/.changelog/0.5.1.toml rename {kraken-std => kraken-build}/.changelog/0.5.10.toml (90%) rename {kraken-std => kraken-build}/.changelog/0.5.11.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.5.12.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.5.13.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.5.14.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.5.15.toml (89%) rename {kraken-std => kraken-build}/.changelog/0.5.16.toml (89%) rename {kraken-std => kraken-build}/.changelog/0.5.17.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.5.18.toml (94%) rename {kraken-std => kraken-build}/.changelog/0.5.19.toml (92%) rename {kraken-common => kraken-build}/.changelog/0.5.2.toml (68%) rename {kraken-std => kraken-build}/.changelog/0.5.20.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.5.21.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.5.22.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.5.23.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.5.24.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.5.3.toml (69%) create mode 100644 kraken-build/.changelog/0.5.4.toml rename {kraken-std => kraken-build}/.changelog/0.5.5.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.5.6.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.5.8.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.5.9.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.6.0.toml (59%) create mode 100644 kraken-build/.changelog/0.6.1.toml rename {kraken-core => kraken-build}/.changelog/0.6.2.toml (55%) rename {kraken-std => kraken-build}/.changelog/0.6.3.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.6.5.toml (92%) rename {kraken-std => kraken-build}/.changelog/0.7.0.toml (78%) rename {kraken-core => kraken-build}/.changelog/0.7.1.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.7.2.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.7.3.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.7.4.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.7.5.toml (94%) rename {kraken-core => kraken-build}/.changelog/0.8.0.toml (51%) rename {kraken-std => kraken-build}/.changelog/0.8.1.toml (93%) rename {kraken-std => kraken-build}/.changelog/0.8.10.toml (65%) rename {kraken-std => kraken-build}/.changelog/0.8.11.toml (63%) create mode 100644 kraken-build/.changelog/0.8.2.toml rename {kraken-std => kraken-build}/.changelog/0.8.3.toml (72%) rename {kraken-std => kraken-build}/.changelog/0.8.4.toml (82%) rename {kraken-std => kraken-build}/.changelog/0.8.5.toml (83%) rename {kraken-std => kraken-build}/.changelog/0.8.6.toml (55%) rename {kraken-core => kraken-build}/.changelog/0.8.7.toml (91%) rename {kraken-std => kraken-build}/.changelog/0.8.8.toml (50%) create mode 100644 kraken-build/.changelog/0.8.9.toml rename {kraken-core => kraken-build}/.changelog/0.9.0.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.9.1.toml (90%) rename {kraken-core => kraken-build}/.changelog/0.9.2.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.9.3.toml (93%) rename {kraken-core => kraken-build}/.changelog/0.9.4.toml (91%) rename {kraken-core => kraken-build}/.changelog/0.9.5.toml (92%) rename {kraken-core => kraken-build}/.changelog/0.9.6.toml (94%) create mode 100644 kraken-build/.changelog/_unreleased.toml rename {kraken-std => kraken-build}/.kraken.py (91%) rename {kraken-common => kraken-build}/src/kraken/common/__init__.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_argparse.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_asciitable.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_auth.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_buildscript.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_buildscript_test.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_date.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_date_test.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_environment.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_fs.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_generic.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_importlib.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_option_sets.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_requirements.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_requirements_test.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_runner.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_runner_test.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_terminal.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_text.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_text_test.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_tomlconfig.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/_tomlconfig_test.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/exceptions.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/findpython.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/http/__init__.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/http/lint_ban_bare_requests.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/path.py (100%) rename {kraken-std/src/kraken/std/docker => kraken-build/src/kraken/common}/py.typed (100%) rename {kraken-common => kraken-build}/src/kraken/common/pyenv/__init__.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/pyenv/_distributions.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/pyenv/_virtualenv.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/strings.py (100%) rename {kraken-common => kraken-build}/src/kraken/common/supplier.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/__init__.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/address/__init__.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/address/_address.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/address/_address_resolver.py (98%) rename {kraken-core => kraken-build}/src/kraken/core/address/_address_resolver_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/address/_address_test.py (99%) rename {kraken-core => kraken-build}/src/kraken/core/address/_addressable.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/base/__init__.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/base/currentable.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/base/metadata.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/cli/executor.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/cli/executor_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/cli/main.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/cli/option_sets.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/cli/serialize.py (97%) rename {kraken-std/src/kraken/std => kraken-build/src/kraken/core}/py.typed (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/__init__.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/context.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/context_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/errors.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/executor/__init__.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/executor/colored.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/executor/default.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/executor/default_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/executor/utils.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/graph.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/graph_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/kraken_object.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/project.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/project_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/property.py (99%) rename {kraken-core => kraken-build}/src/kraken/core/system/property_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/task.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/task_supplier.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/system/task_test.py (100%) rename {kraken-core => kraken-build}/src/kraken/core/testing/__init__.py (100%) rename kraken-build/src/kraken/{build => std}/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/buffrs/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/buffrs/manifest.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/buffrs/tasks.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/config.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/manifest.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/_cargo_sqlx.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_auth_proxy_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_build_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_bump_version_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_check_toolchain_version.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_clippy_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_deny_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_fmt_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_generate_deb.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_publish_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_sqlx_migrate.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_sqlx_prepare.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_sync_config_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_test_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/cargo_update_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/tasks/rustup_target_add_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/cargo/version.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/descriptors/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/descriptors/resource.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/dist.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/docker/__init__.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/docker/_test.py (100%) rename {kraken-std/src/tests/integration/python/data/slap-project-consumer/src/slap_project_consumer => kraken-build/src/kraken/std/docker}/py.typed (100%) rename {kraken-std => kraken-build}/src/kraken/std/docker/tasks/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/docker/tasks/base_build_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/docker/tasks/buildx_build_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/docker/tasks/docker_build_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/docker/tasks/kaniko_build_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/docker/tasks/manifest_tool_push_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/docker/util/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/docker/util/dockerapi.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/docker/util/dockerfile.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/__init__.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/git/config.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore/data/gitignore-io-tokens.json.gz (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore/generated.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore/generated_test.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore/gitignore_io.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore/gitignore_io_test.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore/parser.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/gitignore_test.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/tasks/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/tasks/check_file_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/tasks/check_file_task_test.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/git/tasks/sync_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/git/tasks/sync_task_test.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/git/version.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/helm/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/helm/helmapi.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/http/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/http/lint_ban_bare_requests.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/mitm/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/mitm/mitm_addon.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/protobuf/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data/slap-project/src/slap_project => kraken-build/src/kraken/std}/py.typed (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/__init__.py (97%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/__init__.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/helpers.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/maturin.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/pdm.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/pdm_test.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/poetry.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/poetry_test.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/buildsystem/slap.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/pyproject.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/settings.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/base_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/black_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/build_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/flake8_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/info_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/install_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/isort_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/login_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/mypy_stubtest_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/mypy_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/publish_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/pycln_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/pylint_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/pytest_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/pyupgrade_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/update_lockfile_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/python/tasks/update_pyproject_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/python/version.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/sccache.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/util/__init__.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/util/check_file_contents_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/util/check_file_contents_task_test.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/util/copyright_task.py (99%) rename {kraken-std => kraken-build}/src/kraken/std/util/daemon_controller.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/util/render_file_task.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/util/validate_readme.py (100%) rename {kraken-std => kraken-build}/src/kraken/std/util/validate_readme_test.py (99%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/__init__.py (100%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_buildenv.py (100%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_buildenv_manager.py (100%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_buildenv_pex.py (99%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_buildenv_venv.py (99%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_config.py (99%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_lockfile.py (99%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_option_sets.py (100%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/_pex.py (100%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/main.py (99%) rename {kraken-wrapper => kraken-build}/src/kraken/wrapper/py.typed (100%) rename {kraken-std/src => kraken-build}/tests/__init__.py (100%) rename {kraken-std/src/tests/integration/python/data/rust-pdm-project/src => kraken-build/tests/kraken_core}/__init__.py (100%) rename {kraken-core/tests => kraken-build/tests/kraken_core}/conftest.py (100%) rename {kraken-core/tests => kraken-build/tests/kraken_core}/test_doctest.py (100%) rename {kraken-core/tests => kraken-build/tests/kraken_core}/test_import.py (100%) rename {kraken-core/tests => kraken-build/tests/kraken_core}/test_resume_build_state.py (99%) rename {kraken-core/tests => kraken-build/tests/kraken_core}/test_run_in_subproject.py (99%) rename {kraken-std/src/tests/integration/python/data/rust-poetry-project/src => kraken-build/tests/kraken_std}/__init__.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/conftest.py (85%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/data/complex_manifest.toml (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/data/http_requests.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/data/invalid_manifest.toml (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/data/workspace_manifest.toml (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/cargo/.gitignore (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/cargo/test_cargo_private_registry.py (93%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/docker/test_docker_secrets.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/helm/data/example-chart/.helmignore (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/helm/data/example-chart/Chart.yaml (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/helm/data/example-chart/values.yaml (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/helm/test_helm_oci.py (97%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/integration/python/test_python.py (76%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_cargo_bump_version_task.py (99%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_cargo_manifest.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_cargo_metadata.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_cargo_version.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_docker_util.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_import.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_lint_ban_httpx.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/test_python_version.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/data/gitignore/gitignore_corrupt_content/.gitignore (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/data/gitignore/gitignore_corrupt_hash/.gitignore (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/data/gitignore/gitignore_empty/.gitignore (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/data/gitignore/gitignore_unsorted/.gitignore (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/data/gitignore/gitignore_valid/.gitignore (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/data/readme_empty/README.md (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/data/readme_invalid/Readme.MD (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/docker.py (100%) rename {kraken-std/src/tests => kraken-build/tests/kraken_std}/util/test_copyright.py (99%) create mode 100644 kraken-build/tests/resources.py delete mode 100644 kraken-common/.changelog/0.20.1.toml delete mode 100644 kraken-common/.changelog/0.25.0.toml delete mode 100644 kraken-common/.changelog/0.26.0.toml delete mode 100644 kraken-common/.changelog/0.27.0.toml delete mode 100644 kraken-common/.changelog/0.28.3.toml delete mode 100644 kraken-common/.changelog/0.30.0.toml delete mode 100644 kraken-common/.changelog/0.30.1.toml delete mode 100644 kraken-common/.changelog/0.31.3.toml delete mode 100644 kraken-common/.changelog/0.4.2.toml delete mode 100644 kraken-common/.changelog/0.5.0.toml delete mode 100644 kraken-common/.changelog/0.5.1.toml delete mode 100644 kraken-common/.changelog/0.5.3.toml delete mode 100644 kraken-common/.changelog/0.5.4.toml delete mode 100644 kraken-common/.flake8 delete mode 100644 kraken-common/.gitignore delete mode 100644 kraken-common/src/tests/conftest.py delete mode 100644 kraken-common/src/tests/data/http_requests.py delete mode 100644 kraken-common/src/tests/test_lint_ban_httpx.py delete mode 100644 kraken-core/.changelog/0.1.2.toml delete mode 100644 kraken-core/.changelog/0.1.3.toml delete mode 100644 kraken-core/.changelog/0.2.0.toml delete mode 100644 kraken-core/.changelog/0.2.1.toml delete mode 100644 kraken-core/.changelog/0.2.2.toml delete mode 100644 kraken-core/.changelog/0.20.1.toml delete mode 100644 kraken-core/.changelog/0.24.0.toml delete mode 100644 kraken-core/.changelog/0.25.0.toml delete mode 100644 kraken-core/.changelog/0.27.0.toml delete mode 100644 kraken-core/.changelog/0.28.0.dev0.toml delete mode 100644 kraken-core/.changelog/0.3.3.toml delete mode 100644 kraken-core/.changelog/0.3.4.toml delete mode 100644 kraken-core/.changelog/0.3.5.toml delete mode 100644 kraken-core/.changelog/0.3.6.toml delete mode 100644 kraken-core/.changelog/0.31.0.toml delete mode 100644 kraken-core/.changelog/0.31.4.toml delete mode 100644 kraken-core/.changelog/0.5.0.toml delete mode 100644 kraken-core/.changelog/0.5.1.toml delete mode 100644 kraken-core/.changelog/0.5.2.toml delete mode 100644 kraken-core/.changelog/0.5.4.toml delete mode 100644 kraken-core/.changelog/0.6.1.toml delete mode 100644 kraken-core/.changelog/0.7.0.toml delete mode 100644 kraken-core/.changelog/0.8.10.toml delete mode 100644 kraken-core/.changelog/0.8.11.toml delete mode 100644 kraken-core/.changelog/0.8.2.toml delete mode 100644 kraken-core/.changelog/0.8.3.toml delete mode 100644 kraken-core/.changelog/0.8.4.toml delete mode 100644 kraken-core/.changelog/0.8.5.toml delete mode 100644 kraken-core/.changelog/0.8.6.toml delete mode 100644 kraken-core/.changelog/0.8.8.toml delete mode 100644 kraken-core/.changelog/0.8.9.toml delete mode 100644 kraken-core/.flake8 delete mode 100644 kraken-core/.gitignore delete mode 100644 kraken-std/.changelog/0.1.1.toml delete mode 100644 kraken-std/.changelog/0.1.10.toml delete mode 100644 kraken-std/.changelog/0.1.14.toml delete mode 100644 kraken-std/.changelog/0.1.16.toml delete mode 100644 kraken-std/.changelog/0.1.18.toml delete mode 100644 kraken-std/.changelog/0.1.22.toml delete mode 100644 kraken-std/.changelog/0.1.4.toml delete mode 100644 kraken-std/.changelog/0.1.7.toml delete mode 100644 kraken-std/.changelog/0.1.8.toml delete mode 100644 kraken-std/.changelog/0.1.9.toml delete mode 100644 kraken-std/.changelog/0.20.1.toml delete mode 100644 kraken-std/.changelog/0.23.5.toml delete mode 100644 kraken-std/.changelog/0.25.0.toml delete mode 100644 kraken-std/.changelog/0.26.0.toml delete mode 100644 kraken-std/.changelog/0.27.0.toml delete mode 100644 kraken-std/.changelog/0.3.0.toml delete mode 100644 kraken-std/.changelog/0.3.1.toml delete mode 100644 kraken-std/.changelog/0.3.5.toml delete mode 100644 kraken-std/.changelog/0.3.7.toml delete mode 100644 kraken-std/.changelog/0.30.1.toml delete mode 100644 kraken-std/.changelog/0.31.4.toml delete mode 100644 kraken-std/.changelog/0.4.3.toml delete mode 100644 kraken-std/.changelog/0.5.0.toml delete mode 100644 kraken-std/.changelog/0.5.1.toml delete mode 100644 kraken-std/.changelog/0.5.3.toml delete mode 100644 kraken-std/.changelog/0.5.4.toml delete mode 100644 kraken-std/.changelog/0.6.0.toml delete mode 100644 kraken-std/.changelog/0.6.1.toml delete mode 100644 kraken-std/.changelog/0.6.2.toml delete mode 100644 kraken-std/.changelog/0.8.0.toml delete mode 100644 kraken-std/.changelog/0.8.2.toml delete mode 100644 kraken-std/.changelog/0.8.9.toml delete mode 100644 kraken-std/.flake8 delete mode 100644 kraken-std/.gitignore delete mode 100644 kraken-std/.kraken.lock delete mode 100644 kraken-std/LICENSE delete mode 100755 kraken-std/scripts/cloudsmith-repos.py delete mode 100644 kraken-std/src/kraken/std/__init__.py delete mode 100644 kraken-std/src/tests/integration/python/data/slap-project-consumer/LICENSE delete mode 100644 kraken-std/src/tests/integration/python/data/slap-project/LICENSE delete mode 100644 kraken-wrapper/.changelog/0.1.11.toml delete mode 100644 kraken-wrapper/.changelog/0.1.12.toml delete mode 100644 kraken-wrapper/.changelog/0.1.13.toml delete mode 100644 kraken-wrapper/.changelog/0.1.15.toml delete mode 100644 kraken-wrapper/.changelog/0.1.16.toml delete mode 100644 kraken-wrapper/.changelog/0.1.17.toml delete mode 100644 kraken-wrapper/.changelog/0.1.18.toml delete mode 100644 kraken-wrapper/.changelog/0.1.19.toml delete mode 100644 kraken-wrapper/.changelog/0.1.21.toml delete mode 100644 kraken-wrapper/.changelog/0.1.4.toml delete mode 100644 kraken-wrapper/.changelog/0.1.5.toml delete mode 100644 kraken-wrapper/.changelog/0.1.7.toml delete mode 100644 kraken-wrapper/.changelog/0.1.8.toml delete mode 100644 kraken-wrapper/.changelog/0.2.0.toml delete mode 100644 kraken-wrapper/.changelog/0.2.1.toml delete mode 100644 kraken-wrapper/.changelog/0.2.3.toml delete mode 100644 kraken-wrapper/.changelog/0.2.4.toml delete mode 100644 kraken-wrapper/.changelog/0.25.0.toml delete mode 100644 kraken-wrapper/.changelog/0.26.0.toml delete mode 100644 kraken-wrapper/.changelog/0.27.0.toml delete mode 100644 kraken-wrapper/.changelog/0.29.0.toml delete mode 100644 kraken-wrapper/.changelog/0.30.0.toml delete mode 100644 kraken-wrapper/.changelog/0.31.1.toml delete mode 100644 kraken-wrapper/.changelog/0.31.3.toml delete mode 100644 kraken-wrapper/.changelog/0.31.4.toml delete mode 100644 kraken-wrapper/.flake8 delete mode 100644 kraken-wrapper/LICENSE delete mode 100644 kraken-wrapper/tests/test_import.py diff --git a/.github/workflows/python.yaml b/.github/workflows/python.yaml index 1275efd9..b0f77161 100644 --- a/.github/workflows/python.yaml +++ b/.github/workflows/python.yaml @@ -13,61 +13,57 @@ jobs: strategy: matrix: include: - - python-version: "3.7" - only: --only=kraken-common,kraken-wrapper - - python-version: "3.8" - only: --only=kraken-common,kraken-wrapper - - python-version: "3.9" - only: --only=kraken-common,kraken-wrapper - python-version: "3.10" - only: '' - - python-version: "3.11" - only: --only=kraken-common,kraken-wrapper + # Can't test with 3.11/3.12 until Dill relased 0.3.8, see https://github.com/uqfoundation/dill/issues/595 + # - python-version: "3.11" + # - python-version: "3.12" steps: - uses: actions/checkout@v3 - uses: NiklasRosenstein/slap@gha/install/v1 - uses: actions/setup-python@v4 with: { python-version: "${{ matrix.python-version }}" } + - run: pip install pipx && pipx install poetry && pipx install pdm + - run: rustup update - run: slap install --link --no-venv-check ${{ matrix.only }} - run: slap test ${{ matrix.only }} - kraken-std-integration-test: - runs-on: ubuntu-latest - strategy: - fail-fast: false - matrix: - include: - - python-version: "3.10" - test-type: integrationTest + # kraken-std-integration-test: + # runs-on: ubuntu-latest + # strategy: + # fail-fast: false + # matrix: + # include: + # - python-version: "3.10" + # test-type: integrationTest - steps: - - uses: actions/checkout@v3 - with: { fetch-depth: 0 } - - uses: NiklasRosenstein/slap@gha/install/v1 - - uses: actions/setup-python@v4 - with: { python-version: "${{ matrix.python-version }}" } - - run: pip install pipx && pipx install kraken-wrapper + # steps: + # - uses: actions/checkout@v3 + # with: { fetch-depth: 0 } + # - uses: NiklasRosenstein/slap@gha/install/v1 + # - uses: actions/setup-python@v4 + # with: { python-version: "${{ matrix.python-version }}" } + # - run: pip install pipx && pipx install kraken-wrapper - # Need Poetry and PDM for integration tests. - - run: pipx install poetry - - run: curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - + # # Need Poetry and PDM for integration tests. + # - run: pipx install poetry + # - run: curl -sSL https://raw.githubusercontent.com/pdm-project/pdm/main/install-pdm.py | python3 - - # Make sure we have Docker available for the ete-tests. - - uses: docker/setup-buildx-action@v2 + # # Make sure we have Docker available for the ete-tests. + # - uses: docker/setup-buildx-action@v2 - - run: cd kraken-std && krakenw -v run ${{ matrix.test-type }} -v - env: - ARTIFACTORY_CARGO_REPOSITORY: ${{ vars.ARTIFACTORY_CARGO_REPOSITORY }} - CLOUDSMITH_CARGO_REPOSITORY: ${{ vars.CLOUDSMITH_CARGO_REPOSITORY }} - CLOUDSMITH_INTEGRATION_TEST_CREDENTIALS: | - { - "api_key": "${{ secrets.CLOUDSMITH_API_KEY }}", - "owner": "${{ vars.CLOUDSMITH_OWNER }}", - "user": "${{ vars.CLOUDSMITH_USER }}" - } - ARTIFACTORY_INTEGRATION_TEST_CREDENTIALS: | - { - "token": "${{ secrets.ARTIFACTORY_TOKEN }}", - "url": "${{ vars.ARTIFACTORY_URL }}", - "user": "${{ vars.ARTIFACTORY_USER }}" - } + # - run: cd kraken-std && krakenw -v run ${{ matrix.test-type }} -v + # env: + # ARTIFACTORY_CARGO_REPOSITORY: ${{ vars.ARTIFACTORY_CARGO_REPOSITORY }} + # CLOUDSMITH_CARGO_REPOSITORY: ${{ vars.CLOUDSMITH_CARGO_REPOSITORY }} + # CLOUDSMITH_INTEGRATION_TEST_CREDENTIALS: | + # { + # "api_key": "${{ secrets.CLOUDSMITH_API_KEY }}", + # "owner": "${{ vars.CLOUDSMITH_OWNER }}", + # "user": "${{ vars.CLOUDSMITH_USER }}" + # } + # ARTIFACTORY_INTEGRATION_TEST_CREDENTIALS: | + # { + # "token": "${{ secrets.ARTIFACTORY_TOKEN }}", + # "url": "${{ vars.ARTIFACTORY_URL }}", + # "user": "${{ vars.ARTIFACTORY_USER }}" + # } diff --git a/.github/workflows/selftest.yaml b/.github/workflows/selftest.yaml index 26766a97..8a7d684e 100644 --- a/.github/workflows/selftest.yaml +++ b/.github/workflows/selftest.yaml @@ -13,19 +13,21 @@ env: COLUMNS: 200 jobs: - kraken-std-selftest: + selftest: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: NiklasRosenstein/slap@gha/install/v1 - uses: actions/setup-python@v4 with: { python-version: "3.10" } + - run: pip install pipx && pipx install poetry && pipx install pdm + - run: rustup update - run: slap install --link --no-venv-check ${{ matrix.only }} - - run: cd kraken-std && kraken run fmt lint test -vv - - run: cd kraken-std && kraken q ls - - run: cd kraken-std && kraken q tree - - run: cd kraken-std && kraken q viz - - run: cd kraken-std && kraken q d python.mypy + - run: cd kraken-build && kraken run fmt lint test -vv + - run: cd kraken-build && kraken q ls + - run: cd kraken-build && kraken q tree + - run: cd kraken-build && kraken q viz + - run: cd kraken-build && kraken q d python.mypy examples-docker-manual: runs-on: ubuntu-latest diff --git a/kraken-std/src/tests/integration/cargo/data/hello-world-app/Cargo.toml b/examples/cargo-hello-world-app/Cargo.toml similarity index 100% rename from kraken-std/src/tests/integration/cargo/data/hello-world-app/Cargo.toml rename to examples/cargo-hello-world-app/Cargo.toml diff --git a/kraken-std/src/tests/integration/cargo/data/hello-world-app/src/main.rs b/examples/cargo-hello-world-app/src/main.rs similarity index 100% rename from kraken-std/src/tests/integration/cargo/data/hello-world-app/src/main.rs rename to examples/cargo-hello-world-app/src/main.rs diff --git a/examples/cargo-hello-world-lib/.cargo/config.toml b/examples/cargo-hello-world-lib/.cargo/config.toml new file mode 100644 index 00000000..949a9fd3 --- /dev/null +++ b/examples/cargo-hello-world-lib/.cargo/config.toml @@ -0,0 +1,6 @@ +# This file is partially managed by Kraken. Comments and manually added repositories are not preserved. +[registries.crates-io] +protocol = "sparse" + +[net] +git-fetch-with-cli = true diff --git a/kraken-std/src/tests/integration/cargo/data/hello-world-lib/Cargo.lock b/examples/cargo-hello-world-lib/Cargo.lock similarity index 100% rename from kraken-std/src/tests/integration/cargo/data/hello-world-lib/Cargo.lock rename to examples/cargo-hello-world-lib/Cargo.lock diff --git a/kraken-std/src/tests/integration/cargo/data/hello-world-lib/Cargo.toml b/examples/cargo-hello-world-lib/Cargo.toml similarity index 100% rename from kraken-std/src/tests/integration/cargo/data/hello-world-lib/Cargo.toml rename to examples/cargo-hello-world-lib/Cargo.toml diff --git a/kraken-std/src/tests/integration/cargo/data/hello-world-lib/src/lib.rs b/examples/cargo-hello-world-lib/src/lib.rs similarity index 100% rename from kraken-std/src/tests/integration/cargo/data/hello-world-lib/src/lib.rs rename to examples/cargo-hello-world-lib/src/lib.rs diff --git a/kraken-std/examples/docker/kraken.build.py b/examples/docker/kraken.build.py similarity index 100% rename from kraken-std/examples/docker/kraken.build.py rename to examples/docker/kraken.build.py diff --git a/kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/.kraken.py b/examples/lint-enforced-directories-project/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/.kraken.py rename to examples/lint-enforced-directories-project/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/bin/__init__.py b/examples/lint-enforced-directories-project/bin/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/bin/__init__.py rename to examples/lint-enforced-directories-project/bin/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/examples/__init__.py b/examples/lint-enforced-directories-project/examples/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/examples/__init__.py rename to examples/lint-enforced-directories-project/examples/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/pyproject.toml b/examples/lint-enforced-directories-project/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/pyproject.toml rename to examples/lint-enforced-directories-project/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/src/lint_enforced_directories_project/__init__.py b/examples/lint-enforced-directories-project/src/lint_enforced_directories_project/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/lint-enforced-directories-project/src/lint_enforced_directories_project/__init__.py rename to examples/lint-enforced-directories-project/src/lint_enforced_directories_project/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/pdm-project-consumer/.kraken.py b/examples/pdm-project-consumer/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project-consumer/.kraken.py rename to examples/pdm-project-consumer/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/pdm-project-consumer/README.md b/examples/pdm-project-consumer/README.md similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project-consumer/README.md rename to examples/pdm-project-consumer/README.md diff --git a/kraken-std/src/tests/integration/python/data/pdm-project-consumer/pyproject.toml b/examples/pdm-project-consumer/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project-consumer/pyproject.toml rename to examples/pdm-project-consumer/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/pdm-project-consumer/src/pdm_project_consumer/__init__.py b/examples/pdm-project-consumer/src/pdm_project_consumer/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project-consumer/src/pdm_project_consumer/__init__.py rename to examples/pdm-project-consumer/src/pdm_project_consumer/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/pdm-project/.kraken.py b/examples/pdm-project/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project/.kraken.py rename to examples/pdm-project/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/pdm-project/README.md b/examples/pdm-project/README.md similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project/README.md rename to examples/pdm-project/README.md diff --git a/kraken-std/src/tests/integration/python/data/pdm-project/pyproject.toml b/examples/pdm-project/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project/pyproject.toml rename to examples/pdm-project/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/pdm-project/src/pdm_project/__init__.py b/examples/pdm-project/src/pdm_project/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/pdm-project/src/pdm_project/__init__.py rename to examples/pdm-project/src/pdm_project/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/poetry-project-consumer/.kraken.py b/examples/poetry-project-consumer/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/poetry-project-consumer/.kraken.py rename to examples/poetry-project-consumer/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/poetry-project-consumer/pyproject.toml b/examples/poetry-project-consumer/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/poetry-project-consumer/pyproject.toml rename to examples/poetry-project-consumer/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/poetry-project-consumer/src/poetry_project_consumer/__init__.py b/examples/poetry-project-consumer/src/poetry_project_consumer/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/poetry-project-consumer/src/poetry_project_consumer/__init__.py rename to examples/poetry-project-consumer/src/poetry_project_consumer/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/poetry-project/.kraken.py b/examples/poetry-project/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/poetry-project/.kraken.py rename to examples/poetry-project/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/poetry-project/pyproject.toml b/examples/poetry-project/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/poetry-project/pyproject.toml rename to examples/poetry-project/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/poetry-project/src/poetry_project/__init__.py b/examples/poetry-project/src/poetry_project/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/poetry-project/src/poetry_project/__init__.py rename to examples/poetry-project/src/poetry_project/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project-consumer/.kraken.py b/examples/rust-pdm-project-consumer/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project-consumer/.kraken.py rename to examples/rust-pdm-project-consumer/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project-consumer/pyproject.toml b/examples/rust-pdm-project-consumer/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project-consumer/pyproject.toml rename to examples/rust-pdm-project-consumer/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project-consumer/src/poetry_project_consumer/__init__.py b/examples/rust-pdm-project-consumer/src/poetry_project_consumer/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project-consumer/src/poetry_project_consumer/__init__.py rename to examples/rust-pdm-project-consumer/src/poetry_project_consumer/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project/.kraken.py b/examples/rust-pdm-project/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project/.kraken.py rename to examples/rust-pdm-project/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project/Cargo.toml b/examples/rust-pdm-project/Cargo.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project/Cargo.toml rename to examples/rust-pdm-project/Cargo.toml diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project/maturin-project.pyi b/examples/rust-pdm-project/maturin-project.pyi similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project/maturin-project.pyi rename to examples/rust-pdm-project/maturin-project.pyi diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project/pyproject.toml b/examples/rust-pdm-project/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project/pyproject.toml rename to examples/rust-pdm-project/pyproject.toml diff --git a/kraken-common/src/tests/__init__.py b/examples/rust-pdm-project/src/__init__.py similarity index 100% rename from kraken-common/src/tests/__init__.py rename to examples/rust-pdm-project/src/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project/src/lib.rs b/examples/rust-pdm-project/src/lib.rs similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project/src/lib.rs rename to examples/rust-pdm-project/src/lib.rs diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project-consumer/.kraken.py b/examples/rust-poetry-project-consumer/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project-consumer/.kraken.py rename to examples/rust-poetry-project-consumer/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project-consumer/pyproject.toml b/examples/rust-poetry-project-consumer/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project-consumer/pyproject.toml rename to examples/rust-poetry-project-consumer/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project-consumer/src/poetry_project_consumer/__init__.py b/examples/rust-poetry-project-consumer/src/poetry_project_consumer/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project-consumer/src/poetry_project_consumer/__init__.py rename to examples/rust-poetry-project-consumer/src/poetry_project_consumer/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project/.kraken.py b/examples/rust-poetry-project/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project/.kraken.py rename to examples/rust-poetry-project/.kraken.py diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project/Cargo.toml b/examples/rust-poetry-project/Cargo.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project/Cargo.toml rename to examples/rust-poetry-project/Cargo.toml diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project/maturin-project.pyi b/examples/rust-poetry-project/maturin-project.pyi similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project/maturin-project.pyi rename to examples/rust-poetry-project/maturin-project.pyi diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project/pyproject.toml b/examples/rust-poetry-project/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project/pyproject.toml rename to examples/rust-poetry-project/pyproject.toml diff --git a/kraken-core/tests/__init__.py b/examples/rust-poetry-project/src/__init__.py similarity index 100% rename from kraken-core/tests/__init__.py rename to examples/rust-poetry-project/src/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project/src/lib.rs b/examples/rust-poetry-project/src/lib.rs similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project/src/lib.rs rename to examples/rust-poetry-project/src/lib.rs diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/.flake8 b/examples/slap-project-consumer/.flake8 similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/.flake8 rename to examples/slap-project-consumer/.flake8 diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/.gitignore b/examples/slap-project-consumer/.gitignore similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/.gitignore rename to examples/slap-project-consumer/.gitignore diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/.kraken.py b/examples/slap-project-consumer/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/.kraken.py rename to examples/slap-project-consumer/.kraken.py diff --git a/kraken-common/LICENSE b/examples/slap-project-consumer/LICENSE similarity index 100% rename from kraken-common/LICENSE rename to examples/slap-project-consumer/LICENSE diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/pyproject.toml b/examples/slap-project-consumer/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/pyproject.toml rename to examples/slap-project-consumer/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/readme.md b/examples/slap-project-consumer/readme.md similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/readme.md rename to examples/slap-project-consumer/readme.md diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/src/slap_project_consumer/__init__.py b/examples/slap-project-consumer/src/slap_project_consumer/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/src/slap_project_consumer/__init__.py rename to examples/slap-project-consumer/src/slap_project_consumer/__init__.py diff --git a/kraken-common/src/kraken/common/py.typed b/examples/slap-project-consumer/src/slap_project_consumer/py.typed similarity index 100% rename from kraken-common/src/kraken/common/py.typed rename to examples/slap-project-consumer/src/slap_project_consumer/py.typed diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/tests/test_consumer_import.py b/examples/slap-project-consumer/tests/test_consumer_import.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/tests/test_consumer_import.py rename to examples/slap-project-consumer/tests/test_consumer_import.py diff --git a/kraken-std/src/tests/integration/python/data/slap-project/.flake8 b/examples/slap-project/.flake8 similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/.flake8 rename to examples/slap-project/.flake8 diff --git a/kraken-std/src/tests/integration/python/data/slap-project/.gitignore b/examples/slap-project/.gitignore similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/.gitignore rename to examples/slap-project/.gitignore diff --git a/kraken-std/src/tests/integration/python/data/slap-project/.kraken.py b/examples/slap-project/.kraken.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/.kraken.py rename to examples/slap-project/.kraken.py diff --git a/kraken-core/LICENSE b/examples/slap-project/LICENSE similarity index 100% rename from kraken-core/LICENSE rename to examples/slap-project/LICENSE diff --git a/kraken-std/src/tests/integration/python/data/slap-project/pyproject.toml b/examples/slap-project/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/pyproject.toml rename to examples/slap-project/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/slap-project/readme.md b/examples/slap-project/readme.md similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/readme.md rename to examples/slap-project/readme.md diff --git a/kraken-std/src/tests/integration/python/data/slap-project/src/slap_project/__init__.py b/examples/slap-project/src/slap_project/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/src/slap_project/__init__.py rename to examples/slap-project/src/slap_project/__init__.py diff --git a/kraken-core/src/kraken/core/py.typed b/examples/slap-project/src/slap_project/py.typed similarity index 100% rename from kraken-core/src/kraken/core/py.typed rename to examples/slap-project/src/slap_project/py.typed diff --git a/kraken-std/src/tests/integration/python/data/slap-project/tests/test_import.py b/examples/slap-project/tests/test_import.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/tests/test_import.py rename to examples/slap-project/tests/test_import.py diff --git a/kraken-std/src/tests/integration/python/data/version-project/pyproject.toml b/examples/version-project/pyproject.toml similarity index 100% rename from kraken-std/src/tests/integration/python/data/version-project/pyproject.toml rename to examples/version-project/pyproject.toml diff --git a/kraken-std/src/tests/integration/python/data/version-project/src/version_project/__init__.py b/examples/version-project/src/version_project/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/version-project/src/version_project/__init__.py rename to examples/version-project/src/version_project/__init__.py diff --git a/kraken-core/.changelog/0.1.0.post1.toml b/kraken-build/.changelog/0.1.0.post1.toml similarity index 91% rename from kraken-core/.changelog/0.1.0.post1.toml rename to kraken-build/.changelog/0.1.0.post1.toml index 707399ec..93008e12 100644 --- a/kraken-core/.changelog/0.1.0.post1.toml +++ b/kraken-build/.changelog/0.1.0.post1.toml @@ -5,3 +5,4 @@ id = "c48a0427-6967-42b5-9e2c-e91ecf3b0862" type = "fix" description = "reduce networkx requirement for Python 3.7 compatibility, fix lints" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-wrapper/.changelog/0.1.1.toml b/kraken-build/.changelog/0.1.1.toml similarity index 59% rename from kraken-wrapper/.changelog/0.1.1.toml rename to kraken-build/.changelog/0.1.1.toml index 1ffe50c5..55c164e2 100644 --- a/kraken-wrapper/.changelog/0.1.1.toml +++ b/kraken-build/.changelog/0.1.1.toml @@ -1,13 +1,22 @@ -release-date = "2022-08-12" +release-date = "2022-07-04" + +[[entries]] +id = "973b5316-22e5-4835-abf4-7aae925b2dc1" +type = "improvement" +description = "update `docker_build()` to accept `dockerfile` parameter as a string and use `Project.to_path()`" +author = "@NiklasRosenstein" +component = "std" [[entries]] id = "9ab7842b-3b90-44c6-89ba-a59f5db9cca7" type = "improvement" description = "use Pip `--use-feature=in-tree-build` flag, this greatly improves the installation time for packages from local requirements" author = "@NiklasRosenstein" +component = "wrapper" [[entries]] id = "1a3531f1-0f68-4993-bddb-c78a1715190b" type = "improvement" description = "no longer remove environment before install (allows VENV to upgrade an existing environment)" author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-wrapper/.changelog/0.1.10.toml b/kraken-build/.changelog/0.1.10.toml similarity index 61% rename from kraken-wrapper/.changelog/0.1.10.toml rename to kraken-build/.changelog/0.1.10.toml index 63b6d525..b0272333 100644 --- a/kraken-wrapper/.changelog/0.1.10.toml +++ b/kraken-build/.changelog/0.1.10.toml @@ -1,13 +1,22 @@ -release-date = "2022-08-12" +release-date = "2022-07-19" + +[[entries]] +id = "b8054627-4bdb-4d47-b228-8406cf492844" +type = "breaking change" +description = "upgrade to be compatible with `kraken-core ^0.3.0`, add Novella docs and publish to Github actions" +author = "@NiklasRosenstein" +component = "std" [[entries]] id = "884e2e86-4e3f-4041-913b-f11a2688dfba" type = "fix" description = "`VENV` environment type now ensures Pip is up to date in the environment before installing requirements; removed `--use-feature=in-tree-build` flag is it was removed from `20.0.4` to `21.0` and is now the default" author = "@NiklasRosenstein" +component = "wrapper" [[entries]] id = "58a83374-41df-4b1e-aeed-4351e4761bf8" type = "improvement" description = "print time it took to install the build environmet" author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.11.toml b/kraken-build/.changelog/0.1.11.toml similarity index 53% rename from kraken-std/.changelog/0.1.11.toml rename to kraken-build/.changelog/0.1.11.toml index bff8746b..95a0601b 100644 --- a/kraken-std/.changelog/0.1.11.toml +++ b/kraken-build/.changelog/0.1.11.toml @@ -5,3 +5,11 @@ id = "f0ce41b6-cafb-4d3d-8806-f16a703e554f" type = "feature" description = "add `kraken.std.python` package which provides tasks and factories for black, flake8, isort, mypy and pytest" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "03134444-c09f-4223-9797-0e38c075f85e" +type = "fix" +description = "fix mention of default build enviroment type in `--use` option" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.12.toml b/kraken-build/.changelog/0.1.12.toml similarity index 74% rename from kraken-std/.changelog/0.1.12.toml rename to kraken-build/.changelog/0.1.12.toml index c94c1a84..998a168b 100644 --- a/kraken-std/.changelog/0.1.12.toml +++ b/kraken-build/.changelog/0.1.12.toml @@ -5,21 +5,32 @@ id = "d63edec0-7c4a-4516-9d57-a1f260564fda" type = "improvement" description = "RenderFileTask no longer tries to call the content supplier in `finalize()`, fix info line on the file being written" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "c3af61ab-bf19-4232-8e81-91a5926fc31a" type = "improvement" description = "add INFO log for subcommand executed by python `EnvironmentAwareDispatchTask`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "e7dc557e-1699-48be-89f9-1ab0f8e4dde6" type = "fix" description = "Python `MypyTask` no longer adds the test directory if it is a subdirectory of the source directory, which used to cause an error in Mypy" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "e89c2e20-8d8d-4b92-a8ff-9e63d1a73f96" type = "improvement" description = "add `MypyTask.python_version` property" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "c80dcb8a-50ca-483c-9392-c43954ce85eb" +type = "improvement" +description = "no longer warn about lock file being outdated when `--upgrade` option is passed" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.13.toml b/kraken-build/.changelog/0.1.13.toml similarity index 67% rename from kraken-std/.changelog/0.1.13.toml rename to kraken-build/.changelog/0.1.13.toml index 7746b387..d65ab055 100644 --- a/kraken-std/.changelog/0.1.13.toml +++ b/kraken-build/.changelog/0.1.13.toml @@ -5,9 +5,18 @@ id = "c53e0963-e23a-4723-8617-6ef690116c26" type = "improvement" description = "`KanikoBuildTask` now errors in `finalize()` if the `cache_repo` contains a `:` (colon)" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "b54e7e07-740f-449d-8a90-a68b795ff622" type = "improvement" description = "Add `SlapEnvironmentHandler` and automatic detection of an appropriate environment handler; add `InstallTask` and `install()` function to `kraken.std.python`; if the instal task exists then all toolchain tasks in Python will depend on it" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "7dddf643-9a7a-40d0-b044-6802e81d3ead" +type = "improvement" +description = "In the `VENV` environment type, do not upgrade Pip if the build env is reused (with `KRAKENW_INCREMENTAL=1`)" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-wrapper/.changelog/0.1.14.toml b/kraken-build/.changelog/0.1.14.toml similarity index 58% rename from kraken-wrapper/.changelog/0.1.14.toml rename to kraken-build/.changelog/0.1.14.toml index 2480a37f..5bd82f97 100644 --- a/kraken-wrapper/.changelog/0.1.14.toml +++ b/kraken-build/.changelog/0.1.14.toml @@ -1,4 +1,11 @@ -release-date = "2022-08-16" +release-date = "2022-07-19" + +[[entries]] +id = "e232926e-05d1-4166-a2b1-c35550a2b3a0" +type = "fix" +description = "fix interpretation of `KanikoBuildTask.load` property (before it would always load)" +author = "@NiklasRosenstein" +component = "std" [[entries]] id = "33e416a0-5c98-420e-867d-c7be861248d6" @@ -8,3 +15,4 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-wrapper/issues/1", ] +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.15.toml b/kraken-build/.changelog/0.1.15.toml similarity index 66% rename from kraken-std/.changelog/0.1.15.toml rename to kraken-build/.changelog/0.1.15.toml index 6de7c118..b6be7323 100644 --- a/kraken-std/.changelog/0.1.15.toml +++ b/kraken-build/.changelog/0.1.15.toml @@ -5,9 +5,18 @@ id = "403d8b1b-c6ec-4c84-8aed-11e3cf5b2f92" type = "improvement" description = "Refactor Python task, add tasks for build and publish and the ability to register package indices that will be used for publishing (and should also be used for installing but we dont do that yet)" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "6974c2f9-c439-4ce1-9571-22a49ab69e0a" type = "feature" description = "add `kraken.std.git` module and `kraken.std.python.utils.git_version_to_python()` function" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "f5001ad6-560d-42d0-b5ce-eeb3d8e89ad0" +type = "fix" +description = "the `krakenw auth` command can now be used globally and does not require the presence of a `.kraken.py` file" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-build/.changelog/0.1.16.toml b/kraken-build/.changelog/0.1.16.toml new file mode 100644 index 00000000..0dfa4463 --- /dev/null +++ b/kraken-build/.changelog/0.1.16.toml @@ -0,0 +1,15 @@ +release-date = "2022-07-20" + +[[entries]] +id = "f9618f8f-ac6f-4354-bc0e-d9a81446886e" +type = "fix" +description = "fix publishing" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "29fb048d-2839-4646-b3e1-ece78b7f3ff3" +type = "fix" +description = "add missing requirement `keyring`" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.17.toml b/kraken-build/.changelog/0.1.17.toml similarity index 61% rename from kraken-std/.changelog/0.1.17.toml rename to kraken-build/.changelog/0.1.17.toml index f3a6a83b..60fe969a 100644 --- a/kraken-std/.changelog/0.1.17.toml +++ b/kraken-build/.changelog/0.1.17.toml @@ -5,9 +5,18 @@ id = "74a06257-41dd-4809-a259-5b493d2cfcc0" type = "feature" description = "add `BlackTask.additional_files` and `IsortTask.additional_files`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "00ec24e0-6fb2-4179-858d-98a2eb2b79a0" type = "fix" description = "fix Python build system now properly moving the distributions instead of just renaming, which fails across file system boundaries" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "5bc09df8-ab0e-4cb4-8282-bab9fa172b1c" +type = "fix" +description = "Update handling of `--password-stdin` flag, if this and `--password` is not specified, we will use `getpass()`" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-build/.changelog/0.1.18.toml b/kraken-build/.changelog/0.1.18.toml new file mode 100644 index 00000000..5243f38a --- /dev/null +++ b/kraken-build/.changelog/0.1.18.toml @@ -0,0 +1,15 @@ +release-date = "2022-07-20" + +[[entries]] +id = "6623360f-6899-4242-9fe5-a050791815a5" +type = "feature" +description = "add Python `PublishTask.skip_existing`" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "865cae3d-5021-4705-b981-6a23c2477341" +type = "fix" +description = "create parent directories when saving config" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.19.toml b/kraken-build/.changelog/0.1.19.toml similarity index 51% rename from kraken-std/.changelog/0.1.19.toml rename to kraken-build/.changelog/0.1.19.toml index cd52a31f..e2d76715 100644 --- a/kraken-std/.changelog/0.1.19.toml +++ b/kraken-build/.changelog/0.1.19.toml @@ -5,3 +5,11 @@ id = "659c9bc6-075f-4c2c-9fa7-ce0707ff1e2e" type = "fix" description = "fix `:blackFormat` actually formatting instead of checking and `:blackCheck` actually to just check instead of formatting" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "f21658ab-5a43-4c0a-8030-aa50bc56acae" +type = "improvement" +description = "fall back to writing password into file as plaintext if no keyring backend is available" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-wrapper/.changelog/0.1.2.toml b/kraken-build/.changelog/0.1.2.toml similarity index 50% rename from kraken-wrapper/.changelog/0.1.2.toml rename to kraken-build/.changelog/0.1.2.toml index 0db89a45..3fecd01f 100644 --- a/kraken-wrapper/.changelog/0.1.2.toml +++ b/kraken-build/.changelog/0.1.2.toml @@ -1,7 +1,15 @@ -release-date = "2022-08-12" +release-date = "2022-07-04" + +[[entries]] +id = "b6a6a191-06a9-4a14-a5af-d1dbf0a960c8" +type = "improvement" +description = "add `Project.to_path()`" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "76d24e29-1989-4062-9b82-387fe553e91d" type = "improvement" description = "set `_KRAKENW_ENV_TYPE` and `_KRAKENW_ENV_PATH` in environment when dispatching to build environment" author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.20.toml b/kraken-build/.changelog/0.1.20.toml similarity index 92% rename from kraken-std/.changelog/0.1.20.toml rename to kraken-build/.changelog/0.1.20.toml index c7b81ab3..5e533bd0 100644 --- a/kraken-std/.changelog/0.1.20.toml +++ b/kraken-build/.changelog/0.1.20.toml @@ -5,39 +5,46 @@ id = "f8dc4c76-b79f-45c1-958e-bb2f819a2a41" type = "feature" description = "add `PythonSettings.always_use_managed_env` to ensure that Python tasks use the managed environment from the Python build system (instead of falling back to a currently active virtual environment)" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "b8065b60-4e51-43b8-8751-c690c92f42b7" type = "fix" description = "add `--non-interactive` to Twine upload" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "f9ae793e-ffc2-40aa-a7d4-12e2c2b772c1" type = "feature" description = "add `--log-cli-level` by default when running Pytest and take `PYTEST_FLAGS` into account" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "9182784b-8f03-43dd-bd6c-cd2fbab3cd66" type = "tests" description = "add integration tests for linting and publishing Poetry and Slap Python projects" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "5976bef8-278a-4d00-b27c-5d5a9937ba64" type = "fix" description = "update `PoetryPythonBuildSystem` to ignore the current virtual environment to ensure we get the path of the Poetry managed environment" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "e0108498-391f-4083-ad81-749691abc2f1" type = "fix" description = "`PoetryPythonBuildSystem` now injects package indexes and credentials into `pyproject.toml` and `poetry.toml` temporarily" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "5d4564de-dbce-4143-922d-a433c6940297" type = "fix" description = "Pass index URL and credentials to `slap install` command" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.21.toml b/kraken-build/.changelog/0.1.21.toml similarity index 64% rename from kraken-std/.changelog/0.1.21.toml rename to kraken-build/.changelog/0.1.21.toml index f226c2bd..e28f4593 100644 --- a/kraken-std/.changelog/0.1.21.toml +++ b/kraken-build/.changelog/0.1.21.toml @@ -5,9 +5,18 @@ id = "e3db4ba1-6bae-4a51-830d-3ec9933e0980" type = "improvement" description = "Pass `--no-interacton` to `poetry install`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "a4c62889-e571-45b7-9420-5b407de84aa6" type = "fix" description = "Python install task now understands the `PythonSettings.always_use_managed_env` option" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "77404138-6380-495c-97b3-7950fbab908b" +type = "fix" +description = "fix compatibility with kraken-core 0.9.0" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-wrapper/.changelog/0.1.22.toml b/kraken-build/.changelog/0.1.22.toml similarity index 58% rename from kraken-wrapper/.changelog/0.1.22.toml rename to kraken-build/.changelog/0.1.22.toml index 5bbc6b74..5ad077ef 100644 --- a/kraken-wrapper/.changelog/0.1.22.toml +++ b/kraken-build/.changelog/0.1.22.toml @@ -1,10 +1,25 @@ -release-date = "2022-08-21" +release-date = "2022-07-24" + +[[entries]] +id = "2b6ebf85-85c3-4d16-b0e1-22ae5506c80b" +type = "improvement" +description = "add `kraken-core ^0.4.0` compatibility" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "dcaf36e9-0419-479f-b003-adb809969d7e" +type = "feature" +description = "add `pytest(group)` keyword argument" +author = "@NiklasRosenstein" +component = "std" [[entries]] id = "4e2cc2dc-696c-4028-8992-fbd2a36bf395" type = "improvement" description = "add default interpreter constraints to requriements (`>=3.7`), and add note that the Pip venv installer still needs to respect that option" author = "@NiklasRosenstein" +component = "wrapper" [[entries]] id = "d6ec391c-6b5f-40a7-9148-9b52cd0f7cae" @@ -14,3 +29,4 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-wrapper/issues/6", ] +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.23.toml b/kraken-build/.changelog/0.1.23.toml similarity index 90% rename from kraken-std/.changelog/0.1.23.toml rename to kraken-build/.changelog/0.1.23.toml index 310ea3cd..88d72b6b 100644 --- a/kraken-std/.changelog/0.1.23.toml +++ b/kraken-build/.changelog/0.1.23.toml @@ -5,3 +5,4 @@ id = "21e674a3-9352-4c4b-8c61-ce60ef2c5df9" type = "feature" description = "add `manifest_tool()` function" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.24.toml b/kraken-build/.changelog/0.1.24.toml similarity index 89% rename from kraken-std/.changelog/0.1.24.toml rename to kraken-build/.changelog/0.1.24.toml index 9fb21c99..4eac150e 100644 --- a/kraken-std/.changelog/0.1.24.toml +++ b/kraken-build/.changelog/0.1.24.toml @@ -5,9 +5,11 @@ id = "b5816d6a-aed0-4af8-8d34-93dd5548d836" type = "feature" description = "add a `GitignoreSyncTask`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "9cf67034-f6f6-497c-bf4d-b0c7bf319f4c" type = "breaking change" description = "rework Cargo API" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.25.toml b/kraken-build/.changelog/0.1.25.toml similarity index 92% rename from kraken-std/.changelog/0.1.25.toml rename to kraken-build/.changelog/0.1.25.toml index 7f6c7d21..664a5da8 100644 --- a/kraken-std/.changelog/0.1.25.toml +++ b/kraken-build/.changelog/0.1.25.toml @@ -5,3 +5,4 @@ id = "68f545d1-d27c-4a69-880c-b10adb2bfb65" type = "feature" description = "add `CargoBumpVersionTask` and `cargo_publish(version)` argument" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.26.toml b/kraken-build/.changelog/0.1.26.toml similarity index 91% rename from kraken-std/.changelog/0.1.26.toml rename to kraken-build/.changelog/0.1.26.toml index 33e8293a..a99f2094 100644 --- a/kraken-std/.changelog/0.1.26.toml +++ b/kraken-build/.changelog/0.1.26.toml @@ -5,9 +5,11 @@ id = "750a2334-0968-40f2-a071-5ec688c143b1" type = "improvement" description = "`CargoBumpVersionTask` now includes a status message with the version number" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "8fe72789-54de-4ab2-9032-5f8b4dd52dbd" type = "feature" description = "add `git_version_to_cargo_version()` function" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.27.toml b/kraken-build/.changelog/0.1.27.toml similarity index 91% rename from kraken-std/.changelog/0.1.27.toml rename to kraken-build/.changelog/0.1.27.toml index b5ada729..970a6233 100644 --- a/kraken-std/.changelog/0.1.27.toml +++ b/kraken-build/.changelog/0.1.27.toml @@ -5,3 +5,4 @@ id = "b15dbc16-2a0b-4ea6-a84c-1dc5fe39fb82" type = "improvement" description = "add `cargo_build(group)` argument" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.29.toml b/kraken-build/.changelog/0.1.29.toml similarity index 91% rename from kraken-std/.changelog/0.1.29.toml rename to kraken-build/.changelog/0.1.29.toml index 59f78bc0..38c11377 100644 --- a/kraken-std/.changelog/0.1.29.toml +++ b/kraken-build/.changelog/0.1.29.toml @@ -5,3 +5,4 @@ id = "303967cf-c7fd-4f55-b4be-0dce4905ad1c" type = "improvement" description = "`cargo_build(group)` is now optional" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-wrapper/.changelog/0.1.3.toml b/kraken-build/.changelog/0.1.3.toml similarity index 53% rename from kraken-wrapper/.changelog/0.1.3.toml rename to kraken-build/.changelog/0.1.3.toml index c189d1e5..3df089fa 100644 --- a/kraken-wrapper/.changelog/0.1.3.toml +++ b/kraken-build/.changelog/0.1.3.toml @@ -1,7 +1,15 @@ -release-date = "2022-08-12" +release-date = "2022-07-04" + +[[entries]] +id = "a40eb67d-a8d2-492c-b60a-8b9b7a9890dd" +type = "feature" +description = "Add `Project.resolve_tasks()`" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "aa6e4421-1109-4c53-b832-1fc2d364b011" type = "improvement" description = "pass down whether transitive install is needed or not based on whether installing from a lock file or from requirement spec" author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.30.toml b/kraken-build/.changelog/0.1.30.toml similarity index 90% rename from kraken-std/.changelog/0.1.30.toml rename to kraken-build/.changelog/0.1.30.toml index f1cd9a31..7b94ade9 100644 --- a/kraken-std/.changelog/0.1.30.toml +++ b/kraken-build/.changelog/0.1.30.toml @@ -5,21 +5,25 @@ id = "f6c8106e-c7fa-45e9-8c9f-d18969a4460b" type = "fix" description = "fix status message returned by `CargoVersionBumpTask.start_background_task()`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "5c93a704-da6f-4323-98d3-f46facae4ba9" type = "improvement" description = "Add `INFO` log line to `CargoPublishTask.execute()`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "d3fedd13-a647-4fcd-bac6-970b3e63e4c6" type = "feature" description = "add `CargoClippyTask` and `cargo_clippy()` function" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "1fbdc4a1-999a-4a1f-bb0d-ebda0aa20d4d" type = "feature" description = "add `cargo_build(incremental)` parameter" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.31.toml b/kraken-build/.changelog/0.1.31.toml similarity index 93% rename from kraken-std/.changelog/0.1.31.toml rename to kraken-build/.changelog/0.1.31.toml index 3589aec4..587dc51d 100644 --- a/kraken-std/.changelog/0.1.31.toml +++ b/kraken-build/.changelog/0.1.31.toml @@ -5,3 +5,4 @@ id = "ed0e9062-4f65-4e70-bf69-da25bc0a6a09" type = "feature" description = "add `PythonIndex.default` field and support passing it to Slap (requires Slap >= 1.6.25), not currently supported for Poetry" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.32.toml b/kraken-build/.changelog/0.1.32.toml similarity index 91% rename from kraken-std/.changelog/0.1.32.toml rename to kraken-build/.changelog/0.1.32.toml index a5dedd05..de9dc764 100644 --- a/kraken-std/.changelog/0.1.32.toml +++ b/kraken-build/.changelog/0.1.32.toml @@ -5,9 +5,11 @@ id = "99554b03-23d6-498e-8e3d-a402e9c713d8" type = "feature" description = "add `kraken.std.sccache` module" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "6a198a9c-0e7b-4b97-8a1a-c4691b262c94" type = "feature" description = "add `CargoProject.build_env` attribute, `cargo_build(incremental, env)` and `cargo_publish(incremental, env)` args" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.33.toml b/kraken-build/.changelog/0.1.33.toml similarity index 90% rename from kraken-std/.changelog/0.1.33.toml rename to kraken-build/.changelog/0.1.33.toml index d22c818c..370d0f87 100644 --- a/kraken-std/.changelog/0.1.33.toml +++ b/kraken-build/.changelog/0.1.33.toml @@ -5,9 +5,11 @@ id = "53ad34d4-f56b-4740-9a9a-5c0c5e3764e7" type = "improvement" description = "no longer hide output of `proxy.py`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "d7c82ccd-ad5c-4460-b005-994329f3ff7c" type = "improvement" description = "handle `PROXY_PY_TIMEOUT` flag in Cargo MITM code" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.34.toml b/kraken-build/.changelog/0.1.34.toml similarity index 93% rename from kraken-std/.changelog/0.1.34.toml rename to kraken-build/.changelog/0.1.34.toml index 90698c35..7dd73bfa 100644 --- a/kraken-std/.changelog/0.1.34.toml +++ b/kraken-build/.changelog/0.1.34.toml @@ -5,3 +5,4 @@ id = "715204a7-7816-4d35-826b-d364a3b1f3ec" type = "fix" description = "treat PROXY_PY_TIMEOUT as int instead of float (the `proxy --help` default value shows it formatted as a float :sweat_smile:)" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.35.toml b/kraken-build/.changelog/0.1.35.toml similarity index 92% rename from kraken-std/.changelog/0.1.35.toml rename to kraken-build/.changelog/0.1.35.toml index 151dfe49..79c6035a 100644 --- a/kraken-std/.changelog/0.1.35.toml +++ b/kraken-build/.changelog/0.1.35.toml @@ -5,9 +5,11 @@ id = "a3e1f7c4-9f6b-4189-a2d9-985ee35f416d" type = "improvement" description = "declare compatibility with `kraken-core >=0.5.4,<0.7.0`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "10aa3a26-dd30-4b9c-86d2-49abac2e2b28" type = "improvement" description = "update sccache output and set python warnings to ignore for the `proxy.py` subprocess spawned for Cargo MITM" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.36.toml b/kraken-build/.changelog/0.1.36.toml similarity index 91% rename from kraken-std/.changelog/0.1.36.toml rename to kraken-build/.changelog/0.1.36.toml index 5230e67d..345a0d78 100644 --- a/kraken-std/.changelog/0.1.36.toml +++ b/kraken-build/.changelog/0.1.36.toml @@ -5,51 +5,60 @@ id = "0f4e88cc-1671-4dab-a449-5dea3a0f8d8b" type = "hygiene" description = "remove unused `CargoAuthProxyTask.for_tasks` and `CargoSyncConfigTask.for_tasks`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "598f2ab5-4be0-4784-a918-5024bb1e7d58" type = "improvement" description = "update Cargo MITM proxy to not inject credentials into CONNECT requests" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "1aa1e30b-4057-41f6-92b3-fb25e245a726" type = "feature" description = "add `CargoSyncConfigTask.git_fetch_with_cli` property" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "c0b838ab-1f9e-4269-bcaf-fd7c8fb3297a" type = "fix" description = "avoid revealing secret in `CargoBuildTask` and `CargoPublishTask` result status message" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "42c428e5-3c78-4de5-a37a-505b2db79812" type = "fix" description = "fix showing sccache stats when the sccache server is stopped" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "78e3d494-b9e1-4758-a6e0-136a05ff3a93" type = "fix" description = "fix passing args to `CargoBuildTask`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "0d3dacf6-741b-489f-ba9b-7456bd462f2f" type = "improvement" description = "`cargo clippy` actually builds your project, so we make it a subclass of `CargoBuildTask` and have it depend on the auth proxy and config sync" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "211c97c4-ed30-4b5c-908b-aa91bab3be2b" type = "feature" description = "add option to disable verify for build task" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "6d3153a7-7ce5-4038-8702-fa795143acb3" type = "improvement" description = "add `sccache(group)` parameter" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.37.toml b/kraken-build/.changelog/0.1.37.toml similarity index 92% rename from kraken-std/.changelog/0.1.37.toml rename to kraken-build/.changelog/0.1.37.toml index f7e1f1a7..3e4643c6 100644 --- a/kraken-std/.changelog/0.1.37.toml +++ b/kraken-build/.changelog/0.1.37.toml @@ -5,3 +5,4 @@ id = "42b642b7-d38d-4362-b197-91583d6e23a4" type = "improvement" description = "add `cargo_clippy(allow)` parameter and make it return the task" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.38.toml b/kraken-build/.changelog/0.1.38.toml similarity index 92% rename from kraken-std/.changelog/0.1.38.toml rename to kraken-build/.changelog/0.1.38.toml index 10e25665..784fae79 100644 --- a/kraken-std/.changelog/0.1.38.toml +++ b/kraken-build/.changelog/0.1.38.toml @@ -5,3 +5,4 @@ id = "8f9a6215-62a1-471c-b462-93479e53bc64" type = "fix" description = "GitignoreTask now takes care not to put the same path twice in the same section" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.39.toml b/kraken-build/.changelog/0.1.39.toml similarity index 90% rename from kraken-std/.changelog/0.1.39.toml rename to kraken-build/.changelog/0.1.39.toml index f0dc14dc..c5045119 100644 --- a/kraken-std/.changelog/0.1.39.toml +++ b/kraken-build/.changelog/0.1.39.toml @@ -5,3 +5,4 @@ id = "b248b439-fc83-4394-9512-c5bfd77546cc" type = "feature" description = "add `cargo_test()`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-build/.changelog/0.1.4.toml b/kraken-build/.changelog/0.1.4.toml new file mode 100644 index 00000000..e00e73f6 --- /dev/null +++ b/kraken-build/.changelog/0.1.4.toml @@ -0,0 +1,15 @@ +release-date = "2022-07-06" + +[[entries]] +id = "655ad9e7-87f8-4f68-aaa3-a60ae69f0426" +type = "breaking change" +description = "update Helm task parameters and add docstrings" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "027dfddf-5e0b-4770-8f80-dc912fd29c58" +type = "fix" +description = "uninitialize logger before dispatching to PEX build environment such the kraken-core can re-initialize it" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.40.toml b/kraken-build/.changelog/0.1.40.toml similarity index 94% rename from kraken-std/.changelog/0.1.40.toml rename to kraken-build/.changelog/0.1.40.toml index 141da52b..ea291696 100644 --- a/kraken-std/.changelog/0.1.40.toml +++ b/kraken-build/.changelog/0.1.40.toml @@ -5,3 +5,4 @@ id = "b7ff1b1b-786a-42c0-b8f6-80805737c4de" type = "improvement" description = "The Docker `BuildxBuildTask` and `NativeBuildTask` will now update the file to inject the `--mount=type=secret,id=...` instructions such that build secrets can always be accessed." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.41.toml b/kraken-build/.changelog/0.1.41.toml similarity index 92% rename from kraken-std/.changelog/0.1.41.toml rename to kraken-build/.changelog/0.1.41.toml index fed61cbe..6dedaece 100644 --- a/kraken-std/.changelog/0.1.41.toml +++ b/kraken-build/.changelog/0.1.41.toml @@ -5,3 +5,4 @@ id = "361de9cd-0de7-4515-a5f3-a5ce74b6fee6" type = "fix" description = "remove debug print from Docker `prepend_secret_mounts_to_file()`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.42.toml b/kraken-build/.changelog/0.1.42.toml similarity index 89% rename from kraken-std/.changelog/0.1.42.toml rename to kraken-build/.changelog/0.1.42.toml index 04a4da53..6f1283b1 100644 --- a/kraken-std/.changelog/0.1.42.toml +++ b/kraken-build/.changelog/0.1.42.toml @@ -5,9 +5,11 @@ id = "69248842-86ff-404c-bc06-bedfe5c0e257" type = "feature" description = "add `GitVersion.format()`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "faa61b89-ada1-431f-970e-147e240810e8" type = "improvement" description = "update `helm_package()`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.43.toml b/kraken-build/.changelog/0.1.43.toml similarity index 92% rename from kraken-std/.changelog/0.1.43.toml rename to kraken-build/.changelog/0.1.43.toml index 4712948f..44e92304 100644 --- a/kraken-std/.changelog/0.1.43.toml +++ b/kraken-build/.changelog/0.1.43.toml @@ -5,3 +5,4 @@ id = "d42991c7-d160-4f1f-9ce3-fbd2908e0e32" type = "improvement" description = "add compatibility with kraken-core ^0.7.0 in addition to ^0.6.2" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.44.toml b/kraken-build/.changelog/0.1.44.toml similarity index 91% rename from kraken-std/.changelog/0.1.44.toml rename to kraken-build/.changelog/0.1.44.toml index 9ff095b1..4345dbf0 100644 --- a/kraken-std/.changelog/0.1.44.toml +++ b/kraken-build/.changelog/0.1.44.toml @@ -5,3 +5,4 @@ id = "1e0ab6a5-f4e7-45f9-a734-7d0849d1a561" type = "improvement" description = "add `cargo_bump(version)` parameter" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.45.toml b/kraken-build/.changelog/0.1.45.toml similarity index 91% rename from kraken-std/.changelog/0.1.45.toml rename to kraken-build/.changelog/0.1.45.toml index 6be7e0fe..e5277e4a 100644 --- a/kraken-std/.changelog/0.1.45.toml +++ b/kraken-build/.changelog/0.1.45.toml @@ -5,9 +5,11 @@ id = "dfc98639-5b0a-4975-8844-eca5329f577c" type = "improvement" description = "Sort Gitignore paths by default" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "b5866fee-6bec-4913-805a-2f062b5fad6c" type = "fix" description = "fix case when helm_package() failed because the output files parent dir did not exist" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.46.toml b/kraken-build/.changelog/0.1.46.toml similarity index 93% rename from kraken-std/.changelog/0.1.46.toml rename to kraken-build/.changelog/0.1.46.toml index 7daf19d2..e98fa52b 100644 --- a/kraken-std/.changelog/0.1.46.toml +++ b/kraken-build/.changelog/0.1.46.toml @@ -5,3 +5,4 @@ id = "ec05a3fd-ee58-459d-9f2c-0fd7f586c098" type = "feature" description = "`RenderFileTask` now automatically generates a corresponding check task that is added to the `lint` group" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.1.5.toml b/kraken-build/.changelog/0.1.5.toml similarity index 72% rename from kraken-std/.changelog/0.1.5.toml rename to kraken-build/.changelog/0.1.5.toml index 434f89d4..12df528a 100644 --- a/kraken-std/.changelog/0.1.5.toml +++ b/kraken-build/.changelog/0.1.5.toml @@ -5,15 +5,25 @@ id = "d5ca660f-9cd8-47d2-84e7-daf4fd38c9c3" type = "feature" description = "Add `DockerBuildTask.platform` property" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "979afe3a-8f89-4e87-859a-b1555543265b" type = "improvement" description = "use new `Task.logger` in kraken-core 0.2.4 in `KanikoBuildTask`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "19f7f374-f3c0-4007-810a-af2f0d279e93" type = "feature" description = "add `kraken.std.cargo` package with a `cargo_build()` task that can setup an MITM to inject credentials for requests to a host configured with `cargo_settings()`" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "2dc92f6b-956c-49fc-8002-89b646c6f15b" +type = "improvement" +description = "Improve output on build environment operation" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.1.6.toml b/kraken-build/.changelog/0.1.6.toml similarity index 92% rename from kraken-std/.changelog/0.1.6.toml rename to kraken-build/.changelog/0.1.6.toml index 3bb2a2e4..f70fe8c8 100644 --- a/kraken-std/.changelog/0.1.6.toml +++ b/kraken-build/.changelog/0.1.6.toml @@ -5,3 +5,4 @@ id = "4e64bd03-e546-4fb3-b527-962232549002" type = "feature" description = "Build Cargo integration test for Artifactory and Cloudsmith" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-build/.changelog/0.1.7.toml b/kraken-build/.changelog/0.1.7.toml new file mode 100644 index 00000000..ff31ac37 --- /dev/null +++ b/kraken-build/.changelog/0.1.7.toml @@ -0,0 +1,15 @@ +release-date = "2022-07-13" + +[[entries]] +id = "195cd20a-f4ad-4906-ab46-3d797bd388b1" +type = "fix" +description = "actually handke `KanikoBuildTask.kaniko_copy_cache_layers` option" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "ea9545a6-4def-4e30-8e9c-9970a8a50299" +type = "fix" +description = "disable non-transitive build environment installation due to #2" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-build/.changelog/0.1.8.toml b/kraken-build/.changelog/0.1.8.toml new file mode 100644 index 00000000..74016b1d --- /dev/null +++ b/kraken-build/.changelog/0.1.8.toml @@ -0,0 +1,22 @@ +release-date = "2022-07-14" + +[[entries]] +id = "e6c3641a-5fe5-42ca-9a8f-3df4b85a175d" +type = "feature" +description = "add \"native\" docker build backend" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "37451d4c-b06f-441e-9a18-0b258730e3a3" +type = "feature" +description = "add `manifest_tool_push` task" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "f88eb46d-3a8d-4743-9030-c97ec9c3b3ee" +type = "improvement" +description = "just `krakenw lock` without arguments will not look to ensure build environment consistency (which could cause a reinstall before locking because the lockfile is outdated)" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-wrapper/.changelog/0.1.9.toml b/kraken-build/.changelog/0.1.9.toml similarity index 55% rename from kraken-wrapper/.changelog/0.1.9.toml rename to kraken-build/.changelog/0.1.9.toml index 30efb96a..c5eb6437 100644 --- a/kraken-wrapper/.changelog/0.1.9.toml +++ b/kraken-build/.changelog/0.1.9.toml @@ -1,13 +1,22 @@ -release-date = "2022-08-12" +release-date = "2022-07-14" + +[[entries]] +id = "dc714e2b-02dd-4f45-a983-f188c1e91b7d" +type = "improvement" +description = "add `native_use_buildkit` option to the `NativeBuildTask` for Docker" +author = "@NiklasRosenstein" +component = "std" [[entries]] id = "875405ee-9232-49b3-a93b-e92f4e64d294" type = "fix" description = "disable Pip fast-deps feature for Pex resolves, can lead to bad resolves" author = "@NiklasRosenstein" +component = "wrapper" [[entries]] id = "d5439c4c-59c4-48ec-a50e-26d1d526389b" type = "improvement" description = "add support for `KRAKENW_INCREMENTAL` flag" author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-core/.changelog/0.10.0.toml b/kraken-build/.changelog/0.10.0.toml similarity index 94% rename from kraken-core/.changelog/0.10.0.toml rename to kraken-build/.changelog/0.10.0.toml index a802c48f..4f3e608c 100644 --- a/kraken-core/.changelog/0.10.0.toml +++ b/kraken-build/.changelog/0.10.0.toml @@ -5,9 +5,11 @@ id = "539fbce1-d4e1-4cd0-8b85-4701a43b3918" type = "feature" description = "Add features to support what we call \"descriptors\", which are usually the outputs of a `Task` made available through a property marked with `Property.output()` or in the `Task.metadata`." author = "@NiklasRosenstein" +component = "core" [[entries]] id = "04df2b0e-2d83-442a-a74f-35e88168dce2" type = "improvement" description = "Allow passing `None` to `project.do()` for a propert that does not accept a `None` value, which will skip setting the property value alltogether." author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.1.toml b/kraken-build/.changelog/0.10.1.toml similarity index 92% rename from kraken-core/.changelog/0.10.1.toml rename to kraken-build/.changelog/0.10.1.toml index 2fa44cb7..cff59d2a 100644 --- a/kraken-core/.changelog/0.10.1.toml +++ b/kraken-build/.changelog/0.10.1.toml @@ -5,9 +5,11 @@ id = "5577523f-9642-4c3e-a5b0-3415e57c0432" type = "breaking change" description = "replace `Project.resolve_outputs()` etc. with `TaskSet.select()` and the `TaskSetSelect` class, as well as making `Project.resolve_tasks()` to return a `TaskSet` instead" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "3010041c-8411-4b77-8587-4a3864647606" type = "feature" description = "update `Supplier.of()` to accept an existing `Supplier`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.10.toml b/kraken-build/.changelog/0.10.10.toml similarity index 93% rename from kraken-core/.changelog/0.10.10.toml rename to kraken-build/.changelog/0.10.10.toml index 259c0d9c..5049aaef 100644 --- a/kraken-core/.changelog/0.10.10.toml +++ b/kraken-build/.changelog/0.10.10.toml @@ -5,3 +5,4 @@ id = "9ed10625-2e7f-454b-98c5-c66de23ed247" type = "fix" description = "non-member dependencies of a group are now always propagated to all of its group members unless they are also member of the same group" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.11.toml b/kraken-build/.changelog/0.10.11.toml similarity index 93% rename from kraken-core/.changelog/0.10.11.toml rename to kraken-build/.changelog/0.10.11.toml index 794e0f77..b0e3d71c 100644 --- a/kraken-core/.changelog/0.10.11.toml +++ b/kraken-build/.changelog/0.10.11.toml @@ -5,3 +5,4 @@ id = "8fe38dd8-3ef0-4322-baa1-3edc98cbcace" type = "fix" description = "Pin `dill <0.3.6` to avoid an issue with serializing abstract base classes (see https://github.com/uqfoundation/dill/issues/332#issuecomment-1289537575)" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.12.toml b/kraken-build/.changelog/0.10.12.toml similarity index 90% rename from kraken-core/.changelog/0.10.12.toml rename to kraken-build/.changelog/0.10.12.toml index a038e38a..839a68c5 100644 --- a/kraken-core/.changelog/0.10.12.toml +++ b/kraken-build/.changelog/0.10.12.toml @@ -5,15 +5,18 @@ id = "e3943f03-f617-4439-9f3f-6150a9355292" type = "feature" description = "add `--state-dir`, `--additional-state-dir` and `--no-load-project` options" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "d9331301-07f4-4171-9541-70d38c8d1ebd" type = "feature" description = "add `--state-name` option" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "e2245832-f7e2-4178-bc27-83a8525d6c11" type = "fix" description = "fix merging the results of multiple build states into a single graph" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.13.toml b/kraken-build/.changelog/0.10.13.toml similarity index 90% rename from kraken-core/.changelog/0.10.13.toml rename to kraken-build/.changelog/0.10.13.toml index 5cd82b58..c4cfc22d 100644 --- a/kraken-core/.changelog/0.10.13.toml +++ b/kraken-build/.changelog/0.10.13.toml @@ -5,3 +5,4 @@ id = "c24894c4-6a8f-4cdd-8f67-f09689180889" type = "fix" description = "fix state file template name" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.14.toml b/kraken-build/.changelog/0.10.14.toml similarity index 90% rename from kraken-core/.changelog/0.10.14.toml rename to kraken-build/.changelog/0.10.14.toml index 918e3e91..c20b708c 100644 --- a/kraken-core/.changelog/0.10.14.toml +++ b/kraken-build/.changelog/0.10.14.toml @@ -5,9 +5,11 @@ id = "07911bd1-8d7b-4cbb-8795-131a1dd76cb8" type = "improvement" description = "use argparse argument groups in kraken cli" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "2730e914-5938-4c99-8cdc-2f1ce123e53f" type = "improvement" description = "migrate to `Supplier` class in `nr-stream` package" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.15.toml b/kraken-build/.changelog/0.10.15.toml similarity index 93% rename from kraken-core/.changelog/0.10.15.toml rename to kraken-build/.changelog/0.10.15.toml index 361203c6..e3d3b25c 100644 --- a/kraken-core/.changelog/0.10.15.toml +++ b/kraken-build/.changelog/0.10.15.toml @@ -5,9 +5,11 @@ id = "365895d4-76a3-41be-91f3-79ee45426e42" type = "fix" description = "Fix bug where task resolution tries to equate strings and projects" author = "@tetigi" +component = "core" [[entries]] id = "98b443bd-0454-4908-9edf-1cacb2162107" type = "fix" description = "The render file task no longer converts relative paths as relative to its owning project; this breaks assumption when inside a subproject. In the root project this change should not have any effect" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.16.toml b/kraken-build/.changelog/0.10.16.toml similarity index 93% rename from kraken-core/.changelog/0.10.16.toml rename to kraken-build/.changelog/0.10.16.toml index d9ac4d5b..55ec94bd 100644 --- a/kraken-core/.changelog/0.10.16.toml +++ b/kraken-build/.changelog/0.10.16.toml @@ -5,3 +5,4 @@ id = "51f58713-2b09-4d2a-9298-6c2d81f5918c" type = "fix" description = "0.10.14 somehow got published as 0.10.15 to PyPI, so it got yanked and now we release 0.10.16 for consistency" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.17.toml b/kraken-build/.changelog/0.10.17.toml similarity index 91% rename from kraken-core/.changelog/0.10.17.toml rename to kraken-build/.changelog/0.10.17.toml index c11c16df..450d73fc 100644 --- a/kraken-core/.changelog/0.10.17.toml +++ b/kraken-build/.changelog/0.10.17.toml @@ -5,3 +5,4 @@ id = "2c263ff8-0618-49b2-a3b5-3b1eebeb1d36" type = "fix" description = "also remove the relative path concatenation from CheckFileContentsTask" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.18.toml b/kraken-build/.changelog/0.10.18.toml similarity index 94% rename from kraken-core/.changelog/0.10.18.toml rename to kraken-build/.changelog/0.10.18.toml index 06c57043..36526cf2 100644 --- a/kraken-core/.changelog/0.10.18.toml +++ b/kraken-build/.changelog/0.10.18.toml @@ -5,3 +5,4 @@ id = "9f8e70db-6332-4925-9ae6-799ff0b20082" type = "feature" description = "add `Project.subproject()` and `.subprojects()` to deprecated `.children()`, add `ProjectHasNoBuildScriptError`, add `Context.load_project(require_buildscript)` parameter" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.2.toml b/kraken-build/.changelog/0.10.2.toml similarity index 90% rename from kraken-core/.changelog/0.10.2.toml rename to kraken-build/.changelog/0.10.2.toml index eb906c50..97bbbd0d 100644 --- a/kraken-core/.changelog/0.10.2.toml +++ b/kraken-build/.changelog/0.10.2.toml @@ -5,3 +5,4 @@ id = "a8185add-29d4-4e52-ae7f-880b15b243af" type = "fix" description = "fix `Task.outputs` annotation" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.3.toml b/kraken-build/.changelog/0.10.3.toml similarity index 90% rename from kraken-core/.changelog/0.10.3.toml rename to kraken-build/.changelog/0.10.3.toml index b59336a0..7e538208 100644 --- a/kraken-core/.changelog/0.10.3.toml +++ b/kraken-build/.changelog/0.10.3.toml @@ -5,9 +5,11 @@ id = "cc24bcb1-ed06-4a96-8f68-e5dfce927d31" type = "improvement" description = "export `TaskSet` class to `kraken.core`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "bfb91f79-b59c-47a7-9d1f-d625b16e0324" type = "feature" description = "add `TaskSet.add()` and `TaskSet.partitions()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.4.toml b/kraken-build/.changelog/0.10.4.toml similarity index 92% rename from kraken-core/.changelog/0.10.4.toml rename to kraken-build/.changelog/0.10.4.toml index bce43cab..9cd21073 100644 --- a/kraken-core/.changelog/0.10.4.toml +++ b/kraken-build/.changelog/0.10.4.toml @@ -5,15 +5,18 @@ id = "f84793a2-2738-438f-b8c2-6003c32fce8b" type = "feature" description = "Introduce `Task.selected` attribute which is set to True when a task was explicitly selected in the CLI" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "9d29e87a-f6d6-4d2e-bc22-1840e6a6334c" type = "improvement" description = "print task status before execute (usually PENDING, but the status may contain a message)" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "1d6cdec2-6af7-4764-a073-06d9912eb284" type = "improvement" description = "CheckFileContentsTask now inherits the prepare() result from RenderFileTask" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.5.toml b/kraken-build/.changelog/0.10.5.toml similarity index 91% rename from kraken-core/.changelog/0.10.5.toml rename to kraken-build/.changelog/0.10.5.toml index f8056bd7..ebbbd0f2 100644 --- a/kraken-core/.changelog/0.10.5.toml +++ b/kraken-build/.changelog/0.10.5.toml @@ -5,15 +5,18 @@ id = "374e8483-3ab3-4624-b8ed-de54c3a21871" type = "improvement" description = "no longer print the status of Void tasks" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "90264fc1-de7e-4498-88c2-ccb0453a3429" type = "fix" description = "fix RecursionError when a group was nested in another group. This could happen because of upstream dependency propagation between group members." author = "@NiklasRosenstein" +component = "core" [[entries]] id = "25a0f75e-cc3f-4c8f-9c6c-242539dcdff9" type = "improvement" description = "detect dependency cycles and report them" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.6.toml b/kraken-build/.changelog/0.10.6.toml similarity index 93% rename from kraken-core/.changelog/0.10.6.toml rename to kraken-build/.changelog/0.10.6.toml index faa0c80e..4e95e935 100644 --- a/kraken-core/.changelog/0.10.6.toml +++ b/kraken-build/.changelog/0.10.6.toml @@ -5,3 +5,4 @@ id = "5d316db2-55b4-4bb8-b45a-44e7b32fe5a6" type = "fix" description = "Fixed a bug in `TaskGraph.trim()` where inverse relationships to the specified goal tasks did not get recognized." author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.7.toml b/kraken-build/.changelog/0.10.7.toml similarity index 91% rename from kraken-core/.changelog/0.10.7.toml rename to kraken-build/.changelog/0.10.7.toml index 016c0eb4..d27d24b1 100644 --- a/kraken-core/.changelog/0.10.7.toml +++ b/kraken-build/.changelog/0.10.7.toml @@ -5,3 +5,4 @@ id = "0e8250d1-a36c-433b-99f3-159169dc2870" type = "feature" description = "Add `Context.listen()` and `Context.trigger()` functions" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.8.toml b/kraken-build/.changelog/0.10.8.toml similarity index 93% rename from kraken-core/.changelog/0.10.8.toml rename to kraken-build/.changelog/0.10.8.toml index 8834efb3..8a65dbea 100644 --- a/kraken-core/.changelog/0.10.8.toml +++ b/kraken-build/.changelog/0.10.8.toml @@ -5,9 +5,11 @@ id = "390cd4a0-3916-4a4a-a873-dd003a233a50" type = "fix" description = "Fixed a bug where propagated group-to-group dependencies would result in an improperly initialized entry for a task in the build graph, causing sub-sequent reads of the task to fail." author = "@NiklasRosenstein" +component = "core" [[entries]] id = "25614b39-a486-4083-aa3c-8e30270407e0" type = "improvement" description = "Raise an RuntimeError if the TaskGraph state is invalid on accessing a task node from the graph." author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.10.9.toml b/kraken-build/.changelog/0.10.9.toml similarity index 92% rename from kraken-core/.changelog/0.10.9.toml rename to kraken-build/.changelog/0.10.9.toml index 359f695d..ac6cfba0 100644 --- a/kraken-core/.changelog/0.10.9.toml +++ b/kraken-build/.changelog/0.10.9.toml @@ -5,3 +5,4 @@ id = "38717286-2bd2-4f3b-af27-a9eb5144440c" type = "fix" description = "fix dependency propagation of groups and group members when more than one group depended on another group" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.11.0.toml b/kraken-build/.changelog/0.11.0.toml similarity index 92% rename from kraken-core/.changelog/0.11.0.toml rename to kraken-build/.changelog/0.11.0.toml index 33b5b468..5d1fc371 100644 --- a/kraken-core/.changelog/0.11.0.toml +++ b/kraken-build/.changelog/0.11.0.toml @@ -5,27 +5,32 @@ id = "2bca2dd0-bd7c-417b-941d-c9cda9604e3e" type = "feature" description = "add `Project.has_subproject()`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "4c4ab6d3-49a9-4bd1-8721-4908b41313c0" type = "breaking change" description = "move all members of the `kraken.core.util` package to the `kraken.common` package; note that `kraken.util.supplier` is now available from the `nr.stream` package" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "90967be9-a53e-49e6-a0de-a696e897fb23" type = "breaking change" description = "remove `ProjectLoader` interface, instead use the new `ScriptRunner` interface from the `kraken.common` package" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "848eb422-7762-4f13-a995-a9af1dc32b1c" type = "feature" description = "Kraken build scripts can now be written using [BuildDSL](https://pypi.org/project/builddsl/) (using the `.build` instead of `.py` suffix)" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "b0d74f1f-0375-4747-8cf0-0e034f2e7181" type = "feature" description = "support for the `kraken.common.buildscript()` function to update `sys.path`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.11.1.toml b/kraken-build/.changelog/0.11.1.toml similarity index 92% rename from kraken-core/.changelog/0.11.1.toml rename to kraken-build/.changelog/0.11.1.toml index b44c3208..9d62a2cb 100644 --- a/kraken-core/.changelog/0.11.1.toml +++ b/kraken-build/.changelog/0.11.1.toml @@ -5,15 +5,18 @@ id = "81e97f40-0afa-45de-b7be-0a0e763bb564" type = "fix" description = "fix an issue where using the `--resume` flag with a build script that does not call `kraken.common.buildscript()` would error" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "93bbfbb8-d027-4603-92c2-6fadd0011dab" type = "fix" description = "fix build resumption using the `--resume` flag by ensuring the build results are transferred to the graph resulting from `TaskGraph.trim()`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "a84e9a0e-6ee3-4f36-b659-441debd63533" type = "tests" description = "add integration test for build resumption using the `--resume` flag" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.11.2.toml b/kraken-build/.changelog/0.11.2.toml similarity index 93% rename from kraken-core/.changelog/0.11.2.toml rename to kraken-build/.changelog/0.11.2.toml index f7c80d29..0457f4c6 100644 --- a/kraken-core/.changelog/0.11.2.toml +++ b/kraken-build/.changelog/0.11.2.toml @@ -5,21 +5,25 @@ id = "2ae4cd9f-b3ec-452a-9c81-411bf26add4d" type = "improvement" description = "upgrade to kraken-common 0.5.2" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "b0b92915-b5b1-4c79-94c5-7b80c879f5b9" type = "feature" description = "add `Context.get_project()` and update `Context.resolve_tasks()` to always resolve task references beginning with a `:` as absolute (always relative to the root project)" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "0f9b698b-bc8d-48c3-9d9e-77d9e77ef3b5" type = "feature" description = "using the `-p,--project-dir` option now has Kraken change directory to the specified path but by default only select tasks in the respective subproject represented by the current working directory and relative task references are taken relative to that subproject as well" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "3522931f-54d3-455d-bb15-2016f7780562" type = "feature" description = "`Project.do()` now accepts a `builddsl.UnboundClosure` as third argument (overlapping with the `default` argument)" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.11.3.toml b/kraken-build/.changelog/0.11.3.toml similarity index 94% rename from kraken-core/.changelog/0.11.3.toml rename to kraken-build/.changelog/0.11.3.toml index 7dd96903..e81cc99d 100644 --- a/kraken-core/.changelog/0.11.3.toml +++ b/kraken-build/.changelog/0.11.3.toml @@ -5,15 +5,18 @@ id = "0c121da7-a451-4fba-81fa-fb57ad3ccaf9" type = "improvement" description = "Refactor, moving `kraken.core.{executor,context,graph,project,property,supplier,task}` to `kraken.core.system` subpackage (renaming `supplier` to `task_supplier`). Added the `kraken.core.api` module which should be used for public imports, any imports from members of the `kraken.core` package not from `kraken.core.api` are not officially supported." author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c43464f2-b07c-4705-a889-9676d48ed70b" type = "improvement" description = "add backwards compatibility layer for code making imports to kraken.core submodules" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "3bf3644f-f3de-4c4e-85a9-39e0eeba244d" type = "improvement" description = "rename kraken.core.test to kraken.core.testing (keep kraken.core.test for backwards compatibility)" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.11.4.toml b/kraken-build/.changelog/0.11.4.toml similarity index 90% rename from kraken-core/.changelog/0.11.4.toml rename to kraken-build/.changelog/0.11.4.toml index 88096a5e..e5fefbb7 100644 --- a/kraken-core/.changelog/0.11.4.toml +++ b/kraken-build/.changelog/0.11.4.toml @@ -5,3 +5,4 @@ id = "6c5462ff-15eb-4bff-a227-32e58778f619" type = "fix" description = "add back `TaskRelationship` to `kraken.core.api`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.11.5.toml b/kraken-build/.changelog/0.11.5.toml similarity index 91% rename from kraken-core/.changelog/0.11.5.toml rename to kraken-build/.changelog/0.11.5.toml index 4dc1fbe0..e3e0df05 100644 --- a/kraken-core/.changelog/0.11.5.toml +++ b/kraken-build/.changelog/0.11.5.toml @@ -5,3 +5,4 @@ id = "d9e688ed-6d00-4368-a4f3-80b777999e0b" type = "improvement" description = "add back `BuildError` to `kraken.core.api`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.11.6.toml b/kraken-build/.changelog/0.11.6.toml similarity index 92% rename from kraken-core/.changelog/0.11.6.toml rename to kraken-build/.changelog/0.11.6.toml index 10f6157e..c6f57718 100644 --- a/kraken-core/.changelog/0.11.6.toml +++ b/kraken-build/.changelog/0.11.6.toml @@ -8,27 +8,32 @@ author = "@rbyshko" issues = [ "https://github.com/rbyshko/kraken-core/issues/18", ] +component = "core" [[entries]] id = "bf7c1156-f25c-4a75-9759-719789c7612e" type = "improvement" description = "Update dependencies of default groups in a `Project` (publish now strictly depends on build)" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "d737d859-146a-441a-ac11-6ab374f3edf5" type = "improvement" description = "Add `gen` default group to `Project` (which `lint`, `test`, `integrationTest` and `build` depend on)" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c188dcb4-7884-4ce1-8270-4ff8a560599f" type = "improvement" description = "`TaskGraph.ready()` no longer returns group tasks, but instead immediately marks them as `SKIPPED`. In a future version of Kraken, we will represent groups not as tasks and this special handling will be obsolete." author = "@NiklasRosenstein" +component = "core" [[entries]] id = "e1f3ab03-aac5-4f46-a61c-41d859a96f6e" type = "hygiene" description = "use past tense in `RenderFileTask` status" author = "@srstevenson" +component = "core" diff --git a/kraken-core/.changelog/0.11.7.toml b/kraken-build/.changelog/0.11.7.toml similarity index 95% rename from kraken-core/.changelog/0.11.7.toml rename to kraken-build/.changelog/0.11.7.toml index c05a9d4d..50a05937 100644 --- a/kraken-core/.changelog/0.11.7.toml +++ b/kraken-build/.changelog/0.11.7.toml @@ -6,6 +6,7 @@ type = "feature" description = "Add `Project.address` and `Task.address`" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/23" +component = "core" [[entries]] id = "1573ed24-0658-4198-b1d3-2b88df5b93e3" @@ -13,6 +14,7 @@ type = "improvement" description = "Update `Context.resolve_tasks()` based upon the new `Address` class and `resolve_address()` function. The `Context.resolve_tasks()` method now accepts `Sequence[str | Address]` instead of `list[str]`." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/23" +component = "core" [[entries]] id = "5a0b5eff-06bf-4897-a3ee-04bd428094ec" @@ -20,6 +22,7 @@ type = "breaking change" description = "(Minor) Passing `:task` to the Kraken CLI now _only_ runs the specified task in the _root project_. In order to run the task in the current and all of its subprojects, one should specify `task` or `**:task`, which are now treated equivalent by `Context.resolve_tasks()`. To run the task only in the current project but not its subprojects, one must specift `.:task`." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/23" +component = "core" [[entries]] id = "970037b0-596a-4d6d-b390-3cccbe727ed8" @@ -27,6 +30,7 @@ type = "feature" description = "Add `kraken.core.address` module with the `Addres` class (and friends)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/23" +component = "core" [[entries]] id = "cba4b3bb-03ec-4a53-a3cf-9e35554f9e0b" @@ -34,6 +38,7 @@ type = "hygiene" description = "Add partial backwards compatibility for invalid task names in `Project.do()`. Instead of rejecting the invalid task name, invalid characters are replaced with hyphens (`-`) and a warning is triggered." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/27" +component = "core" [[entries]] id = "44959f36-46d1-4190-8ae7-7475cf4b3e61" @@ -41,6 +46,7 @@ type = "hygiene" description = "Remove deprecated `kraken.core.{system,graph.project,...}` modules which had been migrated to `kraken.core.system.*` in 0.11.3." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/28" +component = "core" [[entries]] id = "b99f2f03-557d-424f-a6ee-e958dead2efd" @@ -48,6 +54,7 @@ type = "improvement" description = "Support intuitively correct resolution of task addresses from subdirectories with respect to the `-p,--project-dir` assuming a 1:1 mapping between directory structure and Kraken project structure. This ensures that `kraken run -p .. task` fails with an error saying that the address `:sub` does not exist when trying to resolve `:sub:**:task`, assuming that the current directory is called `sub/`. On the other hand, it enables using `kraken run -p .. ..:task` to refer to the task in the project of the parent of the current directory. (Keep in mind that the `-p,--project-dir` argument is automatically passed when Kraken is invoked through [kraken-wrapper](https://github.com/kraken-build/kraken-wrapper) to enable a smooth experience when working from multiple directories in the same Kraken project)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/30" +component = "core" [[entries]] id = "fd49a567-4ce6-4bfa-b565-ef89fe83ee94" @@ -55,6 +62,7 @@ type = "feature" description = "Print the list of tasks that were not executed when a build failed" author = "cecile.allano@helsing.ai" pr = "https://github.com/kraken-build/kraken-core/issues/35" +component = "core" [[entries]] id = "fec253ce-bb5d-48f0-b9c0-02b0fdd6d719" @@ -62,6 +70,7 @@ type = "improvement" description = "Allow graph execution algorithm to progress when non-strict dependencies fail." author = "@cowlingjosh" pr = "https://github.com/kraken-build/kraken-core/pull/39" +component = "core" [[entries]] id = "a2ffbef8-a6ba-4c23-bc7e-986c444ca9da" @@ -69,3 +78,4 @@ type = "fix" description = "Create new default audit group in the project structure" author = "niall.cartwright@helsing.ai" pr = "https://github.com/kraken-build/kraken-core/pull/43" +component = "core" diff --git a/kraken-core/.changelog/0.12.0.toml b/kraken-build/.changelog/0.12.0.toml similarity index 95% rename from kraken-core/.changelog/0.12.0.toml rename to kraken-build/.changelog/0.12.0.toml index a188f384..3d2792c7 100644 --- a/kraken-core/.changelog/0.12.0.toml +++ b/kraken-build/.changelog/0.12.0.toml @@ -6,6 +6,7 @@ type = "improvement" description = "upgrade to `typeapi^1.4.2` (from `^0.2.2`); among support for Python 3.6 this should also no longer cause errors when `X | Y` or `list[T]` syntax is used in classes that are runtime introspected (like `Task` subclasses)" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/11" +component = "core" [[entries]] id = "f75ee6a8-6f8d-4a61-8b1c-58df3f0b5f81" @@ -13,6 +14,7 @@ type = "improvement" description = "Restrict Python requirement of kraken-core from `^3.7` to `>=3.7,<3.11` due to the Dill issue in Python 3.11 (see #33)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/44" +component = "core" [[entries]] id = "5a0b5eff-06bf-4897-a3ee-04bd428094ec" @@ -20,6 +22,7 @@ type = "breaking change" description = "(Minor) Passing `:task` to the Kraken CLI now _only_ runs the specified task in the _root project_. In order to run the task in the current and all of its subprojects, one should specify `task` or `**:task`, which are now treated equivalent by `Context.resolve_tasks()`. To run the task only in the current project but not its subprojects, one must specift `.:task`." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/23" +component = "core" [[entries]] id = "970037b0-596a-4d6d-b390-3cccbe727ed8" @@ -27,6 +30,7 @@ type = "feature" description = "Add `kraken.core.address` module with the `Addres` class (and friends)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/23" +component = "core" [[entries]] id = "cba4b3bb-03ec-4a53-a3cf-9e35554f9e0b" @@ -34,6 +38,7 @@ type = "hygiene" description = "Add partial backwards compatibility for invalid task names in `Project.do()`. Instead of rejecting the invalid task name, invalid characters are replaced with hyphens (`-`) and a warning is triggered." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/27" +component = "core" [[entries]] id = "44959f36-46d1-4190-8ae7-7475cf4b3e61" @@ -41,6 +46,7 @@ type = "hygiene" description = "Remove deprecated `kraken.core.{system,graph.project,...}` modules which had been migrated to `kraken.core.system.*` in 0.11.3." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/28" +component = "core" [[entries]] id = "b99f2f03-557d-424f-a6ee-e958dead2efd" @@ -48,6 +54,7 @@ type = "improvement" description = "Support intuitively correct resolution of task addresses from subdirectories with respect to the `-p,--project-dir` assuming a 1:1 mapping between directory structure and Kraken project structure. This ensures that `kraken run -p .. task` fails with an error saying that the address `:sub` does not exist when trying to resolve `:sub:**:task`, assuming that the current directory is called `sub/`. On the other hand, it enables using `kraken run -p .. ..:task` to refer to the task in the project of the parent of the current directory. (Keep in mind that the `-p,--project-dir` argument is automatically passed when Kraken is invoked through [kraken-wrapper](https://github.com/kraken-build/kraken-wrapper) to enable a smooth experience when working from multiple directories in the same Kraken project)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/30" +component = "core" [[entries]] id = "aac15edd-bfac-4f3a-a8f0-1dfae892ab6d" @@ -55,6 +62,7 @@ type = "improvement" description = "Add new exception `Property.Deferred` which is raised if the value of an output property is not set. This is now an explicit distinction from the `Property.Empty` exception which is raised if any other type of property is empty to distinguish between the fact if an output property is used in a computation but has no value set vs. an input property not having a value set." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/32" +component = "core" [[entries]] id = "fd49a567-4ce6-4bfa-b565-ef89fe83ee94" @@ -62,6 +70,7 @@ type = "feature" description = "Print the list of tasks that were not executed when a build failed" author = "cecile.allano@helsing.ai" pr = "https://github.com/kraken-build/kraken-core/issues/35" +component = "core" [[entries]] id = "fec253ce-bb5d-48f0-b9c0-02b0fdd6d719" @@ -69,6 +78,7 @@ type = "improvement" description = "Allow graph execution algorithm to progress when non-strict dependencies fail." author = "@cowlingjosh" pr = "https://github.com/kraken-build/kraken-core/pull/39" +component = "core" [[entries]] id = "75ee1175-7825-4323-9a3b-641f0fc84ffe" @@ -76,6 +86,7 @@ type = "fix" description = "Fix task selection for \"all tasks\" or \"default tasks\"" author = "daladim@users.noreply.github.com" pr = "https://github.com/kraken-build/kraken-core/pull/37" +component = "core" [[entries]] id = "ad751aa8-3e1e-4ac2-8e4f-96bb67072971" @@ -83,6 +94,7 @@ type = "feature" description = "add `Address.set_container()`" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/45" +component = "core" [[entries]] id = "593ddeb4-a956-4cb0-8607-de141b04f04d" @@ -90,6 +102,7 @@ type = "improvement" description = "Follow up to #37 -- tasks selected explicitly on the command line get the selected flag, but if no tasks are specified and the default tasks are used they are not marked as selected" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/45" +component = "core" [[entries]] id = "18faf500-e735-499d-8de0-ee3eadd3d1f4" @@ -97,6 +110,7 @@ type = "feature" description = "add `kraken query tree` command" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/45" +component = "core" [[entries]] id = "dc687b6d-eb82-4ac7-863a-eafd9fe22b96" @@ -104,6 +118,7 @@ type = "improvement" description = "add `ProjectNotFoundError` which is now raised by a newer, cleaner implementation of `Context.get_project()`; Introduce `Context.focus_project` attribute" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/45" +component = "core" [[entries]] id = "04713a16-8839-4af5-a565-11851534edaf" @@ -111,3 +126,4 @@ type = "feature" description = "now handle `KRAKEN_PDB=1` environment variable to start an interactive debugger on exit" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/47" +component = "core" diff --git a/kraken-core/.changelog/0.12.1.toml b/kraken-build/.changelog/0.12.1.toml similarity index 95% rename from kraken-core/.changelog/0.12.1.toml rename to kraken-build/.changelog/0.12.1.toml index 200d4327..3be6a95c 100644 --- a/kraken-core/.changelog/0.12.1.toml +++ b/kraken-build/.changelog/0.12.1.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Show groups marked with `Task.default = True` as `(default group)` in bold yellow, akin to how non-group tasks are shown as `(default task)` in bold blue." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/48" +component = "core" diff --git a/kraken-core/.changelog/0.12.2.toml b/kraken-build/.changelog/0.12.2.toml similarity index 95% rename from kraken-core/.changelog/0.12.2.toml rename to kraken-build/.changelog/0.12.2.toml index e541f395..5868be43 100644 --- a/kraken-core/.changelog/0.12.2.toml +++ b/kraken-build/.changelog/0.12.2.toml @@ -6,3 +6,4 @@ type = "fix" description = "Fix `Property.is_empty()` and `Property.is_filled()` when the property is still in its \"deferred\" state. A deferred property registers as \"empty\", but a property that points to a deffered property propagates the `Property.Deferred` exception." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/49" +component = "core" diff --git a/kraken-core/.changelog/0.12.3.toml b/kraken-build/.changelog/0.12.3.toml similarity index 94% rename from kraken-core/.changelog/0.12.3.toml rename to kraken-build/.changelog/0.12.3.toml index bcd20c97..81279d96 100644 --- a/kraken-core/.changelog/0.12.3.toml +++ b/kraken-build/.changelog/0.12.3.toml @@ -6,3 +6,4 @@ type = "fix" description = "Fixed `Project.do()` trying to call `Property.set(None)` when in actuality in that case the `.set()` method should just not be called." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/50" +component = "core" diff --git a/kraken-core/.changelog/0.12.4.toml b/kraken-build/.changelog/0.12.4.toml similarity index 94% rename from kraken-core/.changelog/0.12.4.toml rename to kraken-build/.changelog/0.12.4.toml index 0072d66b..0752ece0 100644 --- a/kraken-core/.changelog/0.12.4.toml +++ b/kraken-build/.changelog/0.12.4.toml @@ -6,3 +6,4 @@ type = "fix" description = "Fix `Property()` constructor deriving the accepted root data types from `typeapi.TypeHint` to correctly treat and support `Tuple[...]` type hints" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-core/pull/51" +component = "core" diff --git a/kraken-std/.changelog/0.2.0.toml b/kraken-build/.changelog/0.2.0.toml similarity index 66% rename from kraken-std/.changelog/0.2.0.toml rename to kraken-build/.changelog/0.2.0.toml index db7b9863..fd7b597e 100644 --- a/kraken-std/.changelog/0.2.0.toml +++ b/kraken-build/.changelog/0.2.0.toml @@ -1,55 +1,92 @@ -release-date = "2022-08-06" +release-date = "2022-07-06" + +[[entries]] +id = "57c34d0e-290a-4663-a421-84e5270854b2" +type = "feature" +description = "introduce Property concept and make Action and Task a subclass for HasProperties, Task.action is a property and Action.task was added which is also a property" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "2eaa2c11-4e09-492a-ba81-20f3d34de412" +type = "breaking change" +description = "redesign API, remove Action" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c12eca50-f5ae-4c23-8baa-9f11171985fb" type = "improvement" description = "add `cargo_sync_config(check)` parameter, enabled by default, to create a check task" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "16a6b247-dc96-4007-b189-b7830875e8cc" type = "improvement" description = "`gitignore()` now also generates a check task" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "e6f93e0a-e6c0-4704-ad57-f0eea64016d7" type = "improvement" description = "`PythonBuildSystem` now has a class-level `name` attribute" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "384bcb08-f051-4442-bac6-b2490467307d" type = "improvement" description = "add task descriptions for Python tasks" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "5f868c43-c4c1-4a2e-bece-83508221fe28" type = "improvement" description = "Add descriptions to Cargo tasks and Python build/install tasks" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "d1183b6e-1096-4134-b531-05d1366c633c" type = "improvement" description = "Task generates with `RenderFileTask.make_check_task()` now non-strictly depends on the render file task. This is to ensure that if both tasks are to run in the same build, the render task comes first." author = "@NiklasRosenstein" +component = "std" [[entries]] id = "ed2d9cec-3b6f-4798-adf8-459e2482ba28" type = "fix" description = "Fix cryptic error message that can occurr when the Cargo auth proxy is killed during startup. This usually occurred if a task relying on it was not executed and the build was aborted earlier. Now we make sure that the process is alive for at least 2 seconds before it is terminated." author = "@NiklasRosenstein" +component = "std" [[entries]] id = "20e43a6b-866b-4da2-8e35-63650f8e99c1" type = "breaking change" description = "Redesign Cargo build graph; no longer do `cargo_build()` and `cargo_publish()` create their separate task to bump the Cargo version but instead a `cargo_bump_version()` task was added that belongs to the build support group. `cargoAuthProxy` now depends on `cargoSyncConfig.check` to ensure that the task does not run while the proxy is active as it injects configuration values into the same file." author = "@NiklasRosenstein" +component = "std" [[entries]] id = "b7728061-9006-4cf5-a89b-f2f07b0c5fa0" type = "fix" description = "Fix an issue in `RenderFileTask` introduced in 0.1.46 if the target file does not exist, the internal cache was not populated when the task is executed and thus errored" author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "7541ba55-6eb7-4082-8637-f78c06c7c898" +type = "fix" +description = "fix `KeyError` that could occurr when creating lockfile if the name of a requirement does not exactly match the distribution name (e.g. due to normalization)" +author = "@NiklasRosenstein" +component = "wrapper" + +[[entries]] +id = "0aefcd0b-51a4-4bf4-9ba1-351a51d3aa8a" +type = "feature" +description = "migrate to kraken-common over kraken-core for shared code, support for `kraken.common.buildscript` and BuildDSL build scripts" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-build/.changelog/0.2.1.toml b/kraken-build/.changelog/0.2.1.toml new file mode 100644 index 00000000..f27e33ba --- /dev/null +++ b/kraken-build/.changelog/0.2.1.toml @@ -0,0 +1,36 @@ +release-date = "2022-07-06" + +[[entries]] +id = "920fe0e8-3852-4df3-820c-1f3595a50863" +type = "feature" +description = "install requirements.txt into .build/.lib directory if a .kraken/requirements.txt file exists" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "9dc07eb6-b564-4212-8d0b-f71bee8d42e4" +type = "feature" +description = "implement Path value adapters" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "1297f956-619f-4806-a963-5392c82d5c78" +type = "improvement" +description = "add derived_from to of_callable(), setdefault() no longer returns a value" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "30e51d71-f012-47e1-bf8a-8cb9139b06f4" +type = "improvement" +description = "`krakenw` now prints the `kraken` command that it runs inside the build environment" +author = "@NiklasRosenstein" +component = "wrapper" + +[[entries]] +id = "16828c43-0035-4732-b7be-70fc4d3e9868" +type = "feature" +description = "`krakenw` now looks for the top-most Kraken build script starting from the current directory and uses that as the Kraken project directory and containing directory for the build directory and build environment." +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-core/.changelog/0.2.10.toml b/kraken-build/.changelog/0.2.10.toml similarity index 93% rename from kraken-core/.changelog/0.2.10.toml rename to kraken-build/.changelog/0.2.10.toml index 42f0754f..e668a395 100644 --- a/kraken-core/.changelog/0.2.10.toml +++ b/kraken-build/.changelog/0.2.10.toml @@ -5,3 +5,4 @@ id = "a756157d-18f1-4228-9eb0-bbad349784cd" type = "breaking change" description = "no longer accept `kraken.py` in the Project directory as a build script, but instead additionally accept `.kraken.py` and `.kraken.build.py`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.11.toml b/kraken-build/.changelog/0.2.11.toml similarity index 91% rename from kraken-core/.changelog/0.2.11.toml rename to kraken-build/.changelog/0.2.11.toml index 1a3a7929..498c6761 100644 --- a/kraken-core/.changelog/0.2.11.toml +++ b/kraken-build/.changelog/0.2.11.toml @@ -5,3 +5,4 @@ id = "c5ce91f3-cd21-4e95-ae0f-b80b5f6624bb" type = "fix" description = "Fix multiple inheritance alongside `kraken.core.property.Object`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.12.toml b/kraken-build/.changelog/0.2.12.toml similarity index 90% rename from kraken-core/.changelog/0.2.12.toml rename to kraken-build/.changelog/0.2.12.toml index 3f1c5906..99d79395 100644 --- a/kraken-core/.changelog/0.2.12.toml +++ b/kraken-build/.changelog/0.2.12.toml @@ -5,3 +5,4 @@ id = "974faa87-a044-45f2-a53c-067097e25a3f" type = "feature" description = "add `BuildContext.metadata`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.13.toml b/kraken-build/.changelog/0.2.13.toml similarity index 91% rename from kraken-core/.changelog/0.2.13.toml rename to kraken-build/.changelog/0.2.13.toml index 193145b9..a56af26a 100644 --- a/kraken-core/.changelog/0.2.13.toml +++ b/kraken-build/.changelog/0.2.13.toml @@ -5,3 +5,4 @@ id = "294bc50e-1a89-4dff-b44c-b7b2d791f833" type = "feature" description = "add `BuildContext.current()` and `Project.current()` static methods" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.14.toml b/kraken-build/.changelog/0.2.14.toml similarity index 92% rename from kraken-core/.changelog/0.2.14.toml rename to kraken-build/.changelog/0.2.14.toml index 33cdb18e..5eace155 100644 --- a/kraken-core/.changelog/0.2.14.toml +++ b/kraken-build/.changelog/0.2.14.toml @@ -5,3 +5,4 @@ id = "e71dc765-69ad-488e-a256-d01390fb382b" type = "breaking change" description = "update `BuildContext.current()` to behave the same as `Project.current()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.15.toml b/kraken-build/.changelog/0.2.15.toml similarity index 90% rename from kraken-core/.changelog/0.2.15.toml rename to kraken-build/.changelog/0.2.15.toml index ab2eb5c8..de0d2044 100644 --- a/kraken-core/.changelog/0.2.15.toml +++ b/kraken-build/.changelog/0.2.15.toml @@ -5,3 +5,4 @@ id = "cc58ab4e-7c92-417c-9170-d7995150b0a5" type = "feature" description = "add `BuildGraph.__len__()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.16.toml b/kraken-build/.changelog/0.2.16.toml similarity index 91% rename from kraken-core/.changelog/0.2.16.toml rename to kraken-build/.changelog/0.2.16.toml index 58035556..b245179c 100644 --- a/kraken-core/.changelog/0.2.16.toml +++ b/kraken-build/.changelog/0.2.16.toml @@ -5,9 +5,11 @@ id = "14d81259-6a70-4b91-88fa-5d397e5a0dad" type = "improvement" description = "`Project.do()` no longer overrides `Task.default` and `Task.capture` by default if no explicit value is specified" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "6f5af445-e3f8-43f5-85ae-3fc81285cbe2" type = "feature" description = "add `GroupTask` class and `Project.group()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.17.toml b/kraken-build/.changelog/0.2.17.toml similarity index 92% rename from kraken-core/.changelog/0.2.17.toml rename to kraken-build/.changelog/0.2.17.toml index 7caee518..5c76ad57 100644 --- a/kraken-core/.changelog/0.2.17.toml +++ b/kraken-build/.changelog/0.2.17.toml @@ -5,9 +5,11 @@ id = "cd01a258-3bb1-43b2-8ed1-a272daa4a4b0" type = "improvement" description = "`Task.execute()` default implementation now raises a `NotImplementedError`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "42296fdb-3e74-472b-a316-e5952d025f7f" type = "breaking change" description = "remove installation of project requirements via Pip and enabling it with localimport; kraken-cli will manage a build environment instead" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.18.toml b/kraken-build/.changelog/0.2.18.toml similarity index 93% rename from kraken-core/.changelog/0.2.18.toml rename to kraken-build/.changelog/0.2.18.toml index e1588b7e..1698d53e 100644 --- a/kraken-core/.changelog/0.2.18.toml +++ b/kraken-build/.changelog/0.2.18.toml @@ -5,3 +5,4 @@ id = "a1411b5a-5525-40da-9403-279c42d2b14d" type = "feature" description = "add `kraken.core.executor` module, moved here from `kraken-cli`; add `BuildContext.get_build_graph()` and `BuildContext.execute()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.19.toml b/kraken-build/.changelog/0.2.19.toml similarity index 92% rename from kraken-core/.changelog/0.2.19.toml rename to kraken-build/.changelog/0.2.19.toml index 95edb203..34f93944 100644 --- a/kraken-core/.changelog/0.2.19.toml +++ b/kraken-build/.changelog/0.2.19.toml @@ -5,3 +5,4 @@ id = "66c7bb55-7e30-4e7a-a36f-c6f543fe04ef" type = "fix" description = "fix `NameError` in `BuildContext.execute()` that is unfortunately not caught my Mypy or Flake8" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-wrapper/.changelog/0.2.2.toml b/kraken-build/.changelog/0.2.2.toml similarity index 54% rename from kraken-wrapper/.changelog/0.2.2.toml rename to kraken-build/.changelog/0.2.2.toml index e0d08f2a..377d6adf 100644 --- a/kraken-wrapper/.changelog/0.2.2.toml +++ b/kraken-build/.changelog/0.2.2.toml @@ -1,7 +1,15 @@ -release-date = "2022-12-19" +release-date = "2022-07-06" + +[[entries]] +id = "422f4017-b43d-43d2-8fd0-3fdc534dc4cd" +type = "fix" +description = "fix typing of Supplier derived_from args" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "7702a350-2c93-4ef1-84ba-9cb2432be82d" type = "fix" description = "running in a build environment of type `VENV` now preprends the environment's `bin` directory to the `PATH` environment variables when Kraken is invoked." author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-core/.changelog/0.2.3.toml b/kraken-build/.changelog/0.2.3.toml similarity index 52% rename from kraken-core/.changelog/0.2.3.toml rename to kraken-build/.changelog/0.2.3.toml index 653e3e38..251e72ee 100644 --- a/kraken-core/.changelog/0.2.3.toml +++ b/kraken-build/.changelog/0.2.3.toml @@ -5,3 +5,11 @@ id = "58f8b9a0-723b-4353-9e5c-da879d30405a" type = "fix" description = "fix self-referencing relationship introduced by properties derived from another property on the same task" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "5c3f32cd-4717-4fa9-a76c-43864abfafce" +type = "feature" +description = "add Windows support by conditionally importing/supporting PEX environment" +author = "@Nairu" +component = "wrapper" diff --git a/kraken-core/.changelog/0.2.4.toml b/kraken-build/.changelog/0.2.4.toml similarity index 61% rename from kraken-core/.changelog/0.2.4.toml rename to kraken-build/.changelog/0.2.4.toml index acd99a17..1a471c5e 100644 --- a/kraken-core/.changelog/0.2.4.toml +++ b/kraken-build/.changelog/0.2.4.toml @@ -5,27 +5,46 @@ id = "916848f3-df05-471c-ad48-fd4b89b4f5ff" type = "feature" description = "add `BuildGraph.tasks(required_only)` parameter" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "9ae08a02-5db1-450f-93ec-c280e3f8894e" type = "breaking change" description = "rename `BuildScriptLoader` to `ProjectLoader`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "850ac1ad-7553-4d50-8185-7d061eb67100" type = "feature" description = "Support `collections.abc.Callable` as a valid property type" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "06fbdfc3-9504-4b45-a4b9-a8423e42093e" type = "feature" description = "Add `Task.logger`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c122782f-3761-4bdb-abe3-66755d28783e" type = "breaking change" description = "`Task.is_skippable()` and `Task.is_up_to_date()` now raise `NotImplementedError by default which is part of the API now" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "fa30746d-8ef3-4361-8c7d-774bf4141ff7" +type = "improvement" +description = "Explain how to show kraken's help" +author = "Nicolas Trinquier " +component = "wrapper" + +[[entries]] +id = "36f9c99b-9927-4355-b8e5-ee14f64fccdc" +type = "fix" +description = "Require Python `>=3.7,<3.11` instead of `^3.7` due to Dill incompatibility (see https://github.com/kraken-build/kraken-wrapper/issues/4)" +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-core/.changelog/0.2.5.toml b/kraken-build/.changelog/0.2.5.toml similarity index 92% rename from kraken-core/.changelog/0.2.5.toml rename to kraken-build/.changelog/0.2.5.toml index 850ad485..405358b1 100644 --- a/kraken-core/.changelog/0.2.5.toml +++ b/kraken-build/.changelog/0.2.5.toml @@ -5,21 +5,25 @@ id = "b473bf0d-3dd0-4577-806a-ac34b717ac7d" type = "improvement" description = "Look for `kraken.build.py` scripts in addition to `kraken.py`, the latter can result into issues resolving the `kraken` package as the build script can take precedence" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c3d3f28b-cfc6-41ed-a4bb-78d91c2c4199" type = "feature" description = "add `Project.metadata` and `Project.find_metadata()` which can be used by plugins to store project-global data" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "17096f81-b3a8-439b-9c5f-873504172a4c" type = "improvement" description = "improve VSCode type recognition for `Task.project` by putting `typing.ForwardRef()` for `Project` in the else block of `if TYPE_CHECKING:`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "9381d8ca-0b63-40fc-9404-48142b84172d" type = "feature" description = "add `kraken.core.utils.atomic_file_swap()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.6.toml b/kraken-build/.changelog/0.2.6.toml similarity index 90% rename from kraken-core/.changelog/0.2.6.toml rename to kraken-build/.changelog/0.2.6.toml index c9ff698c..c5a9fe1f 100644 --- a/kraken-core/.changelog/0.2.6.toml +++ b/kraken-build/.changelog/0.2.6.toml @@ -5,3 +5,4 @@ id = "18c02824-a0b1-4d52-8318-136e04ace869" type = "feature" description = "add `Property.seterror()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.7.toml b/kraken-build/.changelog/0.2.7.toml similarity index 93% rename from kraken-core/.changelog/0.2.7.toml rename to kraken-build/.changelog/0.2.7.toml index 9c76b2e1..615777fa 100644 --- a/kraken-core/.changelog/0.2.7.toml +++ b/kraken-build/.changelog/0.2.7.toml @@ -5,15 +5,18 @@ id = "cb9f45e2-6df1-4b86-8d86-a0f5bc6bd243" type = "fix" description = "implement `kraken.testing` module properly as a Pytest plugin, add a `kraken_execute()` function for executing a build graph from tests" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "42cbe729-c847-4511-863c-984657dea84a" type = "improvement" description = "use `Task.logger` to report properties that cannot be set by `Object.update()`, this most commonly surfaces when using a `task_factory` in a build script and passing parameters that do not exist on the task" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "3ee32963-ca67-4b94-8df9-22772b97ee20" type = "feature" description = "add `import_class()` to `kraken.core.utils`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.2.9.toml b/kraken-build/.changelog/0.2.9.toml similarity index 89% rename from kraken-core/.changelog/0.2.9.toml rename to kraken-build/.changelog/0.2.9.toml index 4dd36a28..e2f4a93d 100644 --- a/kraken-core/.changelog/0.2.9.toml +++ b/kraken-build/.changelog/0.2.9.toml @@ -5,15 +5,18 @@ id = "a26d0556-fc97-4957-9ae0-ede5b52fb5e6" type = "improvement" description = "update `Task.logger` name" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "710234c3-170d-471f-ab60-bec8ae1a8a7d" type = "feature" description = "add `atomic_file_swap(create_dirs)` parameter" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "0e0584ba-699a-4fd7-9361-1ffd0de6f211" type = "improvement" description = "improve `kraken.testing` module" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-std/.changelog/0.20.0.toml b/kraken-build/.changelog/0.20.0.toml similarity index 92% rename from kraken-std/.changelog/0.20.0.toml rename to kraken-build/.changelog/0.20.0.toml index cf1f35b2..12ae03ef 100644 --- a/kraken-std/.changelog/0.20.0.toml +++ b/kraken-build/.changelog/0.20.0.toml @@ -6,6 +6,7 @@ type = "improvement" description = "Bump `kraken-core` to `^0.12.4` and `databind.json` to `4.2.5`." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-std/pull/154" +component = "std" [[entries]] id = "53221f14-bf40-4ce8-b657-4b522d45c725" @@ -13,6 +14,7 @@ type = "feature" description = "Maturin: adds tooling for cross-compilation using zig" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/145" +component = "std" [[entries]] id = "930c578f-e342-4caf-82ea-aa4982dd316a" @@ -20,6 +22,7 @@ type = "fix" description = "Poetry: strips '(Activated)' from 'poetry env list --full-path' result" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/146" +component = "std" [[entries]] id = "323b46a0-23a5-4afb-b9be-f4c20a0305b3" @@ -27,9 +30,11 @@ type = "fix" description = "fix `mypy_stubtest` function name (was: `mypy_subtest`)" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-std/pull/153" +component = "std" [[entries]] id = "cee10c20-3138-4fec-819b-94827f67ae4f" type = "improvement" description = "When `git describe` fails, we fall back to `0.0.0-N-gSHA` where `N` is the number of commits on `HEAD`." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-build/.changelog/0.20.1.toml b/kraken-build/.changelog/0.20.1.toml new file mode 100644 index 00000000..d539fa5d --- /dev/null +++ b/kraken-build/.changelog/0.20.1.toml @@ -0,0 +1,22 @@ +release-date = "2023-05-15" + +[[entries]] +id = "e38c1817-b7f4-430e-962b-bcd826200cb9" +type = "improvement" +description = "Move code for `Supplier` from `nr-stream` package to `kraken-common`" +author = "niklas.rosenstein@helsing.ai" +component = "common" + +[[entries]] +id = "5b094100-d0b3-4c65-a78d-dd37980c2ba8" +type = "improvement" +description = "Use `kraken.common.supplier.Supplier` instead of `nr.stream.Supplier`, Remove `kraken.core.api` in favor of `kraken.core`" +author = "niklas.rosenstein@helsing.ai" +component = "core" + +[[entries]] +id = "cfa3781f-d873-46ff-ae6f-ae376793a832" +type = "improvement" +description = "Replace imports from `kraken.core.api` with `kraken.core` and imports of `nr.stream.Supplier` with `kraken.common.Supplier`" +author = "niklas.rosenstein@helsing.ai" +component = "std" diff --git a/kraken-core/.changelog/0.20.2.toml b/kraken-build/.changelog/0.20.2.toml similarity index 95% rename from kraken-core/.changelog/0.20.2.toml rename to kraken-build/.changelog/0.20.2.toml index 2ae20da6..fb867f76 100644 --- a/kraken-core/.changelog/0.20.2.toml +++ b/kraken-build/.changelog/0.20.2.toml @@ -5,36 +5,42 @@ id = "0a485b7f-846f-405c-94d9-37e3717b559f" type = "improvement" description = "The `kraken query describe` command no longer outputs a description of _all_ tasks in the graph, but only tasks that were explicitly selected on the command-line." author = "niklas.rosenstein@helsing.ai" +component = "core" [[entries]] id = "22d5ce94-360b-4825-b71a-9e02598dbe6a" type = "tests" description = "Add unit test for clarifying the behavior of optional elements in address resolution" author = "niklas.rosenstein@helsing.ai" +component = "core" [[entries]] id = "b3d542cc-f858-4ad2-a4c0-b65a545618a4" type = "improvement" description = "Deprecate the `Project.subproject(load)` – Instead, a new `Project.subproject(mode)` parameter was added that can be set to `\"empty\"`, `\"execute\"` or `\"if-exists\"`, The `\"if-exists\"` mode behaves exactly like the `Project.subproject(load=False)` option. A new semantic is introduced with the `\"empty\"` mode, which creates a sub-project but does not care if the directory associated with the project exists or if a build script exists as the script will not be executed." author = "niklas.rosenstein@helsing.ai" +component = "core" [[entries]] id = "4f38a015-55a2-4faf-9dc0-bc35b61f955a" type = "improvement" description = "`TaskGraph.trim()` will now exclude groups from the returned graph if they are empty and if they have no dependencies or all transitive dependencies are also empty groups" author = "niklas.rosenstein@helsing.ai" +component = "core" [[entries]] id = "4ad60b94-d60e-40ae-8077-6c6e16243993" type = "tests" description = "Add a unit test to validate the behaviour of `Context.resolve_tasks()` and the contents of the `TaskGraph` returned by `Context.get_build_graph()`" author = "niklas.rosenstein@helsing.ai" +component = "core" [[entries]] id = "981e55d6-131e-4e14-9811-b53c6be82af0" type = "fix" description = "Fixed the address selectors that we fall back to if no selectors are specified on the command-line: They were `[\":\", \":**:\"]`, referencing the root projects and all it's sub-projects, when it should really be `[\".\", \"**:\"]`, which references the current project and all of it's sub-projects." author = "niklas.rosenstein@helsing.ai" +component = "core" [[entries]] id = "d7c49e7b-5bf1-4c25-b520-7928384a3cd9" @@ -44,3 +50,4 @@ author = "niklas.rosenstein@helsing.ai" issues = [ "https://github.com/kraken-build/kraken-build/issues/27", ] +component = "core" diff --git a/kraken-core/.changelog/0.20.3.toml b/kraken-build/.changelog/0.20.3.toml similarity index 96% rename from kraken-core/.changelog/0.20.3.toml rename to kraken-build/.changelog/0.20.3.toml index cada581a..2ba239a4 100644 --- a/kraken-core/.changelog/0.20.3.toml +++ b/kraken-build/.changelog/0.20.3.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Fix `Property.provides(X)` which should return `True` when a property is typed as `Property[List[X]]`, but did not because of a change in `typeapi` between `0.2.x` and `1.x`. This bug was introduced by https://github.com/kraken-build/kraken-core/pull/11 in version `0.12.0`." author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/28" +component = "core" diff --git a/kraken-std/.changelog/0.20.4.toml b/kraken-build/.changelog/0.20.4.toml similarity index 94% rename from kraken-std/.changelog/0.20.4.toml rename to kraken-build/.changelog/0.20.4.toml index 905647ed..b53e1d07 100644 --- a/kraken-std/.changelog/0.20.4.toml +++ b/kraken-build/.changelog/0.20.4.toml @@ -6,3 +6,4 @@ type = "fix" description = "Fix the `dist` function which should use the artifact names when copying them to a distribution." author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/29" +component = "std" diff --git a/kraken-std/.changelog/0.23.4.toml b/kraken-build/.changelog/0.23.4.toml similarity index 93% rename from kraken-std/.changelog/0.23.4.toml rename to kraken-build/.changelog/0.23.4.toml index 4e8828ce..97ebce6b 100644 --- a/kraken-std/.changelog/0.23.4.toml +++ b/kraken-build/.changelog/0.23.4.toml @@ -6,3 +6,4 @@ type = "fix" description = "Upgrade helm dependencies when packaging a chart" author = "callumPearce" pr = "https://github.com/kraken-build/kraken-build/pull/30" +component = "std" diff --git a/kraken-core/.changelog/0.23.5.toml b/kraken-build/.changelog/0.23.5.toml similarity index 73% rename from kraken-core/.changelog/0.23.5.toml rename to kraken-build/.changelog/0.23.5.toml index 54ab2cc6..3cfcdf36 100644 --- a/kraken-core/.changelog/0.23.5.toml +++ b/kraken-build/.changelog/0.23.5.toml @@ -6,6 +6,7 @@ type = "fix" description = "Re-allow specfiying one or more tasks while also passing the `--all` flag." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/35" +component = "core" [[entries]] id = "177f1e06-db56-4b25-890f-420b7bbbb66e" @@ -13,6 +14,7 @@ type = "improvement" description = "Add `-x` and `-X` options to the `krakenw q tree` command" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/35" +component = "core" [[entries]] id = "8db05748-81ea-45a1-92f8-fa693026122d" @@ -20,3 +22,12 @@ type = "improvement" description = "The `krakenw q tree` command now includes the task status, if any (only relevant with the `--resume` flag or the `-x` or `-X` options, otherwise tasks have no status when the tree is printed)" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/35" +component = "core" + +[[entries]] +id = "9454562d-7a0b-47c9-9d8d-a00fc2b29123" +type = "improvement" +description = "Make cargo fmt use the nightly toolchain by default" +author = "nicolas.vizzari@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/34" +component = "std" diff --git a/kraken-std/.changelog/0.23.6.toml b/kraken-build/.changelog/0.23.6.toml similarity index 93% rename from kraken-std/.changelog/0.23.6.toml rename to kraken-build/.changelog/0.23.6.toml index 63c4a2d1..8f3e6235 100644 --- a/kraken-std/.changelog/0.23.6.toml +++ b/kraken-build/.changelog/0.23.6.toml @@ -6,3 +6,4 @@ type = "feature" description = "can specify ld_library_path for maturin builds" author = "james.baker@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/36" +component = "std" diff --git a/kraken-std/.changelog/0.23.7.toml b/kraken-build/.changelog/0.23.7.toml similarity index 93% rename from kraken-std/.changelog/0.23.7.toml rename to kraken-build/.changelog/0.23.7.toml index bf8280c9..a9f2da53 100644 --- a/kraken-std/.changelog/0.23.7.toml +++ b/kraken-build/.changelog/0.23.7.toml @@ -6,3 +6,4 @@ type = "fix" description = "disable default requirement of Rust nightly" author = "james.baker@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/37" +component = "std" diff --git a/kraken-std/.changelog/0.24.0.toml b/kraken-build/.changelog/0.24.0.toml similarity index 74% rename from kraken-std/.changelog/0.24.0.toml rename to kraken-build/.changelog/0.24.0.toml index 76f3451a..541cd642 100644 --- a/kraken-std/.changelog/0.24.0.toml +++ b/kraken-build/.changelog/0.24.0.toml @@ -1,11 +1,20 @@ release-date = "2023-06-13" +[[entries]] +id = "394465ea-19e4-4a15-b83a-260df55a5d13" +type = "improvement" +description = "Added colorful error handling" +author = "chris.cunningham@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/31" +component = "core" + [[entries]] id = "70d6a010-f261-4656-8979-62a984fe611d" type = "improvement" description = "Only check the active toolchain if rustup is installed" author = "nicolas.vizzari@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/38" +component = "std" [[entries]] id = "8b15ada9-8643-483c-b767-f6558279b38b" @@ -13,9 +22,11 @@ type = "improvement" description = "Add PDM python build system support" author = "simone.zandara@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/33" +component = "std" [[entries]] id = "195159c4-4314-483e-9b11-c3fd32fe0fe7" type = "tests" description = "Force transitive `markdown-it-py` dependency to `<3.0.0` due to Mypy complaining about the newer syntax in Python 3.10 when a newer version of it would otherwise get installed (see https://github.com/python/mypy/issues/12162)" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.24.1.toml b/kraken-build/.changelog/0.24.1.toml similarity index 93% rename from kraken-std/.changelog/0.24.1.toml rename to kraken-build/.changelog/0.24.1.toml index 90f0558e..2b65d8bf 100644 --- a/kraken-std/.changelog/0.24.1.toml +++ b/kraken-build/.changelog/0.24.1.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Return the tasks created by `cargo_fmt`" author = "nicolas.vizzari@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/39" +component = "std" diff --git a/kraken-std/.changelog/0.24.2.toml b/kraken-build/.changelog/0.24.2.toml similarity index 91% rename from kraken-std/.changelog/0.24.2.toml rename to kraken-build/.changelog/0.24.2.toml index cb2347a3..5a94fbba 100644 --- a/kraken-std/.changelog/0.24.2.toml +++ b/kraken-build/.changelog/0.24.2.toml @@ -5,3 +5,4 @@ id = "277ccb69-64a9-4a11-8590-7aefe492da15" type = "fix" description = "Pass `CargoProject.build_env` to `cargoClippy` task" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.24.3.toml b/kraken-build/.changelog/0.24.3.toml similarity index 93% rename from kraken-std/.changelog/0.24.3.toml rename to kraken-build/.changelog/0.24.3.toml index dd2f6013..b15e3c80 100644 --- a/kraken-std/.changelog/0.24.3.toml +++ b/kraken-build/.changelog/0.24.3.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Add manifest_path to artifact metadata for Cargo" author = "luke.tomlin@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/41" +component = "std" diff --git a/kraken-build/.changelog/0.25.0.toml b/kraken-build/.changelog/0.25.0.toml new file mode 100644 index 00000000..50a25df6 --- /dev/null +++ b/kraken-build/.changelog/0.25.0.toml @@ -0,0 +1,49 @@ +release-date = "2023-06-19" + +[[entries]] +id = "4c5a9a3a-7981-4a61-a3a9-a68661178ef0" +type = "feature" +description = "add `kraken.common.findpython` module which will be used by kraken-wrapper to find an applicable Python version per the interpreter constraint in the buildscript requirements." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/42" +component = "common" + +[[entries]] +id = "e368a217-723a-4936-9586-bf3cadfdfcd2" +type = "improvement" +description = "Set `DEFAULT_INTERPRETER_CONSTRAINT` to` >=3.10,<3.11`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/42" +component = "common" + +[[entries]] +id = "6c0f7dd8-367b-402b-a4f9-5c7bb8ab7f53" +type = "improvement" +description = "Now requires explicitly Python 3.10. We can enable Python 3.11 when Dill 0.3.7 is enabled. (See https://github.com/uqfoundation/dill/issues/595)" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/42" +component = "core" + +[[entries]] +id = "4bb4ce3d-2e97-4239-b696-819434b6525e" +type = "improvement" +description = "Set Python version requirement to =3.10" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/42" +component = "std" + +[[entries]] +id = "16512958-0027-4b16-a5dd-de37e40ce231" +type = "feature" +description = "Add `list-pythons` command and support for finding an appropriate Python interpreter on the current system for creating the Python build environment in the `VenvBuildEnv` manager." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/42" +component = "wrapper" + +[[entries]] +id = "be71a375-d09b-4522-ba5a-06491ad03a11" +type = "improvement" +description = "Add support for `KRAKENW_NO_KEYRING` environment varibale" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/42" +component = "wrapper" diff --git a/kraken-core/.changelog/0.26.0.toml b/kraken-build/.changelog/0.26.0.toml similarity index 62% rename from kraken-core/.changelog/0.26.0.toml rename to kraken-build/.changelog/0.26.0.toml index ddac0c9a..8b1ff435 100644 --- a/kraken-core/.changelog/0.26.0.toml +++ b/kraken-build/.changelog/0.26.0.toml @@ -1,11 +1,28 @@ release-date = "2023-06-19" +[[entries]] +id = "ca06abb8-6ebf-4ee9-90d7-2e9b28c8218d" +type = "improvement" +description = "Use `rich`'s logging handler, add `kraken.common.exceptions` module" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/45" +component = "common" + +[[entries]] +id = "8b21f89e-a679-4333-aa85-b7d897c47927" +type = "breaking change" +description = "Remove `deprecated_get_requirement_spec_from_file_header()` function" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/45" +component = "common" + [[entries]] id = "c74b81bf-e59a-4b7a-9dbc-be571bb8cb88" type = "breaking change" description = "Remove deprecated `Project.children()` method and deprecated `Project.subproject()` overloads." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "65c94c4b-1dd5-43b8-ae97-d911b860113d" @@ -13,6 +30,7 @@ type = "breaking change" description = "Change `Addressable.address` into a read-only property" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "400b123c-093c-486a-8c1c-c70889bf6eac" @@ -20,6 +38,7 @@ type = "improvement" description = "Make `Project` a subclass of the new `KrakenObject` class" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "02f2d93b-232f-4471-8d9e-dfe05bc92ee5" @@ -27,6 +46,7 @@ type = "deprecation" description = "Deprecate `Project.path` and `Project.resolve_tasks()`" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "8ab2ec4c-9776-47f1-a234-0ba0832a7e09" @@ -34,6 +54,7 @@ type = "deprecation" description = "Deprecated `Task.outputs`, `Task.path` and `Task.add_relationship()`" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "f31e8357-54c5-4904-b62a-6786be13dc22" @@ -41,6 +62,7 @@ type = "breaking change" description = "Remove `Task.capture`" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "a56aa4ad-e789-41ca-b42d-0f404337f88b" @@ -48,6 +70,7 @@ type = "feature" description = "Add `Task.depends_on()` and `Task.required_by()`" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "1c72b74e-6188-4e95-b02a-b92612278d2c" @@ -55,6 +78,7 @@ type = "fix" description = "Move `Address.Element` class definition to the global scope, as otherwise we run into an issue with Dill deserialization where the type of `Address.elements` items is not actually the `Address.Element` type that we can access at runtime. (See https://github.com/uqfoundation/dill/issues/600)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "268ab1d2-4010-4db9-b5a2-9e2d7478fc92" @@ -62,6 +86,7 @@ type = "breaking change" description = "`TaskGraph` implementation now stores `Address` keys instead of strings" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/44" +component = "core" [[entries]] id = "c8b06c6d-1163-462d-a264-76441bbe6571" @@ -69,9 +94,35 @@ type = "breaking change" description = "Remove support for hash-comment style build requirements when resuming builds from an existing state." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/45" +component = "core" [[entries]] id = "ded2ad58-3eb2-4001-80d2-a5d38147da16" type = "improvement" description = "Move `pytest` dependency into a Poetry dependency group" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "7528c7ef-e3ba-4cbf-99e3-3226fd15e8da" +type = "fix" +description = "Don't wrap license or copyright holder in quotes" +author = "scott@stevenson.io" +pr = "https://github.com/kraken-build/kraken-build/pull/40" +component = "std" + +[[entries]] +id = "8f52da53-4be9-41f9-b2d6-3ac9b8af1d12" +type = "improvement" +description = "Make better use of logging and hide the logs of creating a virtual environment, upgrading Pip and installing dependencies unless the operations fail." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/45" +component = "wrapper" + +[[entries]] +id = "4f43421e-0ab9-4fc7-bdc8-900350470745" +type = "breaking change" +description = "Remove support for specifying Kraken build script requirements in the hash-comment (#) format. Only the `buildscript()` call from `kraken.common` is now supported." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/45" +component = "wrapper" diff --git a/kraken-common/.changelog/0.26.1.toml b/kraken-build/.changelog/0.26.1.toml similarity index 92% rename from kraken-common/.changelog/0.26.1.toml rename to kraken-build/.changelog/0.26.1.toml index ec49192d..7959dd82 100644 --- a/kraken-common/.changelog/0.26.1.toml +++ b/kraken-build/.changelog/0.26.1.toml @@ -5,3 +5,4 @@ id = "4740f67f-e876-4130-b340-8e47edb6ffc4" type = "fix" description = "Catch potential permission error when inspecting the files on the `PATH` in `kraken.common.findpython.get_candidates()`" author = "@NiklasRosenstein" +component = "common" diff --git a/kraken-build/.changelog/0.27.0.toml b/kraken-build/.changelog/0.27.0.toml new file mode 100644 index 00000000..f8125123 --- /dev/null +++ b/kraken-build/.changelog/0.27.0.toml @@ -0,0 +1,287 @@ +release-date = "2023-06-27" + +[[entries]] +id = "45ea820f-1988-43ec-842a-18f9dd381ac0" +type = "feature" +description = "Add `kraken.common.strings` module with the `as_bytes()` function" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/51" +component = "common" + +[[entries]] +id = "8d877165-07ec-4b8e-859f-636687cee884" +type = "feature" +description = "Add `kraken.common.strings.as_string()`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/56" +component = "common" + +[[entries]] +id = "e16431de-a6a4-4a4d-a85f-286de5fc2ab8" +type = "improvement" +description = "Replace more references to deprecated `Task.path` and `Project.path` with the new `.address` attribute" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "41818a3d-25b8-46ee-8dc7-198eeb0b6f5d" +type = "improvement" +description = "Get rid of `pretty_errors` again, experience has shown that it does not provide the added value that we hoped for as it still just outputs a Python traceback, but now in a different format than people are used to." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/49" +component = "core" + +[[entries]] +id = "fc94e125-f8a9-42ac-92b5-18278ab650db" +type = "improvement" +description = "Handle common errors in the Kraken CLI to improve the user experience." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/49" +component = "core" + +[[entries]] +id = "dbd60541-5ee2-4a87-a7b5-6fb07af9a77d" +type = "feature" +description = "Add `TaskStatusType.WARNING`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/50" +component = "core" + +[[entries]] +id = "197faa5a-4803-4c7b-8a27-53bbf023dd52" +type = "feature" +description = "Support `Literal` type hints in `Property`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/50" +component = "core" + +[[entries]] +id = "2746bc35-5f52-41ff-958d-fb269f4fe2ee" +type = "breaking change" +description = "The `kraken.core.testing` Pytest fixtures now always create a Context and Project in temporary directories. The temporary directories are distinct, this helps in ensuring that we do not accidentally depend on the current working directory or the project directory being somehow related to the Context directory." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/50" +component = "core" + +[[entries]] +id = "4fa257a1-814b-4c05-bce5-9f4d42205c8d" +type = "breaking change" +description = "Moved `as_bytes()` from `kraken.core.lib.check_file_contents_task` to `kraken.common.strings`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/51" +component = "core" + +[[entries]] +id = "600f4fac-72a5-4919-ba73-36015a2994ab" +type = "feature" +description = "Add `Property.is_set()` which returns `True` if `Property.set()` (or its variants) have not been called before and if the property does not have a default value." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/51" +component = "core" + +[[entries]] +id = "6bb6c310-8531-4ceb-816c-febc6f087d36" +type = "feature" +description = "Add `Project.task()` overload to create tasks, which deprecated `Project.do()`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "core" + +[[entries]] +id = "b35ae751-db16-4f63-8ca7-28a6de247c8c" +type = "deprecation" +description = "Deprecate `Project.do()` in favor of `Project.task()`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "core" + +[[entries]] +id = "22b41084-590b-4f4e-b795-5f329caaac20" +type = "improvement" +description = "Add `Address.normalize(keep_container)` keyword argument." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "core" + +[[entries]] +id = "b43ae504-597e-47fb-b61f-a2f275cdd79a" +type = "fix" +description = "Fixed `Context.resolve_tasks()` when `None` is passed, which is intended to resolve only the default tasks in the current project and its subprojects. Before this fix, the method would return _all_ tasks of the current project instead, because the address `.` would be treated like a single-element address, such as `lint`, which gets turned into `:**:.` (or `:**:lint`)." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "core" + +[[entries]] +id = "e4cca7cc-7aca-4472-937c-cd429e94a6cd" +type = "feature" +description = "Add `Project.task(name, closure)` overload that can be used in BuildDSL build scripts to define custom tasks. It creates an instance of an `InlineTask`, which also allows adding properties dynamically." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "core" + +[[entries]] +id = "c6a52685-87f9-4990-b516-315b53f8a2a1" +type = "feature" +description = "The `Property` class is now a Python descriptor, allowing to assign property values to tasks using assignments in addition to `set()`. Assigning `None` to it will set it to `None` for optional properties, and clear it for non-optional properties." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "core" + +[[entries]] +id = "f29e0786-6c0a-42f8-a20a-123a637669e0" +type = "fix" +description = "Fix `kraken query tree` command to remove the `--no-save` option and to never save the build context to disk after the command." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "core" + +[[entries]] +id = "867fafe2-0802-442e-9d17-4dd9115bc34d" +type = "breaking change" +description = "Move `kraken.core.lib.render_file_task` and `kraken.core.lib.check_file_contents_task` to `kraken.std.util`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/56" +component = "core" + +[[entries]] +id = "4d40c573-419f-49c9-9648-d4acde6c7687" +type = "improvement" +description = "When a build fails, the summary of which tasks have not been executed no longer include groups." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/57" +component = "core" + +[[entries]] +id = "491df1d7-02aa-4a45-9fac-c15ee020c423" +type = "breaking change" +description = "Reimplement `CheckFileExistsAndIsCommitedTask` as `CheckFileTask` and move it into the `kraken.core.git.tasks` module." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/50" +component = "std" + +[[entries]] +id = "522dd01e-ed80-4cfe-88e9-625a70346f38" +type = "breaking change" +description = "Reimplement `CheckValidReadmeExistsTask` as `ValidateReadmeTask`." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/50" +component = "std" + +[[entries]] +id = "8ca5846d-f4a5-4849-8b7b-b8d9f32006c9" +type = "breaking change" +description = "Re-implement `GitignoreSyncTask`, simplifying the code by a lot (e.g. no more tracking of a generated content hash) and cache a subset of tokens from gitignore.io to distribute them as part of kraken-std. The old begin/end markers we used in gitignore files before is still supported. We also no longer sort the gitignore file entries." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/51" +component = "std" + +[[entries]] +id = "d3835f19-335c-4824-ad51-1d2c3624591e" +type = "improvement" +description = "Use Poetry index priority instead of deprecated default/secondary options" +author = "sam.rogerson@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/46" +component = "std" + +[[entries]] +id = "1ebbe4bf-d8e0-4af4-bb4d-9819f1ba2cd8" +type = "improvement" +description = "Refactor how data is read and written to a Pyproject dependening on the underlying Project management tool (Poetry, PDM, etc.)" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/46" +component = "std" + +[[entries]] +id = "68ebc51b-95f4-4671-ae99-fcbd83ca86d2" +type = "improvement" +description = "Improved PDM implementation to ensure that it targets its own in-project environment instead of a potentially already activated virtual environment in the users terminal when they run Kraken." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/46" +component = "std" + +[[entries]] +id = "b9ccf244-cce6-46dc-97b4-6bbcf8874da0" +type = "improvement" +description = "bump Cargo.toml version before building, not only before publishing" +author = "jerome.froissart@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/52" +component = "std" + +[[entries]] +id = "3a8f284e-1259-4f02-817b-a6ba9e41f3bc" +type = "breaking change" +description = "Correct name of `mypy_stubtest_task` module and remove backwards compatibility for `mypy_subtest()` function name." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "std" + +[[entries]] +id = "825d21c2-8cd1-42b6-ad57-1187c82dbfd2" +type = "breaking change" +description = "Update signature of `info()` function to align with the rest of the task factory functions (e.g. automatically take the current project and build system)." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "std" + +[[entries]] +id = "d976ab0a-dfb3-4b03-aa48-ca9798d95c3c" +type = "improvement" +description = "Make parameters to task factory functions in `kraken.std.python.tasks` explicit and change `List` properties to contain a `Sequence`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "std" + +[[entries]] +id = "33ee8b9f-63b3-4548-b0fa-f4f0e553e5e9" +type = "feature" +description = "Move `kraken.core.lib.render_file_task` and `kraken.core.lib.check_file_contents_task` to `kraken.std.util`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/56" +component = "std" + +[[entries]] +id = "b1763527-f423-4a4b-9f49-d17e60b5c233" +type = "feature" +description = "The `CheckFileContentsTask` will now print a diff by default if the file it checks is not up to date." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/56" +component = "std" + +[[entries]] +id = "547b947a-c29b-4a40-bc0b-51b6420a82ba" +type = "feature" +description = "The `CargoSyncConfigTask` now has a `crates_io_protocol` option, which defaults to `sparse`. This means Cargo builds by default use the sparse protocol from now on." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/58" +component = "std" + +[[entries]] +id = "76d27430-6005-4d3a-a219-ea99ccdec0e1" +type = "improvement" +description = "Now sets the `KRAKENW=1` environment variable to allow the Kraken-Core CLI to detect if it is run through `krakenw`." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/49" +component = "wrapper" + +[[entries]] +id = "5acaa1a1-946f-421f-9622-4014ccf83752" +type = "fix" +description = "Fixed passing the `-p` option to the `kraken` command by appending it to the arguments, allowing to use `krakenw query` subcommands from subdirectories." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "wrapper" + +[[entries]] +id = "6cb1e252-b8dd-4c0d-b37a-3fd6ddfef7be" +type = "feature" +description = "Treat `# ::krakenw-root` comment in build scripts to avoid searching up higher for the project root directory." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/54" +component = "wrapper" + +[[entries]] +id = "2ccd0767-b104-4997-b92e-96939898b31c" +type = "improvement" +description = "Set default verbosity of `krakenw` command to 1, ensuring that `INFO` logs are always printed." +author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-common/.changelog/0.27.2.toml b/kraken-build/.changelog/0.27.2.toml similarity index 94% rename from kraken-common/.changelog/0.27.2.toml rename to kraken-build/.changelog/0.27.2.toml index 2f77e276..6f906d84 100644 --- a/kraken-common/.changelog/0.27.2.toml +++ b/kraken-build/.changelog/0.27.2.toml @@ -8,3 +8,4 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-build/issues/60", ] +component = "common" diff --git a/kraken-wrapper/.changelog/0.27.3.toml b/kraken-build/.changelog/0.27.3.toml similarity index 93% rename from kraken-wrapper/.changelog/0.27.3.toml rename to kraken-build/.changelog/0.27.3.toml index 3ca4d93f..dc885538 100644 --- a/kraken-wrapper/.changelog/0.27.3.toml +++ b/kraken-build/.changelog/0.27.3.toml @@ -6,6 +6,7 @@ type = "fix" description = "Handle `keyring.backends.null` the same as the fail backend -- i.e. as if no keyring backend is available. Improve logs to show the available keyring backend." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/61" +component = "wrapper" [[entries]] id = "05a17a7b-5b54-497e-9773-9a506921bbad" @@ -13,3 +14,4 @@ type = "improvement" description = "If the selected keyring backend is `null`, add a log to prompt the user to re-enable keyring" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/61" +component = "wrapper" diff --git a/kraken-std/.changelog/0.27.4.toml b/kraken-build/.changelog/0.27.4.toml similarity index 94% rename from kraken-std/.changelog/0.27.4.toml rename to kraken-build/.changelog/0.27.4.toml index 96d009bc..cfbbd866 100644 --- a/kraken-std/.changelog/0.27.4.toml +++ b/kraken-build/.changelog/0.27.4.toml @@ -5,3 +5,4 @@ id = "97de5e0d-c19c-4804-b66f-13068e92794b" type = "fix" description = "Fixed `cargo_sqlx_migrate()` and `cargo_sqlx_prepare()` by adding missing parameters that were previously supported with `**kwargs` before `Project.do()` was deprecated." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.27.5.toml b/kraken-build/.changelog/0.27.5.toml similarity index 93% rename from kraken-std/.changelog/0.27.5.toml rename to kraken-build/.changelog/0.27.5.toml index 7fd65029..0d074911 100644 --- a/kraken-std/.changelog/0.27.5.toml +++ b/kraken-build/.changelog/0.27.5.toml @@ -5,3 +5,4 @@ id = "8027bd98-a4a6-4f99-b18d-93a40e3014ee" type = "fix" description = "Do not call `PdmPyprojectHandler.set_path_dependencies_to_version()` in `PDMPythonBuildSystem.build()` as its not yet supported." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.28.0.dev0.toml b/kraken-build/.changelog/0.28.0.dev0.toml similarity index 53% rename from kraken-std/.changelog/0.28.0.dev0.toml rename to kraken-build/.changelog/0.28.0.dev0.toml index b75393aa..b0f5e550 100644 --- a/kraken-std/.changelog/0.28.0.dev0.toml +++ b/kraken-build/.changelog/0.28.0.dev0.toml @@ -1,10 +1,43 @@ release-date = "2023-07-07" +[[entries]] +id = "1fd57aac-6ed7-417d-8075-c948f7567194" +type = "deprecation" +description = "Deprecate `Property.config()`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/64" +component = "core" + +[[entries]] +id = "2799f865-f670-44ed-981c-1c6d52275f1f" +type = "feature" +description = "Add `Property.required()` and a `help` parameter to `Property.output()`, `Property.default()` and `Property.default_factory()`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/64" +component = "core" + +[[entries]] +id = "4c2eef2a-9e4c-4c0c-b5f9-494097fcc5b3" +type = "feature" +description = "Add `Task.add_tag()`, `Task.remove_tag()` and `Task.get_tags()`. A \"skip\" tag can now be added to a task to skip it." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/66" +component = "core" + +[[entries]] +id = "25f507d1-09ba-4107-9f6f-6217f75b66d5" +type = "improvement" +description = "Allow `Task` items in parameter to `Context.resolve_tasks()`" +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/66" +component = "core" + [[entries]] id = "cfdd846b-6a9b-43f0-aa11-fa54ebcf06f5" type = "tests" description = "Test `PythonBuildSystem.build()` with `as_version` set for Slap/Poetry/Pdm" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "c3a6fd4d-163b-4bf8-9251-30cfc436a3b9" @@ -12,6 +45,7 @@ type = "improvement" description = "Adjust task property definitions to replace `Property.config()` with `Property.default()` and `Property.default_factory()`" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/64" +component = "std" [[entries]] id = "15468abe-332f-480d-b287-db44bab5eea7" @@ -19,6 +53,7 @@ type = "breaking change" description = "Move Kraken task definitions in `kraken.std.docker` into `kraken.std.docker.tasks` module" author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/66" +component = "std" [[entries]] id = "9e0bffa2-9345-42c1-a33d-f5b86151fbd5" @@ -26,3 +61,4 @@ type = "improvement" description = "Phase out `proxy.py` MITM proxy for Cargo repositories and replace it with `mitmproxy` (https://mitmproxy.org/). Kraken will now start `mitmweb` in the background listening to port `8899` (same as before), while serving the Web Interface on port `8900`. The `mitmweb` process will remain alive over multiple runs of Kraken and restart automatically if its configuration changes (e.g. if the token changes)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/68" +component = "std" diff --git a/kraken-std/.changelog/0.28.0.toml b/kraken-build/.changelog/0.28.0.toml similarity index 93% rename from kraken-std/.changelog/0.28.0.toml rename to kraken-build/.changelog/0.28.0.toml index 8e47e0f6..4bb9d15e 100644 --- a/kraken-std/.changelog/0.28.0.toml +++ b/kraken-build/.changelog/0.28.0.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Handle `DaemonController` state more defensively." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/68" +component = "std" diff --git a/kraken-std/.changelog/0.28.1.toml b/kraken-build/.changelog/0.28.1.toml similarity index 94% rename from kraken-std/.changelog/0.28.1.toml rename to kraken-build/.changelog/0.28.1.toml index 457aeba8..d8a95d51 100644 --- a/kraken-std/.changelog/0.28.1.toml +++ b/kraken-build/.changelog/0.28.1.toml @@ -6,3 +6,4 @@ type = "fix" description = "The `DaemonController.run()` function now creates the parent directory of the stdout/stderr output files by default." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/70" +component = "std" diff --git a/kraken-std/.changelog/0.28.2.toml b/kraken-build/.changelog/0.28.2.toml similarity index 93% rename from kraken-std/.changelog/0.28.2.toml rename to kraken-build/.changelog/0.28.2.toml index 3b81848f..bc676750 100644 --- a/kraken-std/.changelog/0.28.2.toml +++ b/kraken-build/.changelog/0.28.2.toml @@ -6,3 +6,4 @@ type = "fix" description = "mitmproxy: Stream HTTP body instead of buffering to completion" author = "@wngr" pr = "https://github.com/kraken-build/kraken-build/pull/71" +component = "std" diff --git a/kraken-wrapper/.changelog/0.28.3.toml b/kraken-build/.changelog/0.28.3.toml similarity index 59% rename from kraken-wrapper/.changelog/0.28.3.toml rename to kraken-build/.changelog/0.28.3.toml index 23cbd2df..4be48326 100644 --- a/kraken-wrapper/.changelog/0.28.3.toml +++ b/kraken-build/.changelog/0.28.3.toml @@ -1,7 +1,15 @@ release-date = "2023-07-10" +[[entries]] +id = "be7bde71-d3de-437b-97b0-6e7f6c23d43d" +type = "improvement" +description = "Raise min Python version to 3.7" +author = "@NiklasRosenstein" +component = "common" + [[entries]] id = "c7a41306-86e3-4d9b-a70e-59e44dba8506" type = "improvement" description = "The wrapper does not have an issue with Python 3.11 as the core does due to Dill, so we should allow installing it into 3.11 and newer." author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.28.4.toml b/kraken-build/.changelog/0.28.4.toml similarity index 93% rename from kraken-std/.changelog/0.28.4.toml rename to kraken-build/.changelog/0.28.4.toml index 2dd17d34..f80fef7d 100644 --- a/kraken-std/.changelog/0.28.4.toml +++ b/kraken-build/.changelog/0.28.4.toml @@ -5,3 +5,4 @@ id = "86ef8c7c-a315-4f0c-b773-85c01bd6fddc" type = "feature" description = "Add `PythonInstallTask.skip_if_venv_exists` property (defaults to true) and `PythonSettings.skip_install_if_venv_exists` flag.;" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.29.0.toml b/kraken-build/.changelog/0.29.0.toml similarity index 50% rename from kraken-std/.changelog/0.29.0.toml rename to kraken-build/.changelog/0.29.0.toml index 8fd86944..61bf1b63 100644 --- a/kraken-std/.changelog/0.29.0.toml +++ b/kraken-build/.changelog/0.29.0.toml @@ -6,6 +6,7 @@ type = "improvement" description = "Enforces 3.10+ type annotation syntaxes using pyupgrade" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-build/pull/62" +component = "std" [[entries]] id = "a7af79cd-9622-4074-a25f-d27dcb66ff01" @@ -13,6 +14,7 @@ type = "improvement" description = "Support pytest coverage." author = "benjamin.poumarede@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/48" +component = "std" [[entries]] id = "b240870c-57c7-408a-a8f7-ee9db06fb475" @@ -20,3 +22,20 @@ type = "improvement" description = "Add `--no-http2` to the mitmproxy when invoked via the Cargo auth proxy task. This is to work around an issue with Cargo HTTP/2 multi-plexing (see https://github.com/rust-lang/cargo/issues/12202)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/75" +component = "std" + +[[entries]] +id = "f028ba80-a67f-4501-9370-a4df53dadfa8" +type = "feature" +description = "add Nix flake" +author = "james.baker@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/73" +component = "wrapper" + +[[entries]] +id = "1e8b4b08-773d-464a-854c-c7c8de1d65f4" +type = "fix" +description = "Fixed a bug in the ordering of Python interpreters when resolving an appropriate installation for the Kraken build environment. We now rely on the order returned by `kraken.common.findpython.get_candidates()`, which already attempts to be a bit clever in the order it returns candidates (e.g. `python3` over `python3.X` over `python3.X.Y` over installations in `~/.pyenv/versions`)." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/76" +component = "wrapper" diff --git a/kraken-core/.changelog/0.3.0.toml b/kraken-build/.changelog/0.3.0.toml similarity index 66% rename from kraken-core/.changelog/0.3.0.toml rename to kraken-build/.changelog/0.3.0.toml index 633e036d..407a3eb3 100644 --- a/kraken-core/.changelog/0.3.0.toml +++ b/kraken-build/.changelog/0.3.0.toml @@ -5,21 +5,39 @@ id = "9b24e0cd-b5bd-47c1-be0a-235b090162f5" type = "breaking change" description = "a rather substantial refactor to rename `BuildContext` to just `Context` and `BuildGraph` to `TaskGraph`, removed the `task_factory` class and moved its functionality mostly to `Project.do()`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "7231d9fd-b2fe-4ba7-b1f4-22985d0082b3" type = "breaking change" description = "move `kraken.testing` to `kraken.core.testing`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "e32c6921-0d5d-4041-b95e-4de2ad42fa4d" type = "feature" description = "add simple CLI that can be run with `python -m kraken.core`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "8985b797-3638-42f1-9921-9b9a8a501fda" type = "improvement" description = "flush after printing in Executor to ensure that outputs are in order (sometimes an issue in CI jobs on Github and Gitlab)" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "222d56a8-ae21-43af-97f7-5947640116f0" +type = "fix" +description = "actually take the `dirty` option into account in `GitVersion.format()`" +author = "@NiklasRosenstein" +component = "std" + +[[entries]] +id = "32d31151-2f1a-412f-a80a-d6009351d351" +type = "fix" +description = "support cargo auth proxy when Kraken build env is in PEX format" +author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-core/.changelog/0.3.1.toml b/kraken-build/.changelog/0.3.1.toml similarity index 51% rename from kraken-core/.changelog/0.3.1.toml rename to kraken-build/.changelog/0.3.1.toml index 3a9db311..4138e7df 100644 --- a/kraken-core/.changelog/0.3.1.toml +++ b/kraken-build/.changelog/0.3.1.toml @@ -5,3 +5,11 @@ id = "337bfe83-47f6-45b5-9056-66ea7ac80e47" type = "improvement" description = "add `Property.output()` static method, removed `kraken.core.testing.kraken_execute()`" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "8410406d-b6b7-48ba-b68e-3c2bbedaa5d6" +type = "breaking change" +description = "remove `RenderFileTask` and use it from `kraken-core` instead" +author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.10.toml b/kraken-build/.changelog/0.3.10.toml similarity index 92% rename from kraken-std/.changelog/0.3.10.toml rename to kraken-build/.changelog/0.3.10.toml index 7d6b9945..71b6b121 100644 --- a/kraken-std/.changelog/0.3.10.toml +++ b/kraken-build/.changelog/0.3.10.toml @@ -5,9 +5,11 @@ id = "fedc7a5c-60e6-4bcd-ad2f-56b865217c54" type = "feature" description = "add `DockerFileTask.create_preprocessor_task(group)` parameter, and set it to `None` by default" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "88471075-bac1-494b-ad58-a6e0e1e78b48" type = "feature" description = "add `KanikoBuildTask.kaniko_secrets_from_env` property" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.11.toml b/kraken-build/.changelog/0.3.11.toml similarity index 96% rename from kraken-std/.changelog/0.3.11.toml rename to kraken-build/.changelog/0.3.11.toml index a32702fd..1bcce83a 100644 --- a/kraken-std/.changelog/0.3.11.toml +++ b/kraken-build/.changelog/0.3.11.toml @@ -5,3 +5,4 @@ id = "50888b1e-c9b8-4311-9499-fe7855392a7e" type = "fix" description = "fix `PoetryPythonBuildSystem`, with Poetry 1.2.0 we must update an existing package source rather than appending one if it has the same name otherwise it complains. Also `poetry env info -p` will not always return a path even if Poetry commands succeed, that is because it may fall back to a virtual environment that is com[atible with the required Python version if the \"main\" Python installation is not." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.12.toml b/kraken-build/.changelog/0.3.12.toml similarity index 92% rename from kraken-std/.changelog/0.3.12.toml rename to kraken-build/.changelog/0.3.12.toml index c9c642d6..444a7119 100644 --- a/kraken-std/.changelog/0.3.12.toml +++ b/kraken-build/.changelog/0.3.12.toml @@ -5,15 +5,18 @@ id = "bb67aeb5-2ff3-4ef3-812b-2dfae5508742" type = "feature" description = "Add `CargoManifest` class" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "cd4c023d-c08e-4dd9-bb24-181b3fc148d8" type = "improvement" description = "no longer depend on `proxy.py` as a dependency, instead we expect users to install it separately" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "107ee894-d919-49ea-8e7c-37e0a1f61aaa" type = "fix" description = "Fix `CargoAuthProxyTask` which accidentally returned `TaskStatusType.SUCCEEDED` instead of `TaskStatusType.STARTED`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.13.toml b/kraken-build/.changelog/0.3.13.toml similarity index 92% rename from kraken-std/.changelog/0.3.13.toml rename to kraken-build/.changelog/0.3.13.toml index db51314c..257de8f9 100644 --- a/kraken-std/.changelog/0.3.13.toml +++ b/kraken-build/.changelog/0.3.13.toml @@ -5,21 +5,25 @@ id = "203f2835-4820-46ba-989a-7588adc77b8b" type = "feature" description = "add `kraken.std.descriptors.resource` module" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "22ef039c-2f92-4129-81d7-e84c43c6d78f" type = "improvement" description = "add `CargoBuildTask.target` property, but currently it is only used for the Task to know which subfolder in `./target` to look into" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "36cf6094-2eb4-4500-b1bc-86cafd86b0e6" type = "feature" description = "add `CargoBuildTask.out_binaries` property" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "a901faf1-0c44-4f4a-b6a5-515026af07cc" type = "feature" description = "add `kraken.std.dist` module which provides the `dist()` function to create distributions from the resources provided by other tasks." author = "unknown" +component = "std" diff --git a/kraken-std/.changelog/0.3.14.toml b/kraken-build/.changelog/0.3.14.toml similarity index 95% rename from kraken-std/.changelog/0.3.14.toml rename to kraken-build/.changelog/0.3.14.toml index ee8e4940..d7e1dee1 100644 --- a/kraken-std/.changelog/0.3.14.toml +++ b/kraken-build/.changelog/0.3.14.toml @@ -5,3 +5,4 @@ id = "8e95791d-d7bc-4899-a2ea-68a480e0164c" type = "feature" description = "using the new `TaskSet.partition()` API, we can now re-associate options that are specified per task selector to task outputs. The `dist()` factory now uses this to allow configuring the `arcname` for resources per selector." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.15.toml b/kraken-build/.changelog/0.3.15.toml similarity index 92% rename from kraken-std/.changelog/0.3.15.toml rename to kraken-build/.changelog/0.3.15.toml index 1e9b392f..03b74b92 100644 --- a/kraken-std/.changelog/0.3.15.toml +++ b/kraken-build/.changelog/0.3.15.toml @@ -5,3 +5,4 @@ id = "fc5c45ed-b877-4614-9861-655a3ff56b5e" type = "fix" description = "only validate existence of Cargo binary artifact after build if the build succeeded" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.16.toml b/kraken-build/.changelog/0.3.16.toml similarity index 94% rename from kraken-std/.changelog/0.3.16.toml rename to kraken-build/.changelog/0.3.16.toml index ec2cd2d5..f4caf81b 100644 --- a/kraken-std/.changelog/0.3.16.toml +++ b/kraken-build/.changelog/0.3.16.toml @@ -5,3 +5,4 @@ id = "67cd17d7-117b-4574-85d7-461e1861347f" type = "fix" description = "Fix `CargoBuildTask` to check if its `target` property is `debug` or `release`, only in that case do we want to export a `CargoBinaryArtifact` as the output" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.17.toml b/kraken-build/.changelog/0.3.17.toml similarity index 90% rename from kraken-std/.changelog/0.3.17.toml rename to kraken-build/.changelog/0.3.17.toml index 25fb6324..3c5f99c9 100644 --- a/kraken-std/.changelog/0.3.17.toml +++ b/kraken-build/.changelog/0.3.17.toml @@ -5,9 +5,11 @@ id = "ea7f0cb8-182b-42a3-904c-685a96d04061" type = "improvement" description = "Use Kaniko 1.9.0 by default" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "8f59c5eb-e77a-45a8-9a1c-3e1d1ec646b2" type = "feature" description = "take `KRAKEN_CARGO_BUILD_FLAGS` into account" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.18.toml b/kraken-build/.changelog/0.3.18.toml similarity index 92% rename from kraken-std/.changelog/0.3.18.toml rename to kraken-build/.changelog/0.3.18.toml index 758b7286..970b58ee 100644 --- a/kraken-std/.changelog/0.3.18.toml +++ b/kraken-build/.changelog/0.3.18.toml @@ -5,3 +5,4 @@ id = "1520ee9e-1640-433a-b16d-952494651b5b" type = "fix" description = "fix shlex in treating cargo build flags option added in the previous version" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.19.toml b/kraken-build/.changelog/0.3.19.toml similarity index 94% rename from kraken-std/.changelog/0.3.19.toml rename to kraken-build/.changelog/0.3.19.toml index c1fd3da7..742adb45 100644 --- a/kraken-std/.changelog/0.3.19.toml +++ b/kraken-build/.changelog/0.3.19.toml @@ -5,9 +5,11 @@ id = "24a70355-1370-43da-9b11-b3b03576e103" type = "feature" description = "add `update_pyproject_task()` and `PythonBuildSystem.update_pyproject()`; for Poetry this will update/replace the Python package indices defined in the build script into the Pyproject (note: currently discards comments in the config)" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "7d28c60c-63e5-45be-b8e2-aab93e1bc555" type = "improvement" description = "explicitly selecting the `:pythonInstall` task will not skip it anymore" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-core/.changelog/0.3.2.toml b/kraken-build/.changelog/0.3.2.toml similarity index 93% rename from kraken-core/.changelog/0.3.2.toml rename to kraken-build/.changelog/0.3.2.toml index d1ac9b6e..cab36cad 100644 --- a/kraken-core/.changelog/0.3.2.toml +++ b/kraken-build/.changelog/0.3.2.toml @@ -5,3 +5,4 @@ id = "2517f76b-fac2-4b37-91f5-0a2637db8d1e" type = "feature" description = "add `Property.config()` static method that allows setting default values for the property on the class level" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-std/.changelog/0.3.20.toml b/kraken-build/.changelog/0.3.20.toml similarity index 92% rename from kraken-std/.changelog/0.3.20.toml rename to kraken-build/.changelog/0.3.20.toml index 7cd22f24..0d4b5149 100644 --- a/kraken-std/.changelog/0.3.20.toml +++ b/kraken-build/.changelog/0.3.20.toml @@ -5,9 +5,11 @@ id = "deff70ac-ff1d-4943-95cd-fcbe90267ff0" type = "feature" description = "add `login()` task for python" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "26a8a926-8f16-4468-ba36-d70ca13bc137" type = "improvement" description = "update task names for Python workflows, `EnvironmentAwareDispatchTask` now detects the Python install task by task type instead of task name" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.21.toml b/kraken-build/.changelog/0.3.21.toml similarity index 94% rename from kraken-std/.changelog/0.3.21.toml rename to kraken-build/.changelog/0.3.21.toml index afebe9d6..7cda4ee5 100644 --- a/kraken-std/.changelog/0.3.21.toml +++ b/kraken-build/.changelog/0.3.21.toml @@ -5,3 +5,4 @@ id = "a543c7df-e894-45a6-a325-a732971a0ba0" type = "improvement" description = "The Python install task no longer needs to temporarily create a `poetry.toml` file because we now have the login task that should run before it." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.22.toml b/kraken-build/.changelog/0.3.22.toml similarity index 91% rename from kraken-std/.changelog/0.3.22.toml rename to kraken-build/.changelog/0.3.22.toml index aad44e7d..28dbca7c 100644 --- a/kraken-std/.changelog/0.3.22.toml +++ b/kraken-build/.changelog/0.3.22.toml @@ -5,3 +5,4 @@ id = "e1db25c7-26c0-4cbc-b9ca-b820b896ddcf" type = "feature" description = "add `KanikoBuildTask.kaniko_use_compressed_caching`" author = "@wtfgecko" +component = "std" diff --git a/kraken-std/.changelog/0.3.3.toml b/kraken-build/.changelog/0.3.3.toml similarity index 50% rename from kraken-std/.changelog/0.3.3.toml rename to kraken-build/.changelog/0.3.3.toml index 4b108649..6dd8dcd7 100644 --- a/kraken-std/.changelog/0.3.3.toml +++ b/kraken-build/.changelog/0.3.3.toml @@ -1,7 +1,15 @@ -release-date = "2022-08-14" +release-date = "2022-07-19" + +[[entries]] +id = "72290eaf-79cc-4dc5-9457-f1fa8375e720" +type = "feature" +description = "add `Project.do(group)` parameter and `TaskResult.from_exit_code()` method" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "50d16673-8f7f-484b-9b78-18ddc3352ba1" type = "fix" description = "add `--cache-from` argument to `docker buildx build` command when `cache_repo` property is specified (in addition to the already specified `--cache-to`)" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.4.toml b/kraken-build/.changelog/0.3.4.toml similarity index 51% rename from kraken-std/.changelog/0.3.4.toml rename to kraken-build/.changelog/0.3.4.toml index eedccee7..729190f5 100644 --- a/kraken-std/.changelog/0.3.4.toml +++ b/kraken-build/.changelog/0.3.4.toml @@ -1,13 +1,22 @@ -release-date = "2022-08-22" +release-date = "2022-07-19" + +[[entries]] +id = "97a75ab7-16da-4780-ae65-190f10e04bed" +type = "breaking change" +description = "Build script can only be called `.kraken.py`, all other alternative names are no longer supported" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "ad7dad4a-90b1-45ed-9d88-e6d9353bbb3e" type = "improvement" description = "kraken-core ^0.9.0 compatibility" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "94011e8e-4396-4163-a62b-4c440df82ddc" type = "tests" description = "improve integration tests for cargo private registries" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-build/.changelog/0.3.5.toml b/kraken-build/.changelog/0.3.5.toml new file mode 100644 index 00000000..1948285d --- /dev/null +++ b/kraken-build/.changelog/0.3.5.toml @@ -0,0 +1,15 @@ +release-date = "2022-07-20" + +[[entries]] +id = "48307425-8322-47be-bc50-5804e81c87bf" +type = "feature" +description = "add `kraken.core.utils.is_relative_to()` function" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "1354b9bb-6eaf-4c79-9428-49e9a0709b0a" +type = "improvement" +description = "The tasks for Black, Flake8 and Isort now read the source directory from the project `PythonSettings`" +author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.6.toml b/kraken-build/.changelog/0.3.6.toml similarity index 65% rename from kraken-std/.changelog/0.3.6.toml rename to kraken-build/.changelog/0.3.6.toml index 7a3d2fd6..bc6bfb5d 100644 --- a/kraken-std/.changelog/0.3.6.toml +++ b/kraken-build/.changelog/0.3.6.toml @@ -1,10 +1,18 @@ -release-date = "2022-08-25" +release-date = "2022-07-20" + +[[entries]] +id = "845a6374-1525-40a4-8635-9c79bb98d47d" +type = "feature" +description = "The `Property` type can now be used with (a union of) any type(s) as long as it is a proper `type` subclass and can be used for type checking" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "ed26008d-db87-44b8-aaa1-d1f4dddd5f5a" type = "improvement" description = "Docker tasks now preprocess the Dockerfile into the build directory rather than temporarily replacing the Dockerfile in the project" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "296a58be-174b-44f3-a6c9-ed6a30f652ea" @@ -14,3 +22,4 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-std/issues/10", ] +component = "std" diff --git a/kraken-core/.changelog/0.3.7.toml b/kraken-build/.changelog/0.3.7.toml similarity index 54% rename from kraken-core/.changelog/0.3.7.toml rename to kraken-build/.changelog/0.3.7.toml index b61d9802..1d8aa1cd 100644 --- a/kraken-core/.changelog/0.3.7.toml +++ b/kraken-build/.changelog/0.3.7.toml @@ -5,9 +5,18 @@ id = "28cb4c69-901c-4ec6-a1b7-34922bd75f1c" type = "breaking change" description = "rename `TaskRelationship.before` to `.inverse`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "feaf6775-f913-4d4d-af8b-e170fb355e77" type = "feature" description = "add `Task.add_relationship()` method" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "2aead0fe-8184-4ff0-b143-575d61309045" +type = "fix" +description = "Fix output filename for preprocessed Dockerfile (was previously placed into the project directory instead of the build directory)" +author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.8.toml b/kraken-build/.changelog/0.3.8.toml similarity index 93% rename from kraken-std/.changelog/0.3.8.toml rename to kraken-build/.changelog/0.3.8.toml index 7a2324c5..208ddc6c 100644 --- a/kraken-std/.changelog/0.3.8.toml +++ b/kraken-build/.changelog/0.3.8.toml @@ -5,3 +5,4 @@ id = "09f683c3-6ae6-40a2-88c4-b361dd6dd63d" type = "feature" description = "add `DockerFileTask.create_preprocessor_task()` and `DockerFileTask.preprocessor_task` as public API" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.3.9.toml b/kraken-build/.changelog/0.3.9.toml similarity index 93% rename from kraken-std/.changelog/0.3.9.toml rename to kraken-build/.changelog/0.3.9.toml index f6d5419a..e2db6b47 100644 --- a/kraken-std/.changelog/0.3.9.toml +++ b/kraken-build/.changelog/0.3.9.toml @@ -5,3 +5,4 @@ id = "f2a1f897-d673-4ff2-91be-3ea6e361c7e0" type = "fix" description = "fix Dockerfile preprocessing in `update_run_commands()` to support multi-line `RUN` commands (and add a unit test for it)" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.30.0.toml b/kraken-build/.changelog/0.30.0.toml similarity index 52% rename from kraken-std/.changelog/0.30.0.toml rename to kraken-build/.changelog/0.30.0.toml index 41bc4669..4ecfc86c 100644 --- a/kraken-std/.changelog/0.30.0.toml +++ b/kraken-build/.changelog/0.30.0.toml @@ -1,11 +1,20 @@ release-date = "2023-07-31" +[[entries]] +id = "1191a1e0-ffe3-428d-bb3c-9feba5d3b7a9" +type = "improvement" +description = "Upgrades GitHub actions dependencies" +author = "@Tpt" +pr = "https://github.com/kraken-build/kraken-build/pull/85" +component = "common" + [[entries]] id = "8dbcf8a4-062f-438d-a8d0-f61122b31ac7" type = "fix" description = "Fixed an issue where cargo managed by nix would not be recognised as such, due to the which command being unable to follow symlinks." author = "@ivan-jukic" pr = "https://github.com/kraken-build/kraken-build/pull/80" +component = "std" [[entries]] id = "f4ed8c84-d1f6-49c8-a907-d7d26b8ab3ce" @@ -13,3 +22,12 @@ type = "breaking change" description = "Adds support of Maturin+PDM Python projects" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-build/pull/84" +component = "std" + +[[entries]] +id = "3e40f75e-abe1-41ad-bac0-e876e7bd397d" +type = "feature" +description = "do not unnecessarily sort path" +author = "james.baker@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/83" +component = "wrapper" diff --git a/kraken-core/.changelog/0.30.1.toml b/kraken-build/.changelog/0.30.1.toml similarity index 50% rename from kraken-core/.changelog/0.30.1.toml rename to kraken-build/.changelog/0.30.1.toml index 8d1da211..3f09d602 100644 --- a/kraken-core/.changelog/0.30.1.toml +++ b/kraken-build/.changelog/0.30.1.toml @@ -6,6 +6,15 @@ type = "fix" description = "Makes flake8 happy" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-build/pull/91" +component = "common" + +[[entries]] +id = "626f9a26-e6ce-4285-8f05-7dfe1bded22c" +type = "fix" +description = "Makes flake8 happy" +author = "@Tpt" +pr = "https://github.com/kraken-build/kraken-build/pull/91" +component = "core" [[entries]] id = "e67e8b09-25aa-446b-8902-d9a6b4dcc743" @@ -16,3 +25,12 @@ pr = "https://github.com/kraken-build/kraken-build/pull/94" issues = [ "https://github.com/kraken-build/kraken-build/issues/93", ] +component = "core" + +[[entries]] +id = "9e4eb09a-8dfd-4fb2-85a4-0c9beec3f047" +type = "improvement" +description = "Report python coverage in terminal." +author = "benjamin.poumarede@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/92" +component = "std" diff --git a/kraken-std/.changelog/0.30.2.toml b/kraken-build/.changelog/0.30.2.toml similarity index 93% rename from kraken-std/.changelog/0.30.2.toml rename to kraken-build/.changelog/0.30.2.toml index d7cbe9a6..f8e1d400 100644 --- a/kraken-std/.changelog/0.30.2.toml +++ b/kraken-build/.changelog/0.30.2.toml @@ -6,3 +6,4 @@ type = "feature" description = "Allow to pass a custom error message for `cargo_deny`" author = "nicolas.vizzari@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/95" +component = "std" diff --git a/kraken-std/.changelog/0.30.4.toml b/kraken-build/.changelog/0.30.4.toml similarity index 93% rename from kraken-std/.changelog/0.30.4.toml rename to kraken-build/.changelog/0.30.4.toml index 7a3715c2..819aada8 100644 --- a/kraken-std/.changelog/0.30.4.toml +++ b/kraken-build/.changelog/0.30.4.toml @@ -6,3 +6,4 @@ type = "fix" description = "Add error message in paramaters of function" author = "nicolas.vizzari@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/96" +component = "std" diff --git a/kraken-std/.changelog/0.31.0.toml b/kraken-build/.changelog/0.31.0.toml similarity index 74% rename from kraken-std/.changelog/0.31.0.toml rename to kraken-build/.changelog/0.31.0.toml index 3447b730..76dbf158 100644 --- a/kraken-std/.changelog/0.31.0.toml +++ b/kraken-build/.changelog/0.31.0.toml @@ -1,11 +1,23 @@ release-date = "2023-08-08" +[[entries]] +id = "cb501ed7-e633-4a73-bd0e-0e95bdeeb96d" +type = "fix" +description = "Rework task description wrapping" +author = "jon.gjengset@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/98" +issues = [ + "https://github.com/kraken-build/kraken-build/issues/93", +] +component = "core" + [[entries]] id = "9208f809-56df-4f4e-98e0-2e32a8233dde" type = "improvement" description = "Wrap error message in a map" author = "nicolas.vizzari@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/97" +component = "std" [[entries]] id = "18aae01e-93e2-424b-a51d-39b3f0026729" @@ -13,6 +25,7 @@ type = "improvement" description = "Avoids building the Maturin library twice with PDM" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-build/pull/99" +component = "std" [[entries]] id = "4e6cd51b-8ada-4eb6-950a-56fca0b4038e" @@ -20,6 +33,7 @@ type = "improvement" description = "Makes PDM integration test mandatory" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-build/pull/86" +component = "std" [[entries]] id = "dd5f5b90-1846-4083-8853-1aff2c99d3f5" @@ -27,6 +41,7 @@ type = "feature" description = "Facilitates the creation of Debian packages from Rust projects." author = "@morosanmihail" pr = "https://github.com/kraken-build/kraken-build/pull/87" +component = "std" [[entries]] id = "400395ef-ae8c-4560-aa0f-922f1ff431bd" @@ -34,3 +49,4 @@ type = "feature" description = "Allows passing features to cargo_build and cargo_test." author = "@morosanmihail" pr = "https://github.com/kraken-build/kraken-build/pull/77" +component = "std" diff --git a/kraken-std/.changelog/0.31.1.toml b/kraken-build/.changelog/0.31.1.toml similarity index 55% rename from kraken-std/.changelog/0.31.1.toml rename to kraken-build/.changelog/0.31.1.toml index 94dd218e..c90c9a0f 100644 --- a/kraken-std/.changelog/0.31.1.toml +++ b/kraken-build/.changelog/0.31.1.toml @@ -6,6 +6,7 @@ type = "improvement" description = "Added the ability to specify additional directories to run Python linting tasks againt." author = "@cowlingjosh" pr = "https://github.com/kraken-build/kraken-build/pull/90" +component = "std" [[entries]] id = "85674b89-1801-46b4-98d5-d3660a21dfff" @@ -13,9 +14,27 @@ type = "improvement" description = "Added get_lockfile() to PythonBuildSystem subclasses as common way to retrieve the lock file" author = "alex.waldenmaier@icloud.com" pr = "https://github.com/kraken-build/kraken-build/pull/101" +component = "std" [[entries]] id = "511f40d2-105c-4de0-a71e-c5d04ffa5d45" type = "fix" description = "Fixed a bug in Pythons `InstallTask` that would accidentally always cause the install task to run even if that was disabled." author = "rosensteinniklas@gmail.com" +component = "std" + +[[entries]] +id = "cc19919e-5c33-4632-86dd-4f00a8a11166" +type = "improvement" +description = "Expose all environment variables understood by `krakenw` as CLI options as well and document the variables in the `--help` text." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/79" +component = "wrapper" + +[[entries]] +id = "d725edf0-9df0-4748-9ee9-c6c9cdd63be2" +type = "feature" +description = "Add `--show-install-logs` to the CLI and handle the `KRAKENW_SHOW_INSTALL_LOGS` env var." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/79" +component = "wrapper" diff --git a/kraken-wrapper/.changelog/0.31.2.toml b/kraken-build/.changelog/0.31.2.toml similarity index 90% rename from kraken-wrapper/.changelog/0.31.2.toml rename to kraken-build/.changelog/0.31.2.toml index d09ffb9c..25d944ed 100644 --- a/kraken-wrapper/.changelog/0.31.2.toml +++ b/kraken-build/.changelog/0.31.2.toml @@ -5,3 +5,4 @@ id = "99d33b26-c517-4e75-82ca-47c24bb51c09" type = "fix" description = "Fixed log format string when Pip fails to install dependencies." author = "@NiklasRosenstein" +component = "wrapper" diff --git a/kraken-std/.changelog/0.31.3.toml b/kraken-build/.changelog/0.31.3.toml similarity index 60% rename from kraken-std/.changelog/0.31.3.toml rename to kraken-build/.changelog/0.31.3.toml index e1929aac..fc2fd0a1 100644 --- a/kraken-std/.changelog/0.31.3.toml +++ b/kraken-build/.changelog/0.31.3.toml @@ -1,11 +1,20 @@ release-date = "2023-09-14" +[[entries]] +id = "2f8eeecf-df8f-4d7d-9b38-76297a123371" +type = "refactor" +description = "Add http module to common" +author = "alex.spencer@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/109" +component = "common" + [[entries]] id = "2268bf44-de8d-4fbd-9f53-7f506a6dbefd" type = "deprecation" description = "Deprecate http module in std in preference of moving to kraken-common" author = "alex.spencer@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/109" +component = "std" [[entries]] id = "23a63044-a0fe-415f-a7a0-d7fc7375c93c" @@ -13,6 +22,7 @@ type = "improvement" description = "Allows to inject env variable in Maturin builds" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-build/pull/104" +component = "std" [[entries]] id = "e5ad6dda-58f4-4f5d-bc28-95e24830989e" @@ -20,3 +30,12 @@ type = "improvement" description = "add `mode=max,ignore-error=true` to the `--cache-to=type=registry,...` option created by the `BuildxBuildTask`." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/111" +component = "std" + +[[entries]] +id = "18c0a8d4-e6c2-4c7e-9029-84d7416246ed" +type = "fix" +description = "Enforces isort and refreshes poetry.lock" +author = "@Tpt" +pr = "https://github.com/kraken-build/kraken-build/pull/108" +component = "wrapper" diff --git a/kraken-build/.changelog/0.31.4.toml b/kraken-build/.changelog/0.31.4.toml new file mode 100644 index 00000000..b31b3de2 --- /dev/null +++ b/kraken-build/.changelog/0.31.4.toml @@ -0,0 +1,49 @@ +release-date = "2023-09-19" + +[[entries]] +id = "4cea3e6c-d362-441d-99fa-83efacd16689" +type = "fix" +description = "Fixed a bug where tasks that are dependencies of another task excluded with the `-X` option (recursive exclude) would be tagged unconditionally to be skipped during execution even if it was still required by another task that is not skipped." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken-build/pull/116" +component = "core" + +[[entries]] +id = "92eb28d0-b0f9-4346-a3dc-d46fa0d0d0cf" +type = "fix" +description = "Pyupgrade: support properly relative source and test directories" +author = "thomas.pellissier-tanon@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/103" +component = "std" + +[[entries]] +id = "b2756f0b-6a0a-4ea3-a9fa-d8684d6dfcc0" +type = "improvement" +description = "Properly exposes Maturin project builder env variable setter" +author = "thomas.pellissier-tanon@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/113" +component = "std" + +[[entries]] +id = "47223d61-80dc-4f71-a2b8-80c9eddd0107" +type = "improvement" +description = "Removed krakenw Nix flake" +author = "niklas.rosenstein@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/74" +component = "wrapper" + +[[entries]] +id = "8d233d09-d51e-4cdd-b697-b2db838143e5" +type = "improvement" +description = "Mask auth password and check validity" +author = "alex.spencer@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/112" +component = "wrapper" + +[[entries]] +id = "e4006a4d-56b8-4a5a-86f0-0dc85c75f81c" +type = "fix" +description = "Update poetry lock to fix nix build" +author = "alex.spencer@helsing.ai" +pr = "https://github.com/kraken-build/kraken-build/pull/114" +component = "wrapper" diff --git a/kraken-std/.changelog/0.31.5.toml b/kraken-build/.changelog/0.31.5.toml similarity index 94% rename from kraken-std/.changelog/0.31.5.toml rename to kraken-build/.changelog/0.31.5.toml index 2cce8ae7..3e77b0c9 100644 --- a/kraken-std/.changelog/0.31.5.toml +++ b/kraken-build/.changelog/0.31.5.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Set `docker buildx build --provenance=false` by default to avoid pushing a list manifest by default." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-build/pull/118" +component = "std" diff --git a/kraken-core/.changelog/0.31.6.toml b/kraken-build/.changelog/0.31.6.toml similarity index 93% rename from kraken-core/.changelog/0.31.6.toml rename to kraken-build/.changelog/0.31.6.toml index c045d2d7..c1b6bccb 100644 --- a/kraken-core/.changelog/0.31.6.toml +++ b/kraken-build/.changelog/0.31.6.toml @@ -6,6 +6,7 @@ type = "improvement" description = "Improve errors that could be raised by the `TaskGraph` when a `not_none()` expectation is not met." author = "rosensteinniklas@gmail.com" pr = "https://github.com/kraken-build/kraken-build/pull/119" +component = "core" [[entries]] id = "659e1164-d8d9-40a3-9d4e-4f67b1c2e20e" @@ -13,3 +14,4 @@ type = "fix" description = "Fixed to recompute hash for `Address` after deserialization." author = "rosensteinniklas@gmail.com" pr = "https://github.com/kraken-build/kraken-build/pull/121" +component = "core" diff --git a/kraken-std/.changelog/0.31.7.toml b/kraken-build/.changelog/0.31.7.toml similarity index 94% rename from kraken-std/.changelog/0.31.7.toml rename to kraken-build/.changelog/0.31.7.toml index edc72618..3edfd106 100644 --- a/kraken-std/.changelog/0.31.7.toml +++ b/kraken-build/.changelog/0.31.7.toml @@ -6,6 +6,7 @@ type = "feature" description = "Added buffrs login/install/generate to kraken.std. Allow cargo_build to depend on task(s), i.e. buffrs install" author = "alex.spencer@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/120" +component = "std" [[entries]] id = "8011b761-4b58-4c3a-ba34-8099e9a24b88" @@ -13,3 +14,4 @@ type = "fix" description = "Confine buf command to current working directory of project" author = "alex.spencer@helsing.ai" pr = "https://github.com/kraken-build/kraken-build/pull/122" +component = "std" diff --git a/kraken-core/.changelog/0.4.0.toml b/kraken-build/.changelog/0.4.0.toml similarity index 92% rename from kraken-core/.changelog/0.4.0.toml rename to kraken-build/.changelog/0.4.0.toml index 8face093..21b6afe4 100644 --- a/kraken-core/.changelog/0.4.0.toml +++ b/kraken-build/.changelog/0.4.0.toml @@ -5,42 +5,49 @@ id = "987976f2-3729-4247-84b4-9abff032ce67" type = "feature" description = "allow adding question marks to target selectors to make it optional" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "9a9905f6-a4eb-4804-979e-050adfe297f3" type = "improvement" description = "improve `ValueError` raised when task selector is resolved in `Task.get_relationships()` to add the context of the task that the selector is resolved from" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "65ef243f-292b-44c9-bb60-2cc8a280dec9" type = "breaking change" description = "rename `TaskResult` to `TaskStatusType`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "9fcccaaf-7d73-4cd8-bcc7-9e54f21bbb9d" type = "breaking change" description = "add `TaskStatus` type" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "cbda1e03-6075-4eb8-912c-690774b99061" type = "breaking change" description = "replace `Task.is_up_to_date()` and `Task.is_skippable()` with new `Task.prepare()` method" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "76cbd68e-dc66-45c1-bdef-340ec5253443" type = "breaking change" description = "`Task.execute()` can now return `None` to indicate success" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "67e2fee0-3a6d-4c6c-ae6a-75b5a52279f3" type = "breaking change" description = "The `TaskGraph` now tracks task statuses and can be used to query remaining tasks (added `TaskGraph.set_status()`, `TaskGraph.get_status()`, `TaskGraph.is_complete()` and `TaskGraph.ready()`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "e076a6fb-b24f-4525-98ee-7383836a0a82" @@ -50,9 +57,11 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-core/issues/1", ] +component = "core" [[entries]] id = "78f3be70-ca67-4521-a6cf-e784a4cfbe6e" type = "improvement" description = "add `TaskStatusType.PENDING`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-std/.changelog/0.4.1.toml b/kraken-build/.changelog/0.4.1.toml similarity index 93% rename from kraken-std/.changelog/0.4.1.toml rename to kraken-build/.changelog/0.4.1.toml index 209cb84c..532408e5 100644 --- a/kraken-std/.changelog/0.4.1.toml +++ b/kraken-build/.changelog/0.4.1.toml @@ -5,3 +5,4 @@ id = "4651fa11-9f14-4579-9532-981dc170f930" type = "fix" description = "fix a new instance of using a new-style type annotation in a task property causing failure in 3.8 and 3.7 (`DistributionTask.resources`)" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.10.toml b/kraken-build/.changelog/0.4.10.toml similarity index 93% rename from kraken-std/.changelog/0.4.10.toml rename to kraken-build/.changelog/0.4.10.toml index e6654d3c..24ce6d47 100644 --- a/kraken-std/.changelog/0.4.10.toml +++ b/kraken-build/.changelog/0.4.10.toml @@ -5,3 +5,4 @@ id = "bf25514f-ad6d-4fd0-921b-c14bdc2c2514" type = "feature" description = "Add `cargo_bump_version(registry)` parameter which overwrites the the version and registry of path dependencies." author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.4.11.toml b/kraken-build/.changelog/0.4.11.toml similarity index 92% rename from kraken-std/.changelog/0.4.11.toml rename to kraken-build/.changelog/0.4.11.toml index 74da5930..d8bd7d8c 100644 --- a/kraken-std/.changelog/0.4.11.toml +++ b/kraken-build/.changelog/0.4.11.toml @@ -5,3 +5,4 @@ id = "70b2f868-cc29-43c1-b4ec-3894af36c8cd" type = "fix" description = "fix `IndividualDistOptions.arcname` type annotation which must be runtime compatible" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.12.toml b/kraken-build/.changelog/0.4.12.toml similarity index 90% rename from kraken-std/.changelog/0.4.12.toml rename to kraken-build/.changelog/0.4.12.toml index 13dccb33..5f5e4fdd 100644 --- a/kraken-std/.changelog/0.4.12.toml +++ b/kraken-build/.changelog/0.4.12.toml @@ -5,3 +5,4 @@ id = "f257878d-f0d6-412f-9d75-c376e7046306" type = "feature" description = "add `PytestTask.marker` property" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.13.toml b/kraken-build/.changelog/0.4.13.toml similarity index 89% rename from kraken-std/.changelog/0.4.13.toml rename to kraken-build/.changelog/0.4.13.toml index 3fca1aac..5eb09f93 100644 --- a/kraken-std/.changelog/0.4.13.toml +++ b/kraken-build/.changelog/0.4.13.toml @@ -5,3 +5,4 @@ id = "4e769070-a29f-4c5a-a739-97d316609061" type = "feature" description = "Add maturin support" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.4.14.toml b/kraken-build/.changelog/0.4.14.toml similarity index 91% rename from kraken-std/.changelog/0.4.14.toml rename to kraken-build/.changelog/0.4.14.toml index 3201e5a5..a84b2d84 100644 --- a/kraken-std/.changelog/0.4.14.toml +++ b/kraken-build/.changelog/0.4.14.toml @@ -5,21 +5,25 @@ id = "61ce9254-7dfe-4f5c-a57a-30c57ab113eb" type = "improvement" description = "have isort show the diff on failure" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "8eb67094-ed08-4060-b4a9-62c2de70ee57" type = "improvement" description = "run `maturin develop` in `python.install` task when Maturin is used as a development backend" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "0b415aeb-5dd1-42d5-b1bd-dbc0432532fb" type = "improvement" description = "have Maturin build in release mode instead of development mode" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "c24b5555-f691-4910-a259-fdc165e24aff" type = "improvement" description = "add `--diff` option when running `black --check`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.15.toml b/kraken-build/.changelog/0.4.15.toml similarity index 90% rename from kraken-std/.changelog/0.4.15.toml rename to kraken-build/.changelog/0.4.15.toml index 2c460e39..4a0d0e3e 100644 --- a/kraken-std/.changelog/0.4.15.toml +++ b/kraken-build/.changelog/0.4.15.toml @@ -5,9 +5,11 @@ id = "3b3a2872-0721-4aad-bb66-85a92412f201" type = "feature" description = "Add `cargo_fmt(all_packages)` parameter" author = "callumPearce" +component = "std" [[entries]] id = "01e23a6d-cd8b-4afd-b80a-59c1bafd908b" type = "feature" description = "Split out libs and bins from cargo build task" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.4.16.toml b/kraken-build/.changelog/0.4.16.toml similarity index 91% rename from kraken-std/.changelog/0.4.16.toml rename to kraken-build/.changelog/0.4.16.toml index 5b659137..a513bbdf 100644 --- a/kraken-std/.changelog/0.4.16.toml +++ b/kraken-build/.changelog/0.4.16.toml @@ -5,3 +5,4 @@ id = "026f0c3f-a72e-4060-aafd-2ff7ea93c281" type = "fix" description = "Don't fetch deps when fetching project metadata for Cargo" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.4.17.toml b/kraken-build/.changelog/0.4.17.toml similarity index 90% rename from kraken-std/.changelog/0.4.17.toml rename to kraken-build/.changelog/0.4.17.toml index 54f983ed..4cdd629a 100644 --- a/kraken-std/.changelog/0.4.17.toml +++ b/kraken-build/.changelog/0.4.17.toml @@ -5,3 +5,4 @@ id = "d97d9a18-2915-43c6-8e5a-ca0a16713d81" type = "fix" description = "Fix cargo build artifact paths" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.4.18.toml b/kraken-build/.changelog/0.4.18.toml similarity index 92% rename from kraken-std/.changelog/0.4.18.toml rename to kraken-build/.changelog/0.4.18.toml index 34c17ab0..f0ec044e 100644 --- a/kraken-std/.changelog/0.4.18.toml +++ b/kraken-build/.changelog/0.4.18.toml @@ -5,3 +5,4 @@ id = "9ae8fc10-011f-497e-a748-170a8e660960" type = "fix" description = "Force subproject version bumps ahead of main project, if no root is present" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.4.19.toml b/kraken-build/.changelog/0.4.19.toml similarity index 92% rename from kraken-std/.changelog/0.4.19.toml rename to kraken-build/.changelog/0.4.19.toml index 650e66fb..7ded2b21 100644 --- a/kraken-std/.changelog/0.4.19.toml +++ b/kraken-build/.changelog/0.4.19.toml @@ -5,27 +5,32 @@ id = "d3def3bf-1e0b-45d4-999e-cb02fdf0b6d6" type = "feature" description = "Add `cargo_build(workspace)` parameter" author = "unknown" +component = "std" [[entries]] id = "74349729-bbf6-43b4-bc55-26aea7ba79bc" type = "fix" description = "Fix preserve workspace_memebers in cargo manifest" author = "callumPearce" +component = "std" [[entries]] id = "91196d66-d55b-4e2c-85bb-fd16bfb236fc" type = "fix" description = "Have `PythonSettings.get_tests_directory()` return it only if it exists" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "27572d9b-2a0f-413c-9d58-2cf8ab5cfb72" type = "fix" description = "pass the path to the Black config file as an absolute path, this fixes an issue with running Black in a subproject where the CWD is different than when the build script is executed" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "4bb0d5bc-4675-41cd-8196-add8ac923664" type = "fix" description = "fix specifying the path to `pyproject.toml` in the `UpdatePyprojectTask` to be a path relative to the project directory" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.2.toml b/kraken-build/.changelog/0.4.2.toml similarity index 57% rename from kraken-std/.changelog/0.4.2.toml rename to kraken-build/.changelog/0.4.2.toml index 18e8cb5f..8c1d3df6 100644 --- a/kraken-std/.changelog/0.4.2.toml +++ b/kraken-build/.changelog/0.4.2.toml @@ -1,7 +1,15 @@ release-date = "2022-09-26" +[[entries]] +id = "fd8e74d9-cc80-471c-ac73-c7793806fb05" +type = "feature" +description = "add propagate_argparse_formatter_to_subparser" +author = "@NiklasRosenstein" +component = "common" + [[entries]] id = "8e9f4cd7-e56b-460b-958d-0a160e8b9f4d" type = "fix" description = "take `KRAKEN_CARGO_BUILD_FLAGS` into account for all `CargoBuildTask` implementations (this includes cargo test, cargo fmt, etc.)" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.20.toml b/kraken-build/.changelog/0.4.20.toml similarity index 92% rename from kraken-std/.changelog/0.4.20.toml rename to kraken-build/.changelog/0.4.20.toml index cf750588..a1859cbf 100644 --- a/kraken-std/.changelog/0.4.20.toml +++ b/kraken-build/.changelog/0.4.20.toml @@ -5,15 +5,18 @@ id = "a7a325b2-4724-4a73-882a-d6cd1db712b9" type = "fix" description = "Fix gitignore and pyproject task to actually treat relative paths relative to the cwd" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "d32a9af2-893d-41e9-8d88-d332f0109677" type = "fix" description = "Isort, Mypy and Flake8 tasks now pass the config file as an absolute path, they need to do this because they override the CWD for the subprocess" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "87ae251a-d024-497a-a5f5-816be23b80e6" type = "fix" description = "Fix path for Mypy daemon status file" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.21.toml b/kraken-build/.changelog/0.4.21.toml similarity index 91% rename from kraken-std/.changelog/0.4.21.toml rename to kraken-build/.changelog/0.4.21.toml index db8c6a72..60d14f3f 100644 --- a/kraken-std/.changelog/0.4.21.toml +++ b/kraken-build/.changelog/0.4.21.toml @@ -5,9 +5,11 @@ id = "a5379000-c1ea-4fe0-90b5-02d7488e88b7" type = "fix" description = "Don't use dataclass for enum as it breaks equality checks" author = "@tetigi" +component = "std" [[entries]] id = "e8a2b19d-1082-412a-aeeb-1a2ad70eade0" type = "fix" description = "Fix: try to solve chicken / egg issue around calling cargo manifest when sync config hasnt run yet" author = "@tetigi" +component = "std" diff --git a/kraken-common/.changelog/0.4.3.toml b/kraken-build/.changelog/0.4.3.toml similarity index 58% rename from kraken-common/.changelog/0.4.3.toml rename to kraken-build/.changelog/0.4.3.toml index 48b63c2a..8e370332 100644 --- a/kraken-common/.changelog/0.4.3.toml +++ b/kraken-build/.changelog/0.4.3.toml @@ -1,13 +1,22 @@ -release-date = "2022-12-14" +release-date = "2022-09-27" [[entries]] id = "6e0771a0-a340-48f8-a058-5ac5c1035b58" type = "fix" description = "add bad but backwards compatible ISO8601 format for parsing timestamps" author = "@NiklasRosenstein" +component = "common" [[entries]] id = "1ca97e00-ee57-4619-878e-1206fba2c4a2" type = "fix" description = "fix newlines in buildscript call recommendation for Python build scripts" author = "@NiklasRosenstein" +component = "common" + +[[entries]] +id = "029cd164-2fdb-4307-8382-af7d28682571" +type = "fix" +description = "Allow extra keys when parsing the `[package]` section of a Cargo manifest." +author = "@Nairu" +component = "std" diff --git a/kraken-std/.changelog/0.4.4.toml b/kraken-build/.changelog/0.4.4.toml similarity index 92% rename from kraken-std/.changelog/0.4.4.toml rename to kraken-build/.changelog/0.4.4.toml index 65ea666c..d09da84c 100644 --- a/kraken-std/.changelog/0.4.4.toml +++ b/kraken-build/.changelog/0.4.4.toml @@ -5,9 +5,11 @@ id = "4f5d1bea-a579-4a0e-aab5-ff59b74b2b91" type = "feature" description = "Add `PythonIndex.publish` setting. Nothing in kraken-std currently consumes this setting." author = "@NiklasRosenstein" +component = "std" [[entries]] id = "02f45570-4ace-4704-9076-596dfad51a37" type = "feature" description = "Add `kraken.std.python.pylint()`" author = "Christopher-Steel" +component = "std" diff --git a/kraken-std/.changelog/0.4.5.toml b/kraken-build/.changelog/0.4.5.toml similarity index 94% rename from kraken-std/.changelog/0.4.5.toml rename to kraken-build/.changelog/0.4.5.toml index 608dbcc2..c8088ae7 100644 --- a/kraken-std/.changelog/0.4.5.toml +++ b/kraken-build/.changelog/0.4.5.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Add Cargo workspace support in the Cargo manifest parser and Cargo sync config task" author = "@tetigi" pr = "https://github.com/kraken-build/kraken-std/pull/23" +component = "std" diff --git a/kraken-std/.changelog/0.4.6.toml b/kraken-build/.changelog/0.4.6.toml similarity index 92% rename from kraken-std/.changelog/0.4.6.toml rename to kraken-build/.changelog/0.4.6.toml index 1f50850b..3e50de2a 100644 --- a/kraken-std/.changelog/0.4.6.toml +++ b/kraken-build/.changelog/0.4.6.toml @@ -5,9 +5,11 @@ id = "2ae9265f-3f77-4728-a902-b770927744c5" type = "fix" description = "Fix error when output directory does not exist for `dist()` when creating a Zip archive" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "9251e861-c44c-4754-b4f8-784192f24171" type = "improvement" description = "`native` Docker backend now always adds the `--pull` argument to `docker build`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.7.toml b/kraken-build/.changelog/0.4.7.toml similarity index 93% rename from kraken-std/.changelog/0.4.7.toml rename to kraken-build/.changelog/0.4.7.toml index 32ac60f3..318e1a81 100644 --- a/kraken-std/.changelog/0.4.7.toml +++ b/kraken-build/.changelog/0.4.7.toml @@ -5,3 +5,4 @@ id = "80171b4b-a746-4eaf-88d6-dc662413ca28" type = "fix" description = "An empty `arcname` parameter in `dist()` was handled like `None`, but is now handled as expected." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.8.toml b/kraken-build/.changelog/0.4.8.toml similarity index 93% rename from kraken-std/.changelog/0.4.8.toml rename to kraken-build/.changelog/0.4.8.toml index f9e7eff6..a5b51ad5 100644 --- a/kraken-std/.changelog/0.4.8.toml +++ b/kraken-build/.changelog/0.4.8.toml @@ -5,3 +5,4 @@ id = "8b15daf8-387c-45f2-9789-57522bacd8db" type = "feature" description = "Allow configuring `exclude` and `include` glob patterns alongside the `arcname` options for targets in `dist()`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.4.9.toml b/kraken-build/.changelog/0.4.9.toml similarity index 93% rename from kraken-std/.changelog/0.4.9.toml rename to kraken-build/.changelog/0.4.9.toml index 5023739e..89ebdb2c 100644 --- a/kraken-std/.changelog/0.4.9.toml +++ b/kraken-build/.changelog/0.4.9.toml @@ -5,3 +5,4 @@ id = "a65bd8dc-ee59-4ff5-98b7-ab7df918db04" type = "fix" description = "Fix backwards incompatible type hint for annotations that are introspected at runtime in `kraken.std.dist` module." author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-build/.changelog/0.5.0.toml b/kraken-build/.changelog/0.5.0.toml new file mode 100644 index 00000000..d2e76eb5 --- /dev/null +++ b/kraken-build/.changelog/0.5.0.toml @@ -0,0 +1,36 @@ +release-date = "2022-07-24" + +[[entries]] +id = "ee44a383-b8a4-4236-9cfc-6556ab1f2df2" +type = "breaking change" +description = "remove `find_build_script()` and `iter_script_runners()` functions" +author = "@NiklasRosenstein" +component = "common" + +[[entries]] +id = "016452c1-def0-41e2-be99-3861eed9493c" +type = "feature" +description = "add `ProjectFinder` interface and implementations (`CurrentDirectoryProjectFinder` and `GitAwareProjectFinder`)" +author = "@NiklasRosenstein" +component = "common" + +[[entries]] +id = "d98cf5b6-2fda-405a-9dc8-ac9f64994c2f" +type = "improvement" +description = "make sure anonymous `Supplier` subclasses are picklable" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "70bf851c-f363-42c2-bec0-6aa1ea426325" +type = "breaking change" +description = "revamp `TaskGraph` API" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "fa4b0c52-293b-4ae3-9e43-2cd560b48686" +type = "improvement" +description = "migrate to kraken-core 0.11.0 and kraken-common 0.4.0" +author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-build/.changelog/0.5.1.toml b/kraken-build/.changelog/0.5.1.toml new file mode 100644 index 00000000..c18cc880 --- /dev/null +++ b/kraken-build/.changelog/0.5.1.toml @@ -0,0 +1,22 @@ +release-date = "2022-07-24" + +[[entries]] +id = "c8a0319a-4030-4f77-96d5-6ce5ac749217" +type = "breaking change" +description = "rename `ProjectInfo.path` to `ProjectInfo.script` but we have no consumers of 0.5.0 so we keep this as a patch bump" +author = "@NiklasRosenstein" +component = "common" + +[[entries]] +id = "95044b67-64d9-4712-96db-142cf12ccf1a" +type = "fix" +description = "Python 3.7 and 3.8 compatibility (removed use of | operator for types)" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "28fbdd0e-9f5c-471e-a6f6-78fc94ab5ba9" +type = "feature" +description = "Add `cargo_publish(package_name)` parameter" +author = "callumPearce" +component = "std" diff --git a/kraken-std/.changelog/0.5.10.toml b/kraken-build/.changelog/0.5.10.toml similarity index 90% rename from kraken-std/.changelog/0.5.10.toml rename to kraken-build/.changelog/0.5.10.toml index 930d903c..083a40f4 100644 --- a/kraken-std/.changelog/0.5.10.toml +++ b/kraken-build/.changelog/0.5.10.toml @@ -5,15 +5,18 @@ id = "3eddc7dc-a9d5-4b5d-824a-b5587b1e7981" type = "improvement" description = "Bump cargo version just before publish" author = "callumPearce" +component = "std" [[entries]] id = "ccf16097-0205-43be-923a-d5f26375ff4e" type = "feature" description = "Add pyupgrade tasks" author = "@Tpt" +component = "std" [[entries]] id = "91e4ece6-4a36-439a-b14d-15d1a36b74af" type = "fix" description = "Fix: don't use metadata in semver for cargo, squash it into the dev version" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.5.11.toml b/kraken-build/.changelog/0.5.11.toml similarity index 91% rename from kraken-std/.changelog/0.5.11.toml rename to kraken-build/.changelog/0.5.11.toml index f851a4f7..01230452 100644 --- a/kraken-std/.changelog/0.5.11.toml +++ b/kraken-build/.changelog/0.5.11.toml @@ -5,3 +5,4 @@ id = "338552cd-6517-4ee1-8ac7-0edc59d1b1f1" type = "feature" description = "Feature: Add retry functionality to cargo build and publish" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.5.12.toml b/kraken-build/.changelog/0.5.12.toml similarity index 93% rename from kraken-std/.changelog/0.5.12.toml rename to kraken-build/.changelog/0.5.12.toml index 09786741..36c76219 100644 --- a/kraken-std/.changelog/0.5.12.toml +++ b/kraken-build/.changelog/0.5.12.toml @@ -5,6 +5,7 @@ id = "1648a819-292f-4dbf-a3dc-5f45cc4e0c63" type = "feature" description = "Feature: Add a task for mypy.stubtest" author = "@Tpt" +component = "std" [[entries]] id = "e8714b02-17d0-4edc-a7e0-b8af7780a6ba" @@ -14,6 +15,7 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-std/issues/63", ] +component = "std" [[entries]] id = "9d7eaf80-bb99-40b1-be56-ca9e5cf2901c" @@ -23,3 +25,4 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-std/issues/65", ] +component = "std" diff --git a/kraken-std/.changelog/0.5.13.toml b/kraken-build/.changelog/0.5.13.toml similarity index 93% rename from kraken-std/.changelog/0.5.13.toml rename to kraken-build/.changelog/0.5.13.toml index b34adceb..37829c70 100644 --- a/kraken-std/.changelog/0.5.13.toml +++ b/kraken-build/.changelog/0.5.13.toml @@ -6,3 +6,4 @@ type = "fix" description = "Fix task to check if a file exists and is committed" author = "@super-secret-github-user" pr = "https://github.com/kraken-build/kraken-std/issues/76" +component = "std" diff --git a/kraken-std/.changelog/0.5.14.toml b/kraken-build/.changelog/0.5.14.toml similarity index 93% rename from kraken-std/.changelog/0.5.14.toml rename to kraken-build/.changelog/0.5.14.toml index 34c2a632..7189f4fd 100644 --- a/kraken-std/.changelog/0.5.14.toml +++ b/kraken-build/.changelog/0.5.14.toml @@ -6,3 +6,4 @@ type = "feature" description = "Cargo: Allow to exclude some crates from the workspace when building" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/issues/75" +component = "std" diff --git a/kraken-std/.changelog/0.5.15.toml b/kraken-build/.changelog/0.5.15.toml similarity index 89% rename from kraken-std/.changelog/0.5.15.toml rename to kraken-build/.changelog/0.5.15.toml index 41a17407..fb04a94b 100644 --- a/kraken-std/.changelog/0.5.15.toml +++ b/kraken-build/.changelog/0.5.15.toml @@ -5,3 +5,4 @@ id = "a2db438c-1e5d-445a-9958-cf30393df29a" type = "fix" description = "Fix poetry deps" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.5.16.toml b/kraken-build/.changelog/0.5.16.toml similarity index 89% rename from kraken-std/.changelog/0.5.16.toml rename to kraken-build/.changelog/0.5.16.toml index b8722206..ccad860a 100644 --- a/kraken-std/.changelog/0.5.16.toml +++ b/kraken-build/.changelog/0.5.16.toml @@ -5,9 +5,11 @@ id = "ca9f489f-2375-4d55-aef2-b101e399b1b5" type = "feature" description = "Adds pycln task" author = "@Tpt" +component = "std" [[entries]] id = "ed9e7987-5a84-492b-adb9-0f4314d69db4" type = "feature" description = "add `kraken.std.python.update_lockfile_task()`" author = "@rbyshko" +component = "std" diff --git a/kraken-std/.changelog/0.5.17.toml b/kraken-build/.changelog/0.5.17.toml similarity index 93% rename from kraken-std/.changelog/0.5.17.toml rename to kraken-build/.changelog/0.5.17.toml index 99a28e46..3776c5f0 100644 --- a/kraken-std/.changelog/0.5.17.toml +++ b/kraken-build/.changelog/0.5.17.toml @@ -6,3 +6,4 @@ type = "improvement" description = "adds a nice warning when a Python local dependency is missing" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/87" +component = "std" diff --git a/kraken-std/.changelog/0.5.18.toml b/kraken-build/.changelog/0.5.18.toml similarity index 94% rename from kraken-std/.changelog/0.5.18.toml rename to kraken-build/.changelog/0.5.18.toml index 64c81e13..fa28cb7f 100644 --- a/kraken-std/.changelog/0.5.18.toml +++ b/kraken-build/.changelog/0.5.18.toml @@ -9,3 +9,4 @@ pr = "https://github.com/kraken-build/kraken-std/pull/79" issues = [ "https://github.com/kraken-build/kraken-std/issues/79", ] +component = "std" diff --git a/kraken-std/.changelog/0.5.19.toml b/kraken-build/.changelog/0.5.19.toml similarity index 92% rename from kraken-std/.changelog/0.5.19.toml rename to kraken-build/.changelog/0.5.19.toml index 778184c3..cad20f9d 100644 --- a/kraken-std/.changelog/0.5.19.toml +++ b/kraken-build/.changelog/0.5.19.toml @@ -6,3 +6,4 @@ type = "fix" description = "Don't try to pyupgrade None" author = "@tetigi" pr = "https://github.com/kraken-build/kraken-std/pull/91" +component = "std" diff --git a/kraken-common/.changelog/0.5.2.toml b/kraken-build/.changelog/0.5.2.toml similarity index 68% rename from kraken-common/.changelog/0.5.2.toml rename to kraken-build/.changelog/0.5.2.toml index efbfa579..e68f4936 100644 --- a/kraken-common/.changelog/0.5.2.toml +++ b/kraken-build/.changelog/0.5.2.toml @@ -1,13 +1,22 @@ -release-date = "2022-12-19" +release-date = "2022-07-24" [[entries]] id = "d174c5d0-5058-4864-a648-aa9239587b1b" type = "fix" description = "fix `deprecated_get_requirement_spec_from_file_header()` to avoid the default python path to be spread out as individual items in the `RequirementSpec.pythonpath`" author = "@NiklasRosenstein" +component = "common" [[entries]] id = "c93b301d-6eec-47a3-bbd0-0ca6988396b9" type = "fix" description = "fix `deprecated_get_requirement_spec_from_file_header()` to avoid the default python path to be spread out as individual items in the `RequirementSpec.pythonpath`" author = "@NiklasRosenstein" +component = "common" + +[[entries]] +id = "4ef3dde1-5f7a-4d4c-b2c8-03f0f3ff1c4d" +type = "fix" +description = "Fix derivation of inactive tasks in `TaskGraph`" +author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-std/.changelog/0.5.20.toml b/kraken-build/.changelog/0.5.20.toml similarity index 92% rename from kraken-std/.changelog/0.5.20.toml rename to kraken-build/.changelog/0.5.20.toml index 015361bb..83614d9b 100644 --- a/kraken-std/.changelog/0.5.20.toml +++ b/kraken-build/.changelog/0.5.20.toml @@ -6,6 +6,7 @@ type = "fix" description = "properly rollback the Poetry project version after build" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/90" +component = "std" [[entries]] id = "1b02e55d-8c2f-4073-80e5-7a301f5adf26" @@ -13,3 +14,4 @@ type = "fix" description = "Fix verification of cargo build artefacts" author = "@cdbrkfxrpt" pr = "https://github.com/kraken-build/kraken-std/pull/95" +component = "std" diff --git a/kraken-std/.changelog/0.5.21.toml b/kraken-build/.changelog/0.5.21.toml similarity index 93% rename from kraken-std/.changelog/0.5.21.toml rename to kraken-build/.changelog/0.5.21.toml index 20d635c3..34874fcf 100644 --- a/kraken-std/.changelog/0.5.21.toml +++ b/kraken-build/.changelog/0.5.21.toml @@ -6,3 +6,4 @@ type = "fix" description = "Fix validation for Rust libs, in which hyphens are replaced with underscores" author = "@cdbrkfxrpt" pr = "https://github.com/kraken-build/kraken-std/pull/96" +component = "std" diff --git a/kraken-std/.changelog/0.5.22.toml b/kraken-build/.changelog/0.5.22.toml similarity index 92% rename from kraken-std/.changelog/0.5.22.toml rename to kraken-build/.changelog/0.5.22.toml index f12647b6..2d34d54f 100644 --- a/kraken-std/.changelog/0.5.22.toml +++ b/kraken-build/.changelog/0.5.22.toml @@ -6,3 +6,4 @@ type = "fix" description = "fixes pyupgrade evaluation when there is no file" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/93" +component = "std" diff --git a/kraken-std/.changelog/0.5.23.toml b/kraken-build/.changelog/0.5.23.toml similarity index 92% rename from kraken-std/.changelog/0.5.23.toml rename to kraken-build/.changelog/0.5.23.toml index 094d5055..a2e81e18 100644 --- a/kraken-std/.changelog/0.5.23.toml +++ b/kraken-build/.changelog/0.5.23.toml @@ -6,3 +6,4 @@ type = "feature" description = "Adds cargo_check_toolchain_version" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/97" +component = "std" diff --git a/kraken-std/.changelog/0.5.24.toml b/kraken-build/.changelog/0.5.24.toml similarity index 92% rename from kraken-std/.changelog/0.5.24.toml rename to kraken-build/.changelog/0.5.24.toml index ea8a7d8f..ba9d45fe 100644 --- a/kraken-std/.changelog/0.5.24.toml +++ b/kraken-build/.changelog/0.5.24.toml @@ -6,6 +6,7 @@ type = "fix" description = "Compatibility of pyproject.toml with Poetry." author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/100" +component = "std" [[entries]] id = "394bde18-7149-4e77-bfda-aa44569a0dcb" @@ -13,6 +14,7 @@ type = "improvement" description = "Enable `pytest --doctest-modules` flag (controlled by `PytestTask.doctest_modules`, enabled by default)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-std/pull/101" +component = "std" [[entries]] id = "57c61a58-46f4-48d9-b111-f7f44bbfa142" @@ -20,6 +22,7 @@ type = "breaking change" description = "Move task to check a valid readme exists from kraken-hs, and refactoring" author = "@cdbrkfxrpt" pr = "https://github.com/kraken-build/kraken-std/pull/103" +component = "std" [[entries]] id = "2eec93ae-e407-4cfa-9de6-d9841a3d103b" @@ -27,6 +30,7 @@ type = "improvement" description = "Allows alpha, beta and RC pre-releases in version identifiers." author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/102" +component = "std" [[entries]] id = "1a9d1e92-007b-444e-9c7f-5a1124d66c7e" @@ -34,6 +38,7 @@ type = "improvement" description = "Pyupgrade: allows to ignore files and directories" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/99" +component = "std" [[entries]] id = "734110fd-b00c-4db8-92d2-e0fe02e0252c'" @@ -41,3 +46,4 @@ type = "feature" description = "automatically set version for Maturin builds" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/92" +component = "std" diff --git a/kraken-core/.changelog/0.5.3.toml b/kraken-build/.changelog/0.5.3.toml similarity index 69% rename from kraken-core/.changelog/0.5.3.toml rename to kraken-build/.changelog/0.5.3.toml index 516a4c00..3c419c32 100644 --- a/kraken-core/.changelog/0.5.3.toml +++ b/kraken-build/.changelog/0.5.3.toml @@ -1,31 +1,50 @@ release-date = "2022-07-27" +[[entries]] +id = "62482e19-4c68-4142-aa77-e25401a1ee62" +type = "improvement" +description = "Allow disabling `GitAwareProjectFinder` home boundary check." +author = "@NiklasRosenstein" +component = "common" + [[entries]] id = "5e3bdc46-4b82-43b5-a20a-34b2e6b1fb68" type = "improvement" description = "Move `.find_metadata()` and `.current()` implementation on `Context` and `Project` into common base classes (`MetadataContainer` and `CurrentProvider`), add `Project.default()` and `Project.default_factory()`, add `Property.setcallable()` and `Property.clear()`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "754f7b7e-c8d6-474e-838e-65366961fd6c" type = "feature" description = "Add `Task.teardown()` method and adapt `Executor` to call it" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "dca7db79-7192-4be6-9657-3829d457a07a" type = "feature" description = "`VoidTask` can now be configured to not skip execution" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "8926138b-c0f4-4118-a066-4ae03e207974" type = "feature" description = "Add `TaskStatusType.STARTED`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c12c3e9e-014a-4afe-bb5f-7ae076b69991" type = "feature" description = "add `BackgroundTask` base class" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "41b01c97-4896-43d0-a8a1-31319625e86d" +type = "fix" +description = "Fix: only fallback on failed metadata call" +author = "@tetigi" +component = "std" diff --git a/kraken-build/.changelog/0.5.4.toml b/kraken-build/.changelog/0.5.4.toml new file mode 100644 index 00000000..a33fe762 --- /dev/null +++ b/kraken-build/.changelog/0.5.4.toml @@ -0,0 +1,25 @@ +release-date = "2022-07-27" + +[[entries]] +id = "30f9f26a-d6ce-4999-928d-2de27a4287ec" +type = "improvement" +description = "allow `not_none(message)` parameter to be a callable" +author = "@NiklasRosenstein" +issues = [ + "https://github.com/kraken-build/kraken-common/issues/2", +] +component = "common" + +[[entries]] +id = "dba8e7da-7d1f-4c0f-880b-b59060096b22" +type = "fix" +description = "make `Supplier.map()` result picklable" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "d85946d3-4038-49e8-a677-db43fefabad2" +type = "fix" +description = "Fix: actually log the error" +author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.5.5.toml b/kraken-build/.changelog/0.5.5.toml similarity index 92% rename from kraken-std/.changelog/0.5.5.toml rename to kraken-build/.changelog/0.5.5.toml index 1bcdedbf..59b296eb 100644 --- a/kraken-std/.changelog/0.5.5.toml +++ b/kraken-build/.changelog/0.5.5.toml @@ -5,9 +5,11 @@ id = "197716a8-888d-49e6-a022-6e3637963a87" type = "improvement" description = "Cargo: improve error message when the `proxy` command cannot be found and make sure verbose logs include the full path to the `proxy` command being invoked" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "5e643ca4-a9b8-4f64-b978-710de2d11997" type = "improvement" description = "bump kraken-common to `^0.5.2`" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.5.6.toml b/kraken-build/.changelog/0.5.6.toml similarity index 91% rename from kraken-std/.changelog/0.5.6.toml rename to kraken-build/.changelog/0.5.6.toml index ff84ca5d..1db1fef5 100644 --- a/kraken-std/.changelog/0.5.6.toml +++ b/kraken-build/.changelog/0.5.6.toml @@ -5,9 +5,11 @@ id = "7b732c4c-f97d-4174-97af-c7254f295d16" type = "improvement" description = "update imports from `kraken.core` to use `kraken.core.api`" author = "@NiklasRosenstein" +component = "std" [[entries]] id = "69ea8d59-2a34-4ac2-adc8-6ed64c5477e5" type = "improvement" description = "bump to `kraken-core ^0.11.5` and update imports" author = "@NiklasRosenstein" +component = "std" diff --git a/kraken-std/.changelog/0.5.8.toml b/kraken-build/.changelog/0.5.8.toml similarity index 91% rename from kraken-std/.changelog/0.5.8.toml rename to kraken-build/.changelog/0.5.8.toml index 7c5ea134..0546f8d5 100644 --- a/kraken-std/.changelog/0.5.8.toml +++ b/kraken-build/.changelog/0.5.8.toml @@ -5,3 +5,4 @@ id = "bbb10e4e-b136-472f-990d-1ee8d2eb1493" type = "fix" description = "Fix: use target-dir from metadata rather than guessing" author = "@tetigi" +component = "std" diff --git a/kraken-std/.changelog/0.5.9.toml b/kraken-build/.changelog/0.5.9.toml similarity index 92% rename from kraken-std/.changelog/0.5.9.toml rename to kraken-build/.changelog/0.5.9.toml index b55d37b4..456374bf 100644 --- a/kraken-std/.changelog/0.5.9.toml +++ b/kraken-build/.changelog/0.5.9.toml @@ -5,3 +5,4 @@ id = "d9c1c9e7-46b3-4869-8cb3-cd45b9fe6c3f" type = "fix" description = "Fix: Make cargo metadata failed return an error with a workaround message" author = "@tetigi" +component = "std" diff --git a/kraken-core/.changelog/0.6.0.toml b/kraken-build/.changelog/0.6.0.toml similarity index 59% rename from kraken-core/.changelog/0.6.0.toml rename to kraken-build/.changelog/0.6.0.toml index 0d18523f..d022a25b 100644 --- a/kraken-core/.changelog/0.6.0.toml +++ b/kraken-build/.changelog/0.6.0.toml @@ -8,3 +8,12 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-core/issues/3", ] +component = "core" + +[[entries]] +id = "990593e2-b3ba-4721-8c74-e5e9aa5d66f7" +type = "improvement" +description = "Add test fixture components, add test for util task and refactor" +author = "@cdbrkfxrpt" +pr = "https://github.com/kraken-build/kraken-std/pull/104" +component = "std" diff --git a/kraken-build/.changelog/0.6.1.toml b/kraken-build/.changelog/0.6.1.toml new file mode 100644 index 00000000..7d0c31de --- /dev/null +++ b/kraken-build/.changelog/0.6.1.toml @@ -0,0 +1,16 @@ +release-date = "2022-08-01" + +[[entries]] +id = "86b5ddbe-af30-4d66-b9e3-7161f75cff4d" +type = "feature" +description = "add `Property.setmap()`" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "f3efbfaa-cdd4-40e7-af42-7db4da3e5449" +type = "fix" +description = "Fix formatting" +author = "@cdbrkfxrpt" +pr = "https://github.com/kraken-build/kraken-std/pull/106" +component = "std" diff --git a/kraken-core/.changelog/0.6.2.toml b/kraken-build/.changelog/0.6.2.toml similarity index 55% rename from kraken-core/.changelog/0.6.2.toml rename to kraken-build/.changelog/0.6.2.toml index af7619dc..20fbf0ef 100644 --- a/kraken-core/.changelog/0.6.2.toml +++ b/kraken-build/.changelog/0.6.2.toml @@ -5,3 +5,12 @@ id = "5ef2b441-8f79-4ab7-beec-02a84f0ea64f" type = "improvement" description = "Depending on a group now behaves like directly dependending on the groups members; this change is particularly relevant for the successors that background tasks are active for." author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "85324e3a-70f4-4ca2-b049-8cfbd05bbacc" +type = "fix" +description = "fix issue where we extract the wrong key for cargo version" +author = "@tetigi" +pr = "https://github.com/kraken-build/kraken-std/pull/110" +component = "std" diff --git a/kraken-std/.changelog/0.6.3.toml b/kraken-build/.changelog/0.6.3.toml similarity index 92% rename from kraken-std/.changelog/0.6.3.toml rename to kraken-build/.changelog/0.6.3.toml index 1ed5db4e..7e4b0da6 100644 --- a/kraken-std/.changelog/0.6.3.toml +++ b/kraken-build/.changelog/0.6.3.toml @@ -6,3 +6,4 @@ type = "fix" description = "inject auth credentials into config.toml" author = "@tetigi" pr = "https://github.com/kraken-build/kraken-std/pull/111" +component = "std" diff --git a/kraken-std/.changelog/0.6.5.toml b/kraken-build/.changelog/0.6.5.toml similarity index 92% rename from kraken-std/.changelog/0.6.5.toml rename to kraken-build/.changelog/0.6.5.toml index 5bf2f7d3..befc1240 100644 --- a/kraken-std/.changelog/0.6.5.toml +++ b/kraken-build/.changelog/0.6.5.toml @@ -6,3 +6,4 @@ type = "fix" description = "only inject for existing registries" author = "@tetigi" pr = "https://github.com/kraken-build/kraken-std/pull/112" +component = "std" diff --git a/kraken-std/.changelog/0.7.0.toml b/kraken-build/.changelog/0.7.0.toml similarity index 78% rename from kraken-std/.changelog/0.7.0.toml rename to kraken-build/.changelog/0.7.0.toml index c02a63b0..331fc6b2 100644 --- a/kraken-std/.changelog/0.7.0.toml +++ b/kraken-build/.changelog/0.7.0.toml @@ -1,4 +1,11 @@ -release-date = "2023-03-27" +release-date = "2022-08-03" + +[[entries]] +id = "a42def0b-7754-44fd-9695-813cc1b3b8c4" +type = "feature" +description = "add `TaskStatusType.INTERRUPTED`, the default executor now stops execution immediately (but it would not understand waiting for any currently running tasks if the TaskRunner is executing them in the background)" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c35a9d23-2db1-4dd0-8e04-088931ee0c9c" @@ -6,6 +13,7 @@ type = "breaking change" description = "Updated .gitignore task to generate a comprehensive global .gitignore" author = "luke.bax@talktalk.net" pr = "https://github.com/kraken-build/kraken-std/pull/115" +component = "std" [[entries]] id = "97ce7edd-11b9-49cf-a54a-afa34de14173" @@ -13,6 +21,7 @@ type = "improvement" description = "Kraken now ensures that the `__version__` variable in Python source files that commonly contain it (e.g. `__init__.py`, `__about__.py`, `_version.py`) matches the version being published." author = "szymon.gula@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/108" +component = "std" [[entries]] id = "c0579eb5-e326-42dc-b50c-f9f3439163ee" @@ -20,6 +29,7 @@ type = "fix" description = "Fix: Python development versions are now released as `.post0.devN` instead of `.devN`, to order them behind the tag they're based on." author = "@j-baker" pr = "https://github.com/kraken-build/kraken-std/pull/98" +component = "std" [[entries]] id = "eb334a1d-dfe5-427b-b791-7b5b43be9f1b" @@ -27,6 +37,7 @@ type = "feature" description = "Support python mono repositories by updating local dependencies with release version" author = "fabio.baravalle@gmail.com" pr = "https://github.com/kraken-build/kraken-std/pull/113" +component = "std" [[entries]] id = "3abfd80c-20a5-4455-bb64-a33ed5209fac" @@ -34,6 +45,7 @@ type = "improvement" description = "Added a copyright task for calling pyaddlicense" author = "michael.coward@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/114" +component = "std" [[entries]] id = "62e53bc6-46fe-44ef-a7ed-6f91c8a8f11a" @@ -41,6 +53,7 @@ type = "improvement" description = "Add a `cargoDeny` task" author = "trinquier.nico@gmail.com" pr = "https://github.com/kraken-build/kraken-std/pull/118" +component = "std" [[entries]] id = "62e53bc6-46fe-44ef-a7ed-6f91c8a8f11b" @@ -48,3 +61,4 @@ type = "improvement" description = "Add a config file param to the `cargoDeny` task" author = "trinquier.nico@gmail.com" pr = "https://github.com/kraken-build/kraken-std/pull/119" +component = "std" diff --git a/kraken-core/.changelog/0.7.1.toml b/kraken-build/.changelog/0.7.1.toml similarity index 93% rename from kraken-core/.changelog/0.7.1.toml rename to kraken-build/.changelog/0.7.1.toml index 9846de4c..db5391fd 100644 --- a/kraken-core/.changelog/0.7.1.toml +++ b/kraken-build/.changelog/0.7.1.toml @@ -8,3 +8,4 @@ author = "@NiklasRosenstein" issues = [ "https://github.com/kraken-build/kraken-core/issues/4", ] +component = "core" diff --git a/kraken-core/.changelog/0.7.2.toml b/kraken-build/.changelog/0.7.2.toml similarity index 94% rename from kraken-core/.changelog/0.7.2.toml rename to kraken-build/.changelog/0.7.2.toml index be962080..a8a4e86a 100644 --- a/kraken-core/.changelog/0.7.2.toml +++ b/kraken-build/.changelog/0.7.2.toml @@ -5,9 +5,11 @@ id = "ae31b052-0981-492c-a097-1afea19fbd1f" type = "deprecation" description = "Deprecate `Task.capture` and `Project.do(capture)` with warnings" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "7b58b52c-2daa-4c9c-b248-f4b69e3d95ec" type = "fix" description = "The task graph now keeps track of tasks that return `TaskStatusType.STARTED` and will reset their status when the graph targets are set (`TaskGraph.set_target()`) which is usually after the TaskGraph was deserialized. This will ensure that background tasks are run again if another task that has not yet run is executed in a resumed execution." author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.7.3.toml b/kraken-build/.changelog/0.7.3.toml similarity index 92% rename from kraken-core/.changelog/0.7.3.toml rename to kraken-build/.changelog/0.7.3.toml index e9d769cd..c8df4f1d 100644 --- a/kraken-core/.changelog/0.7.3.toml +++ b/kraken-build/.changelog/0.7.3.toml @@ -5,9 +5,11 @@ id = "a23c4230-e8b6-42b3-bb9c-6dcdfbe946c7" type = "feature" description = "add `TaskGraph.tasks(pending)` parameter" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "4f739a01-d9b3-4f2a-aadf-55c678641f2a" type = "fix" description = "`TaskGraph.set_status()` now correctly resets the required background tasks of all _pending_ tasks, not just the immediate build targets" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.7.4.toml b/kraken-build/.changelog/0.7.4.toml similarity index 90% rename from kraken-core/.changelog/0.7.4.toml rename to kraken-build/.changelog/0.7.4.toml index d9483c78..e8c4032a 100644 --- a/kraken-core/.changelog/0.7.4.toml +++ b/kraken-build/.changelog/0.7.4.toml @@ -5,15 +5,18 @@ id = "a7b5441c-3048-43c7-b547-a2cda371fccf" type = "improvement" description = "Add `Project.group(default)` parameter and mark the groups `lint` and `test` as default." author = "@NiklasRosenstein" +component = "core" [[entries]] id = "38db4964-3fec-42ca-a331-66461b7476a3" type = "breaking change" description = "`Task.default` is now disabled by default" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "138393e7-f504-4e62-b80b-dcaddac58b18" type = "feature" description = "Add `Task.get_description()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.7.5.toml b/kraken-build/.changelog/0.7.5.toml similarity index 94% rename from kraken-core/.changelog/0.7.5.toml rename to kraken-build/.changelog/0.7.5.toml index fceab1ee..8b031240 100644 --- a/kraken-core/.changelog/0.7.5.toml +++ b/kraken-build/.changelog/0.7.5.toml @@ -5,15 +5,18 @@ id = "51093178-3eb5-42a8-a08a-482f3442d7f3" type = "improvement" description = "Fix a potential error when a bad value is passed to `Property.default()` on construction of the object where it cannot be properly formatted as a string yet because some attributes may not be set; `Property.__repr__()` now catches an exception of formatting it's owner" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "08cb456c-2355-4861-b281-5dc9e54a06e2" type = "fix" description = "In the previous version, the default groups `lint` and `test` should have been marked as default tasks. They are now" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "1a2b9ead-f48b-406e-ad10-15b72fa98d3a" type = "improvement" description = "`TaskGraph.set_targets()` now longer treats group tasks special; this allows `TaskGroup.tasks(targets_only=True)` to return the group tasks that were originally passed into `set_targets()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.8.0.toml b/kraken-build/.changelog/0.8.0.toml similarity index 51% rename from kraken-core/.changelog/0.8.0.toml rename to kraken-build/.changelog/0.8.0.toml index 1a13b8b4..d9981881 100644 --- a/kraken-core/.changelog/0.8.0.toml +++ b/kraken-build/.changelog/0.8.0.toml @@ -5,3 +5,12 @@ id = "cab3bb7b-cfca-4f93-b262-7d49be6067d0" type = "breaking change" description = "large refactor of the `kraken-core` module, now comes with the cli and utils and a task library, remove `kraken.api` and vendor most dependencies" author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "497966ba-13ed-4545-8e2b-9a48c40e6f47" +type = "improvement" +description = "Updated .gitignore task to accept configurable parameters" +author = "luke.bax@talktalk.net" +pr = "https://github.com/kraken-build/kraken-std/pull/122" +component = "std" diff --git a/kraken-std/.changelog/0.8.1.toml b/kraken-build/.changelog/0.8.1.toml similarity index 93% rename from kraken-std/.changelog/0.8.1.toml rename to kraken-build/.changelog/0.8.1.toml index bd8413c3..b872e06b 100644 --- a/kraken-std/.changelog/0.8.1.toml +++ b/kraken-build/.changelog/0.8.1.toml @@ -6,3 +6,4 @@ type = "improvement" description = "Bump versions for build dependencies" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/126" +component = "std" diff --git a/kraken-std/.changelog/0.8.10.toml b/kraken-build/.changelog/0.8.10.toml similarity index 65% rename from kraken-std/.changelog/0.8.10.toml rename to kraken-build/.changelog/0.8.10.toml index 37a9f533..aa349e68 100644 --- a/kraken-std/.changelog/0.8.10.toml +++ b/kraken-build/.changelog/0.8.10.toml @@ -1,4 +1,18 @@ -release-date = "2023-05-09" +release-date = "2022-08-12" + +[[entries]] +id = "5f0a1c70-cbae-4f65-ae49-1d1e377d0c6d" +type = "breaking change" +description = "remove unused `kraken.core.__main__`" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "ba132f16-6e48-4c6f-a01e-4c818f879d87" +type = "fix" +description = "fix `NameError` in `kraken query describe`" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "796e0584-b400-475d-a8cf-bd0eb4637dc9" @@ -6,6 +20,7 @@ type = "feature" description = "Make descriptions less verbose" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/143" +component = "std" [[entries]] id = "2e71f17e-50ef-4c49-9130-09ee7a3db66f" @@ -13,6 +28,7 @@ type = "improvement" description = "Always reinstall Maturin build on python.install" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/140" +component = "std" [[entries]] id = "046c599e-ae05-45b4-9f6b-2899a4e8e927" @@ -20,6 +36,7 @@ type = "feature" description = "Rust: adds a task to install Rustup targets" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/144" +component = "std" [[entries]] id = "53221f14-bf40-4ce8-b657-4b522d45c725" @@ -27,3 +44,4 @@ type = "feature" description = "Maturin: adds tooling for cross-compilation using zig" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/145" +component = "std" diff --git a/kraken-std/.changelog/0.8.11.toml b/kraken-build/.changelog/0.8.11.toml similarity index 63% rename from kraken-std/.changelog/0.8.11.toml rename to kraken-build/.changelog/0.8.11.toml index f0437bb1..068cb8d1 100644 --- a/kraken-std/.changelog/0.8.11.toml +++ b/kraken-build/.changelog/0.8.11.toml @@ -1,4 +1,11 @@ -release-date = "2023-05-10" +release-date = "2022-08-13" + +[[entries]] +id = "3fe0ffbe-5748-4d7a-be49-153a84118501" +type = "fix" +description = "Fix resuming from a build state when it contains objects from a module in the `# :: pythonpath` specified in the build script, and fix resuming from multiple build states." +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "29a1ace5-d12c-4094-83da-965078257c39" @@ -6,6 +13,7 @@ type = "improvement" description = "Add linting + inplace formatting for protobuf projects" author = "mohamed.shire@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/148" +component = "std" [[entries]] id = "20a1bcd1-46e0-4818-96b5-05de8a131a64" @@ -13,6 +21,7 @@ type = "feature" description = "Maturin now supports RUSTFLAGS, non-manylinux wheels" author = "james.baker@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/150" +component = "std" [[entries]] id = "d54734fc-e876-482f-b664-29abf6dee83a" @@ -20,3 +29,4 @@ type = "fix" description = "Maturin cross-compilation: use poetry run" author = "@Tpt" pr = "https://github.com/kraken-build/kraken-std/pull/147" +component = "std" diff --git a/kraken-build/.changelog/0.8.2.toml b/kraken-build/.changelog/0.8.2.toml new file mode 100644 index 00000000..4290f486 --- /dev/null +++ b/kraken-build/.changelog/0.8.2.toml @@ -0,0 +1,16 @@ +release-date = "2022-08-12" + +[[entries]] +id = "4e071b99-e3af-4f38-b3b2-a0af1aaf51ab" +type = "fix" +description = "No longer vendor `dill` package, if we try to use the vendored version we get weird pickle issues" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "27e538f2-d6de-4e8a-bf57-557cc4bf6cd1" +type = "hygiene" +description = "Removed backup to .gitignore.old file" +author = "luke.baxter" +pr = "https://github.com/kraken-build/kraken-std/pull/124" +component = "std" diff --git a/kraken-std/.changelog/0.8.3.toml b/kraken-build/.changelog/0.8.3.toml similarity index 72% rename from kraken-std/.changelog/0.8.3.toml rename to kraken-build/.changelog/0.8.3.toml index 162b7eb8..20521b42 100644 --- a/kraken-std/.changelog/0.8.3.toml +++ b/kraken-build/.changelog/0.8.3.toml @@ -1,4 +1,11 @@ -release-date = "2023-04-05" +release-date = "2022-08-12" + +[[entries]] +id = "3b12f4c8-b9fa-4aa0-847c-6d70153fcc2a" +type = "fix" +description = "fix `kraken.test`" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "940b9f50-92a5-4873-bf60-dbf0124781d5" @@ -6,6 +13,7 @@ type = "improvement" description = "Make cargo_deny accept Any kwargs" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/123" +component = "std" [[entries]] id = "999676c8-fa07-4d17-8079-e692ba3ce4fd" @@ -13,3 +21,4 @@ type = "fix" description = "Fixed a bug where the `PoetryBuildSystem` would update the `__version__` of source files that are not owned by the current project (for example, in virtual environments)." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-std/pull/127" +component = "std" diff --git a/kraken-std/.changelog/0.8.4.toml b/kraken-build/.changelog/0.8.4.toml similarity index 82% rename from kraken-std/.changelog/0.8.4.toml rename to kraken-build/.changelog/0.8.4.toml index 79b0cf21..37e7e06e 100644 --- a/kraken-std/.changelog/0.8.4.toml +++ b/kraken-build/.changelog/0.8.4.toml @@ -1,4 +1,11 @@ -release-date = "2023-04-12" +release-date = "2022-08-12" + +[[entries]] +id = "83ba2ff3-1a51-4bd1-904b-e3c2d28c632a" +type = "fix" +description = "fix kraken_project() again" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "2fbbfba9-afec-458e-a77c-ac830e8ca54a" @@ -6,6 +13,7 @@ type = "improvement" description = "Add cargo_deny to public docs" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/130" +component = "std" [[entries]] id = "2fbbfba9-afec-458e-a77c-ac830e8ca54b" @@ -13,6 +21,7 @@ type = "improvement" description = "Add docs for cargo_deny" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/129" +component = "std" [[entries]] id = "00f364a5-e0a3-47d8-bec4-3425e71ae63b" @@ -20,6 +29,7 @@ type = "improvement" description = "Fix current working directory for cargo_deny" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/131" +component = "std" [[entries]] id = "bde2dcc8-6d87-4274-b2d3-438370c93d79" @@ -27,6 +37,7 @@ type = "fix" description = "Rust build directory is taken from cargo-metadata instead of guessing it" author = "daladim@users.noreply.github.com" pr = "https://github.com/kraken-build/kraken-std/pull/133" +component = "std" [[entries]] id = "76aa3f76-06c8-4144-93ed-49bc759204f7" @@ -34,6 +45,7 @@ type = "fix" description = "Remove non-existing libraries as output of CargoBuild task" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/134" +component = "std" [[entries]] id = "18ba99cd-ed86-4c2c-9b84-b606c7396c43" @@ -41,3 +53,4 @@ type = "improvement" description = "Support for corporate MITM filtering proxies" author = "daladim@users.noreply.github.com" pr = "https://github.com/kraken-build/kraken-std/pull/132" +component = "std" diff --git a/kraken-std/.changelog/0.8.5.toml b/kraken-build/.changelog/0.8.5.toml similarity index 83% rename from kraken-std/.changelog/0.8.5.toml rename to kraken-build/.changelog/0.8.5.toml index 2fdba378..4a964d83 100644 --- a/kraken-std/.changelog/0.8.5.toml +++ b/kraken-build/.changelog/0.8.5.toml @@ -1,4 +1,11 @@ -release-date = "2023-04-19" +release-date = "2022-08-12" + +[[entries]] +id = "3f35cf6a-ab29-48d1-ba6e-e7599d87775b" +type = "fix" +description = "another fix for `kraken.test` ~.~" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "3eb35092-4cf3-4a0c-9a67-bb5635d64928" @@ -6,6 +13,7 @@ type = "improvement" description = "Added linter to ensure our own http module is used" author = "daladim@users.noreply.github.com" pr = "https://github.com/kraken-build/kraken-std/pull/135" +component = "std" [[entries]] id = "f4803a58-a98c-4d94-aa25-4e33917e28f6" @@ -13,6 +21,7 @@ type = "fix" description = "Fixed a bug where the preprocessed Dockerfile for Kaniko would attempt to establish the `/run/secrets` symlink for every `RUN` command, even if that command was not run by the root user. In this case, the `RUN` command would fail as the permission to create the symlink are missing. We now employ a heuristic to determine if a `RUN` command would be run as the `root` user, and if that is not the case we do not add the setup and teardown suffix around the `RUN` command. Note that this means `RUN` commands that do not run as root can not read secrets from `/run/secrets` (the standard Docker secrets interface) but only from `/kaniko/secrets`." author = "@NiklasRosenstein" pr = "https://github.com/kraken-build/kraken-std/pull/137" +component = "std" [[entries]] id = "c66b5644-054e-4385-8b7f-b020e1a49be8" @@ -20,3 +29,4 @@ type = "improvement" description = "Add Python info task" author = "cecile.allano@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/136" +component = "std" diff --git a/kraken-std/.changelog/0.8.6.toml b/kraken-build/.changelog/0.8.6.toml similarity index 55% rename from kraken-std/.changelog/0.8.6.toml rename to kraken-build/.changelog/0.8.6.toml index bb0e01b4..ec882f75 100644 --- a/kraken-std/.changelog/0.8.6.toml +++ b/kraken-build/.changelog/0.8.6.toml @@ -1,4 +1,11 @@ -release-date = "2023-04-21" +release-date = "2022-08-12" + +[[entries]] +id = "dd9ef294-02ef-4a5b-bac7-abb1d17dba5a" +type = "feature" +description = "add `kraken.util.krakenw` module" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "5ddaac36-f82b-4f35-a907-45a4263ab270" @@ -6,3 +13,4 @@ type = "feature" description = "Support python mono repositories by updating local dependencies with release version" author = "fabio.baravalle@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/138" +component = "std" diff --git a/kraken-core/.changelog/0.8.7.toml b/kraken-build/.changelog/0.8.7.toml similarity index 91% rename from kraken-core/.changelog/0.8.7.toml rename to kraken-build/.changelog/0.8.7.toml index 50d5d99a..fce6d1e3 100644 --- a/kraken-core/.changelog/0.8.7.toml +++ b/kraken-build/.changelog/0.8.7.toml @@ -5,3 +5,4 @@ id = "f7de5f63-5227-4451-bab8-01ac069966e4" type = "improvement" description = "update RenderFileTask and add CheckFileContentsTsak" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-std/.changelog/0.8.8.toml b/kraken-build/.changelog/0.8.8.toml similarity index 50% rename from kraken-std/.changelog/0.8.8.toml rename to kraken-build/.changelog/0.8.8.toml index ae16f2a0..c589de64 100644 --- a/kraken-std/.changelog/0.8.8.toml +++ b/kraken-build/.changelog/0.8.8.toml @@ -1,4 +1,11 @@ -release-date = "2023-04-28" +release-date = "2022-08-12" + +[[entries]] +id = "17f93d74-ea19-4821-b0c5-576478c0a8e8" +type = "fix" +description = "fix missing import of VizOptions for `kraken q viz` command, fix CheckFileContentsTask" +author = "@NiklasRosenstein" +component = "core" [[entries]] id = "5d678e26-4a11-4e7a-b4d2-7a6700370e59" @@ -6,3 +13,4 @@ type = "feature" description = "Split `cargo_sqlx_migrate` into `cargo_publish_task` and `cargo_sqlx_prepare`" author = "nicolas.trinquier@helsing.ai" pr = "https://github.com/kraken-build/kraken-std/pull/141" +component = "std" diff --git a/kraken-build/.changelog/0.8.9.toml b/kraken-build/.changelog/0.8.9.toml new file mode 100644 index 00000000..0cf9fe4f --- /dev/null +++ b/kraken-build/.changelog/0.8.9.toml @@ -0,0 +1,16 @@ +release-date = "2022-08-12" + +[[entries]] +id = "ca29a41d-d7ba-4f2c-bbd1-7e86bdb10ca5" +type = "improvement" +description = "include message in successful CheckFileContentsTask execution" +author = "@NiklasRosenstein" +component = "core" + +[[entries]] +id = "539deb47-b243-47a2-bc94-42504ba97cd7" +type = "feature" +description = "Export `cargo_sqlx_prepare`" +author = "nicolas.trinquier@helsing.ai" +pr = "https://github.com/kraken-build/kraken-std/pull/142" +component = "std" diff --git a/kraken-core/.changelog/0.9.0.toml b/kraken-build/.changelog/0.9.0.toml similarity index 92% rename from kraken-core/.changelog/0.9.0.toml rename to kraken-build/.changelog/0.9.0.toml index e1b19385..53248a05 100644 --- a/kraken-core/.changelog/0.9.0.toml +++ b/kraken-build/.changelog/0.9.0.toml @@ -5,9 +5,11 @@ id = "d6916781-811c-4947-bb1e-60740d2c322e" type = "fix" description = "fix error when running `krakenw q` because we do not configure the `q` command with these options (close #5)" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "bc083e60-c645-4a77-85ea-72ef7c24a097" type = "breaking change" description = "remove vendored libraries again, consolidate packages under `kraken.core`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.9.1.toml b/kraken-build/.changelog/0.9.1.toml similarity index 90% rename from kraken-core/.changelog/0.9.1.toml rename to kraken-build/.changelog/0.9.1.toml index 408f23c9..14350afc 100644 --- a/kraken-core/.changelog/0.9.1.toml +++ b/kraken-build/.changelog/0.9.1.toml @@ -5,9 +5,11 @@ id = "ec8d4649-92c5-4f36-8401-af2f9025c34e" type = "fix" description = "pin networkx down to 2.6.x which is the last version with Py 3.7 compatibility" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "dfd371fb-27c4-449f-9a0c-06e6427bcf23" type = "feature" description = "add `RequirementSpec.replace()`" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.9.2.toml b/kraken-build/.changelog/0.9.2.toml similarity index 92% rename from kraken-core/.changelog/0.9.2.toml rename to kraken-build/.changelog/0.9.2.toml index 5272deda..7a2112bd 100644 --- a/kraken-core/.changelog/0.9.2.toml +++ b/kraken-build/.changelog/0.9.2.toml @@ -5,3 +5,4 @@ id = "8c20cd29-8ade-4859-91e8-5e5dc8182d49" type = "fix" description = "fix argument types for `render_file()` (now accepting suppliers instead of properties)" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.9.3.toml b/kraken-build/.changelog/0.9.3.toml similarity index 93% rename from kraken-core/.changelog/0.9.3.toml rename to kraken-build/.changelog/0.9.3.toml index 7af69e04..ca550c1c 100644 --- a/kraken-core/.changelog/0.9.3.toml +++ b/kraken-build/.changelog/0.9.3.toml @@ -5,15 +5,18 @@ id = "41708edf-66dc-4686-8bdc-acc5640e6031" type = "improvement" description = "remove `--no-save` option from `kraken query` commands, the build state will never be saved after these commands" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "ee29315b-26e7-42ca-8d92-31afab208cad" type = "improvement" description = "Task groups that depend on other task groups will not create an implicit dependency between the downstream group and the **tasks** in the downstream group and the downstream group. Added a concept of \"implicit\" edges to the `TaskGraph`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "f84f9107-4a62-49a3-8c20-ecfbdaeb3ae1" type = "feature" description = "added `kraken q v -R,--reduce` and `-r,--reduce-keep-explicit` options and `TaskGraph.reduce()` method" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.9.4.toml b/kraken-build/.changelog/0.9.4.toml similarity index 91% rename from kraken-core/.changelog/0.9.4.toml rename to kraken-build/.changelog/0.9.4.toml index 43b63321..1536c1c9 100644 --- a/kraken-core/.changelog/0.9.4.toml +++ b/kraken-build/.changelog/0.9.4.toml @@ -5,3 +5,4 @@ id = "a263a486-2bac-46dd-9b94-4e8b349e6146" type = "fix" description = "`RenderFileTask` now creates parent directories of the file to be rendered" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.9.5.toml b/kraken-build/.changelog/0.9.5.toml similarity index 92% rename from kraken-core/.changelog/0.9.5.toml rename to kraken-build/.changelog/0.9.5.toml index 3bcbb4df..6aa1a9e1 100644 --- a/kraken-core/.changelog/0.9.5.toml +++ b/kraken-build/.changelog/0.9.5.toml @@ -5,9 +5,11 @@ id = "e317e2d0-f9e8-4fd1-ac94-5963c66a8ecd" type = "tests" description = "add unit test for subclasses of `Object` that do not have annotations, this fails with `typeapi <= 0.2.1` in Python <=3.9. That is why we now require `typeapi ^0.2.2`" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "5114f5fd-3301-4743-ad65-1bd8b228de10" type = "improvement" description = "add task status message when `RenderFileTask` is up to date" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-core/.changelog/0.9.6.toml b/kraken-build/.changelog/0.9.6.toml similarity index 94% rename from kraken-core/.changelog/0.9.6.toml rename to kraken-build/.changelog/0.9.6.toml index c590c588..28e0041d 100644 --- a/kraken-core/.changelog/0.9.6.toml +++ b/kraken-build/.changelog/0.9.6.toml @@ -5,21 +5,25 @@ id = "1540bc19-c285-4bf6-a7e3-b0a065c7690e" type = "fix" description = "keep transitive dependencies intact when trimming the build graph" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "140ffe72-b88c-41e9-b690-9bd7e8dd841c" type = "refactor" description = "refactor `TaskGraph` class -- instead of managing multiple states in one class, the `TaskGraph` now only represents one state at a time but has a reference to its previous state via `TaskGraph.parent`. Some methods and parameters have been renamed and `Graph.get_task()` was added" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "c8ab9fbb-e4dd-4b9a-adff-e5cc48c3be82" type = "improvement" description = "add `-a,--all` option to the `kraken run` command and `kraken query` subcommands (viz already had it but the behaviour was slightly changed; we never show not selected tasks anymore)" author = "@NiklasRosenstein" +component = "core" [[entries]] id = "d6270306-547a-4b08-9509-00e8fe1624e4" type = "improvement" description = "add `-i,--inactive` option to `kraken query viz` command, this brings back showing inactive tasks that was previously happening with the `-a,--all` flag (but the purpose of the `-a,--all` flag was changed to select all tasks)" author = "@NiklasRosenstein" +component = "core" diff --git a/kraken-build/.changelog/_unreleased.toml b/kraken-build/.changelog/_unreleased.toml new file mode 100644 index 00000000..94b5da6b --- /dev/null +++ b/kraken-build/.changelog/_unreleased.toml @@ -0,0 +1,6 @@ +[[entries]] +id = "b883cb8f-a697-488e-868d-c09b2151af44" +type = "improvement" +description = "Merge `kraken-common`, `kraken-core`, `kraken-std` and `kraken-wrapper` packages into a single `kraken-build` package." +author = "@NiklasRosenstein" +pr = "https://github.com/kraken-build/kraken/pull/125" diff --git a/kraken-std/.kraken.py b/kraken-build/.kraken.py similarity index 91% rename from kraken-std/.kraken.py rename to kraken-build/.kraken.py index 7a96aea5..05c23dc3 100644 --- a/kraken-std/.kraken.py +++ b/kraken-build/.kraken.py @@ -9,16 +9,15 @@ import os from kraken.core import Project - from kraken.std import python from kraken.std.git import git_describe project = Project.current() -python.pyupgrade(additional_files=[__file__, project.directory / "examples"], python_version="3.10") +# python.pyupgrade(additional_files=[__file__], python_version="3.10") python.pycln() -python.black(additional_files=[__file__, project.directory / "examples"]) +python.black(additional_files=[__file__], additional_args=["--config", "pyproject.toml"]) python.flake8() -python.isort(additional_files=[__file__, project.directory / "examples"]) +python.isort(additional_files=[__file__]) python.mypy(additional_args=["--exclude", "src/tests/integration/.*/data/.*"]) python.pytest(ignore_dirs=["src/tests/integration"]) python.pytest( diff --git a/kraken-build/README.md b/kraken-build/README.md index 67a5b1fb..18fac6c7 100644 --- a/kraken-build/README.md +++ b/kraken-build/README.md @@ -1,6 +1,49 @@ # kraken-build - [0]: https://pypi.org/project/kraken-core/ - [1]: https://pypi.org/project/kraken-std/ +[![Python](https://github.com/kraken-build/kraken/actions/workflows/python.yaml/badge.svg)](https://github.com/kraken-build/kraken/actions/workflows/python.yaml) | +[![PyPI version](https://badge.fury.io/py/kraken-build.svg)](https://badge.fury.io/py/kraken-build) | +[Documentation](https://kraken-build.github.io/kraken/) -This is a placeholder package for [kraken-core][0] and [kraken-std][1]. +Kraken is (not) a build system. It's focus is on the orchestration of high-level tasks, such as organization of your +repository configuration, code generation, invoking other build systems, etc. It is not a replacement for tools like +Poetry, Cargo or CMake. + +__Requirements__ + +* CPython 3.10 [1] + +[1] Technically compatible with 3.10 and higher, but we can't use 3.11+ until +[Dill 0.3.8](https://github.com/uqfoundation/dill/issues/595) is released. + +## Getting started + + [Pipx]: https://pypa.github.io/pipx/ + +Currently, Kraken's OSS components are not very well documented and do not provide a convenient way to get started. +However, if you really want to try it, you can use the following steps: + +1. Install `kraken-build` (e.g. with [Pipx][]) to get access to the `krakenw` command-line tool. +2. Create a `.kraken.py` script in your project's root directory. + + ```py + from kraken.common import buildscript + buildscript(requirements=["kraken-build ^0.31.7"]) + + from kraken.std.python import mypy, black, isort + mypy() + black() + isort() + ``` +3. Run `krakenw lock` to install `kraken-build` for your project in `build/.kraken/venv` and generate a `kraken.lock` file. +4. Run `krakenw run lint` to run the linters. + +> Note that you can also use the `kraken` CLI (instead of `krakenw`), however this will disregard the `buildscript()` +> function, will not use the lock file and will use the version of Kraken that was installed globally. + +## How-to's + +### Upgrade a project's lock file + +To upgrade a project's lock file, run `krakenw lock --upgrade`. This will upgrade all dependencies to the latest +available version. If you want to upgrade based on updated constraints in `.kraken.py` without installing from scratch, +add the `--incremental` flag or set `KRAKENW_INCREMENTAL=1`. diff --git a/kraken-build/pyproject.toml b/kraken-build/pyproject.toml index 560e8e59..2b10a285 100644 --- a/kraken-build/pyproject.toml +++ b/kraken-build/pyproject.toml @@ -1,17 +1,25 @@ [build-system] -requires = ["poetry-core"] build-backend = "poetry.core.masonry.api" +requires = ["poetry-core"] + +# Package metadata +# ---------------- [tool.poetry] -name = "kraken-build" -version = "0.31.7" -description = "" authors = ["Niklas Rosenstein "] -license = "MIT" -readme = "README.md" -packages = [{ include = "kraken/build", from = "src" }] classifiers = [] +description = "" keywords = [] +license = "MIT" +name = "kraken-build" +packages = [ + {include = "kraken/common", from = "src"}, + {include = "kraken/core", from = "src"}, + {include = "kraken/std", from = "src"}, + {include = "kraken/wrapper", from = "src"}, +] +readme = "README.md" +version = "0.31.7" [tool.poetry.urls] "Bug Tracker" = "https://github.com/kraken-build/kraken-build/issues" @@ -19,8 +27,120 @@ Documentation = "https://kraken-build.github.io/kraken-build/" Homepage = "https://kraken-build.github.io/kraken-build/" Repository = "https://github.com/kraken-build/kraken-build/" +[tool.poetry.scripts] +kraken = "kraken.core.cli.main:main" +krakenw = "kraken.wrapper.main:main" + +[tool.poetry.plugins."pytest11"] +"kraken.core.testing" = "kraken.core.testing" + +# Dependencies +# ------------ + [tool.poetry.dependencies] -python = "^3.7" +builddsl = "^1.0.0" +databind-json = "^4.2.5" +dataclasses = {version = "^0.6", python = "<3.7"} +deprecated = "^1.2.13" +dill = ">=0.3.5,<0.3.6" # Waiting for Dill 0.3.7 for 3.11 compatibiltiy, see https://github.com/uqfoundation/dill/issues/332 +httpx = "^0.23.0" +keyring = "^23.8.2" +mitmproxy = "^9.0.1" +networkx = "^3.1" +nr-io-graphviz = "^0.1.1" +nr-stream = "^1.1.0" +packaging = "^23.1" +pex = "^2.1.103" +python = ">=3.10,<3.11" # ">=3.10,<4.0" | Can't use 3.11+ because Dill 0.3.8 is not released yet +rich = "^13.4.2" +setuptools = ">=33.0.0" # For pkg_resources +termcolor = "^1.1.0" +tomli = "^2.0.1" +tomli-w = "^1.0.0" +twine = "^4.0.1" +typeapi = "^1.4.3" +typing-extensions = ">=4.6.0" + +# # NOTE(@NiklasRosenstein): Need to pin transitive dependency markdown-it under 3.0 because it dropped Python 3.9 +# # support after that version. Technically this shouldn't be a big issue for runtime, but Mypy checks site +# # packages and complains about the walrus operator used in it when it checks site-packages. +# # See also https://github.com/python/mypy/issues/12162 +# markdown-it-py = "<3.0.0" + +[tool.poetry.dev-dependencies] +black = "^23.10.1" +flake8 = "^6.1.0" +isort = "^5.12.0" +localimport = "^1.7.6" +mypy = "^1.6.1" +pyartifactory = "^1.10.0" +pycln = "^2.1.3" +pylint = "^3.0.2" +pytest = ">=6.0.0" +pyupgrade = "^3.15.0" +types-Deprecated = "^1.2.9" +types-requests = "^2.28.0" +types-setuptools = "^57.4.18" +types-termcolor = "^1.1.5" + +[tool.poetry.group.docs.dependencies] +mkdocs = "*" +mkdocs-material = "*" +novella = "0.2.3" +pydoc-markdown = "^4.6.0" + +# Slap configuration +# ------------------ + +[tool.slap] +typed = true [tool.slap.test] -check = "slap check" +black = "black --check src/ tests/" +check = "slap check" +flake8 = "flake8 src/ tests/" +isort = "isort --check-only src/ tests/" +mypy = "dmypy run src/" +pytest = "pytest tests/ -vv" + +[tool.slap.run] +fmt = "black src/ tests/ && isort src/ tests/ && pycln src/ tests/" + +# Linter/Formatter configuration +# ------------------------------ + +[tool.mypy] +explicit_package_bases = true +mypy_path = ["src"] +namespace_packages = true +pretty = true +python_version = "3.10" +show_error_codes = true +show_error_context = true +strict = true +warn_no_return = true +warn_redundant_casts = true +warn_unreachable = true +warn_unused_ignores = true + +[[tool.mypy.overrides]] +ignore_missing_imports = true +module = "pex.*" + +[[tool.mypy.overrides]] +ignore_errors = true +ignore_missing_imports = true +module = "networkx.*" + +[tool.isort] +combine_as_imports = true +line_length = 120 +profile = "black" + +[tool.black] +line-length = 120 + +[tool.pytest.ini_options] +markers = [ + "integration", +] diff --git a/kraken-common/src/kraken/common/__init__.py b/kraken-build/src/kraken/common/__init__.py similarity index 100% rename from kraken-common/src/kraken/common/__init__.py rename to kraken-build/src/kraken/common/__init__.py diff --git a/kraken-common/src/kraken/common/_argparse.py b/kraken-build/src/kraken/common/_argparse.py similarity index 100% rename from kraken-common/src/kraken/common/_argparse.py rename to kraken-build/src/kraken/common/_argparse.py diff --git a/kraken-common/src/kraken/common/_asciitable.py b/kraken-build/src/kraken/common/_asciitable.py similarity index 100% rename from kraken-common/src/kraken/common/_asciitable.py rename to kraken-build/src/kraken/common/_asciitable.py diff --git a/kraken-common/src/kraken/common/_auth.py b/kraken-build/src/kraken/common/_auth.py similarity index 100% rename from kraken-common/src/kraken/common/_auth.py rename to kraken-build/src/kraken/common/_auth.py diff --git a/kraken-common/src/kraken/common/_buildscript.py b/kraken-build/src/kraken/common/_buildscript.py similarity index 100% rename from kraken-common/src/kraken/common/_buildscript.py rename to kraken-build/src/kraken/common/_buildscript.py diff --git a/kraken-common/src/kraken/common/_buildscript_test.py b/kraken-build/src/kraken/common/_buildscript_test.py similarity index 100% rename from kraken-common/src/kraken/common/_buildscript_test.py rename to kraken-build/src/kraken/common/_buildscript_test.py diff --git a/kraken-common/src/kraken/common/_date.py b/kraken-build/src/kraken/common/_date.py similarity index 100% rename from kraken-common/src/kraken/common/_date.py rename to kraken-build/src/kraken/common/_date.py diff --git a/kraken-common/src/kraken/common/_date_test.py b/kraken-build/src/kraken/common/_date_test.py similarity index 100% rename from kraken-common/src/kraken/common/_date_test.py rename to kraken-build/src/kraken/common/_date_test.py diff --git a/kraken-common/src/kraken/common/_environment.py b/kraken-build/src/kraken/common/_environment.py similarity index 100% rename from kraken-common/src/kraken/common/_environment.py rename to kraken-build/src/kraken/common/_environment.py diff --git a/kraken-common/src/kraken/common/_fs.py b/kraken-build/src/kraken/common/_fs.py similarity index 100% rename from kraken-common/src/kraken/common/_fs.py rename to kraken-build/src/kraken/common/_fs.py diff --git a/kraken-common/src/kraken/common/_generic.py b/kraken-build/src/kraken/common/_generic.py similarity index 100% rename from kraken-common/src/kraken/common/_generic.py rename to kraken-build/src/kraken/common/_generic.py diff --git a/kraken-common/src/kraken/common/_importlib.py b/kraken-build/src/kraken/common/_importlib.py similarity index 100% rename from kraken-common/src/kraken/common/_importlib.py rename to kraken-build/src/kraken/common/_importlib.py diff --git a/kraken-common/src/kraken/common/_option_sets.py b/kraken-build/src/kraken/common/_option_sets.py similarity index 100% rename from kraken-common/src/kraken/common/_option_sets.py rename to kraken-build/src/kraken/common/_option_sets.py diff --git a/kraken-common/src/kraken/common/_requirements.py b/kraken-build/src/kraken/common/_requirements.py similarity index 100% rename from kraken-common/src/kraken/common/_requirements.py rename to kraken-build/src/kraken/common/_requirements.py diff --git a/kraken-common/src/kraken/common/_requirements_test.py b/kraken-build/src/kraken/common/_requirements_test.py similarity index 100% rename from kraken-common/src/kraken/common/_requirements_test.py rename to kraken-build/src/kraken/common/_requirements_test.py diff --git a/kraken-common/src/kraken/common/_runner.py b/kraken-build/src/kraken/common/_runner.py similarity index 100% rename from kraken-common/src/kraken/common/_runner.py rename to kraken-build/src/kraken/common/_runner.py diff --git a/kraken-common/src/kraken/common/_runner_test.py b/kraken-build/src/kraken/common/_runner_test.py similarity index 100% rename from kraken-common/src/kraken/common/_runner_test.py rename to kraken-build/src/kraken/common/_runner_test.py diff --git a/kraken-common/src/kraken/common/_terminal.py b/kraken-build/src/kraken/common/_terminal.py similarity index 100% rename from kraken-common/src/kraken/common/_terminal.py rename to kraken-build/src/kraken/common/_terminal.py diff --git a/kraken-common/src/kraken/common/_text.py b/kraken-build/src/kraken/common/_text.py similarity index 100% rename from kraken-common/src/kraken/common/_text.py rename to kraken-build/src/kraken/common/_text.py diff --git a/kraken-common/src/kraken/common/_text_test.py b/kraken-build/src/kraken/common/_text_test.py similarity index 100% rename from kraken-common/src/kraken/common/_text_test.py rename to kraken-build/src/kraken/common/_text_test.py diff --git a/kraken-common/src/kraken/common/_tomlconfig.py b/kraken-build/src/kraken/common/_tomlconfig.py similarity index 100% rename from kraken-common/src/kraken/common/_tomlconfig.py rename to kraken-build/src/kraken/common/_tomlconfig.py diff --git a/kraken-common/src/kraken/common/_tomlconfig_test.py b/kraken-build/src/kraken/common/_tomlconfig_test.py similarity index 100% rename from kraken-common/src/kraken/common/_tomlconfig_test.py rename to kraken-build/src/kraken/common/_tomlconfig_test.py diff --git a/kraken-common/src/kraken/common/exceptions.py b/kraken-build/src/kraken/common/exceptions.py similarity index 100% rename from kraken-common/src/kraken/common/exceptions.py rename to kraken-build/src/kraken/common/exceptions.py diff --git a/kraken-common/src/kraken/common/findpython.py b/kraken-build/src/kraken/common/findpython.py similarity index 100% rename from kraken-common/src/kraken/common/findpython.py rename to kraken-build/src/kraken/common/findpython.py diff --git a/kraken-common/src/kraken/common/http/__init__.py b/kraken-build/src/kraken/common/http/__init__.py similarity index 100% rename from kraken-common/src/kraken/common/http/__init__.py rename to kraken-build/src/kraken/common/http/__init__.py diff --git a/kraken-common/src/kraken/common/http/lint_ban_bare_requests.py b/kraken-build/src/kraken/common/http/lint_ban_bare_requests.py similarity index 100% rename from kraken-common/src/kraken/common/http/lint_ban_bare_requests.py rename to kraken-build/src/kraken/common/http/lint_ban_bare_requests.py diff --git a/kraken-common/src/kraken/common/path.py b/kraken-build/src/kraken/common/path.py similarity index 100% rename from kraken-common/src/kraken/common/path.py rename to kraken-build/src/kraken/common/path.py diff --git a/kraken-std/src/kraken/std/docker/py.typed b/kraken-build/src/kraken/common/py.typed similarity index 100% rename from kraken-std/src/kraken/std/docker/py.typed rename to kraken-build/src/kraken/common/py.typed diff --git a/kraken-common/src/kraken/common/pyenv/__init__.py b/kraken-build/src/kraken/common/pyenv/__init__.py similarity index 100% rename from kraken-common/src/kraken/common/pyenv/__init__.py rename to kraken-build/src/kraken/common/pyenv/__init__.py diff --git a/kraken-common/src/kraken/common/pyenv/_distributions.py b/kraken-build/src/kraken/common/pyenv/_distributions.py similarity index 100% rename from kraken-common/src/kraken/common/pyenv/_distributions.py rename to kraken-build/src/kraken/common/pyenv/_distributions.py diff --git a/kraken-common/src/kraken/common/pyenv/_virtualenv.py b/kraken-build/src/kraken/common/pyenv/_virtualenv.py similarity index 100% rename from kraken-common/src/kraken/common/pyenv/_virtualenv.py rename to kraken-build/src/kraken/common/pyenv/_virtualenv.py diff --git a/kraken-common/src/kraken/common/strings.py b/kraken-build/src/kraken/common/strings.py similarity index 100% rename from kraken-common/src/kraken/common/strings.py rename to kraken-build/src/kraken/common/strings.py diff --git a/kraken-common/src/kraken/common/supplier.py b/kraken-build/src/kraken/common/supplier.py similarity index 100% rename from kraken-common/src/kraken/common/supplier.py rename to kraken-build/src/kraken/common/supplier.py diff --git a/kraken-core/src/kraken/core/__init__.py b/kraken-build/src/kraken/core/__init__.py similarity index 100% rename from kraken-core/src/kraken/core/__init__.py rename to kraken-build/src/kraken/core/__init__.py diff --git a/kraken-core/src/kraken/core/address/__init__.py b/kraken-build/src/kraken/core/address/__init__.py similarity index 100% rename from kraken-core/src/kraken/core/address/__init__.py rename to kraken-build/src/kraken/core/address/__init__.py diff --git a/kraken-core/src/kraken/core/address/_address.py b/kraken-build/src/kraken/core/address/_address.py similarity index 100% rename from kraken-core/src/kraken/core/address/_address.py rename to kraken-build/src/kraken/core/address/_address.py diff --git a/kraken-core/src/kraken/core/address/_address_resolver.py b/kraken-build/src/kraken/core/address/_address_resolver.py similarity index 98% rename from kraken-core/src/kraken/core/address/_address_resolver.py rename to kraken-build/src/kraken/core/address/_address_resolver.py index 18d42b74..cda44fed 100644 --- a/kraken-core/src/kraken/core/address/_address_resolver.py +++ b/kraken-build/src/kraken/core/address/_address_resolver.py @@ -191,7 +191,7 @@ def resolve_address( When an address cannot be resolved, you get an #AddressResolutionError. - >>> resolve_address(space, root, Address("d")) + >>> resolve_address(space, root, Address("d")) # doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): kraken.core.address._address_resolver.AddressResolutionError: Could not resolve address 'd' in context \ ':'. The failure occurred at address ':' trying to resolve the remainder 'd'. The address ':d' does not exist. @@ -200,7 +200,7 @@ def resolve_address( >>> list(resolve_address(space, root, Address("**:c")).matches()) [Node(address=Address(':c'))] - >>> resolve_address(space, root, Address("**:d")) + >>> resolve_address(space, root, Address("**:d")) # doctest: +IGNORE_EXCEPTION_DETAIL Traceback (most recent call last): kraken.core.address._address_resolver.AddressResolutionError: Could not resolve address '**:d' in context \ ':'. The failure occurred at address ':' trying to resolve the remainder '**:d'. The address ':**:d' does not exist. diff --git a/kraken-core/src/kraken/core/address/_address_resolver_test.py b/kraken-build/src/kraken/core/address/_address_resolver_test.py similarity index 100% rename from kraken-core/src/kraken/core/address/_address_resolver_test.py rename to kraken-build/src/kraken/core/address/_address_resolver_test.py diff --git a/kraken-core/src/kraken/core/address/_address_test.py b/kraken-build/src/kraken/core/address/_address_test.py similarity index 99% rename from kraken-core/src/kraken/core/address/_address_test.py rename to kraken-build/src/kraken/core/address/_address_test.py index e7969be9..a64e0214 100644 --- a/kraken-core/src/kraken/core/address/_address_test.py +++ b/kraken-build/src/kraken/core/address/_address_test.py @@ -1,6 +1,6 @@ from __future__ import annotations -import dill # type: ignore[import] +import dill # type: ignore[import-untyped] from pytest import raises from kraken.core.address import Address diff --git a/kraken-core/src/kraken/core/address/_addressable.py b/kraken-build/src/kraken/core/address/_addressable.py similarity index 100% rename from kraken-core/src/kraken/core/address/_addressable.py rename to kraken-build/src/kraken/core/address/_addressable.py diff --git a/kraken-core/src/kraken/core/base/__init__.py b/kraken-build/src/kraken/core/base/__init__.py similarity index 100% rename from kraken-core/src/kraken/core/base/__init__.py rename to kraken-build/src/kraken/core/base/__init__.py diff --git a/kraken-core/src/kraken/core/base/currentable.py b/kraken-build/src/kraken/core/base/currentable.py similarity index 100% rename from kraken-core/src/kraken/core/base/currentable.py rename to kraken-build/src/kraken/core/base/currentable.py diff --git a/kraken-core/src/kraken/core/base/metadata.py b/kraken-build/src/kraken/core/base/metadata.py similarity index 100% rename from kraken-core/src/kraken/core/base/metadata.py rename to kraken-build/src/kraken/core/base/metadata.py diff --git a/kraken-core/src/kraken/core/cli/executor.py b/kraken-build/src/kraken/core/cli/executor.py similarity index 100% rename from kraken-core/src/kraken/core/cli/executor.py rename to kraken-build/src/kraken/core/cli/executor.py diff --git a/kraken-core/src/kraken/core/cli/executor_test.py b/kraken-build/src/kraken/core/cli/executor_test.py similarity index 100% rename from kraken-core/src/kraken/core/cli/executor_test.py rename to kraken-build/src/kraken/core/cli/executor_test.py diff --git a/kraken-core/src/kraken/core/cli/main.py b/kraken-build/src/kraken/core/cli/main.py similarity index 100% rename from kraken-core/src/kraken/core/cli/main.py rename to kraken-build/src/kraken/core/cli/main.py index 244c1505..7be213f2 100644 --- a/kraken-core/src/kraken/core/cli/main.py +++ b/kraken-build/src/kraken/core/cli/main.py @@ -14,6 +14,10 @@ from pathlib import Path from typing import Any, NoReturn +from nr.io.graphviz.render import render_to_browser +from nr.io.graphviz.writer import GraphvizWriter +from termcolor import colored + from kraken.common import ( BuildscriptMetadata, CurrentDirectoryProjectFinder, @@ -25,10 +29,6 @@ propagate_argparse_formatter_to_subparser, ) from kraken.common.pyenv import get_distributions -from nr.io.graphviz.render import render_to_browser -from nr.io.graphviz.writer import GraphvizWriter -from termcolor import colored - from kraken.core.address import Address, AddressResolutionError from kraken.core.cli import serialize from kraken.core.cli.executor import ColoredDefaultPrintingExecutorObserver, status_to_text diff --git a/kraken-core/src/kraken/core/cli/option_sets.py b/kraken-build/src/kraken/core/cli/option_sets.py similarity index 100% rename from kraken-core/src/kraken/core/cli/option_sets.py rename to kraken-build/src/kraken/core/cli/option_sets.py diff --git a/kraken-core/src/kraken/core/cli/serialize.py b/kraken-build/src/kraken/core/cli/serialize.py similarity index 97% rename from kraken-core/src/kraken/core/cli/serialize.py rename to kraken-build/src/kraken/core/cli/serialize.py index 2c85b532..12f9ada2 100644 --- a/kraken-core/src/kraken/core/cli/serialize.py +++ b/kraken-build/src/kraken/core/cli/serialize.py @@ -5,9 +5,9 @@ from pathlib import Path from typing import Iterable -import dill # type: ignore[import] -from kraken.common import pluralize +import dill # type: ignore[import-untyped] +from kraken.common import pluralize from kraken.core import Context, TaskGraph logger = logging.getLogger(__name__) diff --git a/kraken-std/src/kraken/std/py.typed b/kraken-build/src/kraken/core/py.typed similarity index 100% rename from kraken-std/src/kraken/std/py.typed rename to kraken-build/src/kraken/core/py.typed diff --git a/kraken-core/src/kraken/core/system/__init__.py b/kraken-build/src/kraken/core/system/__init__.py similarity index 100% rename from kraken-core/src/kraken/core/system/__init__.py rename to kraken-build/src/kraken/core/system/__init__.py diff --git a/kraken-core/src/kraken/core/system/context.py b/kraken-build/src/kraken/core/system/context.py similarity index 100% rename from kraken-core/src/kraken/core/system/context.py rename to kraken-build/src/kraken/core/system/context.py index b7bceb7e..82267258 100644 --- a/kraken-core/src/kraken/core/system/context.py +++ b/kraken-build/src/kraken/core/system/context.py @@ -7,10 +7,10 @@ from pathlib import Path from typing import Any, Callable, ClassVar, Iterable, Iterator, MutableMapping, Sequence, TypeVar, overload -from kraken.common import CurrentDirectoryProjectFinder, ProjectFinder, ScriptRunner from nr.stream import Stream from typing_extensions import TypeAlias +from kraken.common import CurrentDirectoryProjectFinder, ProjectFinder, ScriptRunner from kraken.core.address import Address, AddressSpace, resolve_address from kraken.core.base import Currentable, MetadataContainer from kraken.core.system.errors import BuildError, ProjectLoaderError, ProjectNotFoundError diff --git a/kraken-core/src/kraken/core/system/context_test.py b/kraken-build/src/kraken/core/system/context_test.py similarity index 100% rename from kraken-core/src/kraken/core/system/context_test.py rename to kraken-build/src/kraken/core/system/context_test.py diff --git a/kraken-core/src/kraken/core/system/errors.py b/kraken-build/src/kraken/core/system/errors.py similarity index 100% rename from kraken-core/src/kraken/core/system/errors.py rename to kraken-build/src/kraken/core/system/errors.py diff --git a/kraken-core/src/kraken/core/system/executor/__init__.py b/kraken-build/src/kraken/core/system/executor/__init__.py similarity index 100% rename from kraken-core/src/kraken/core/system/executor/__init__.py rename to kraken-build/src/kraken/core/system/executor/__init__.py diff --git a/kraken-core/src/kraken/core/system/executor/colored.py b/kraken-build/src/kraken/core/system/executor/colored.py similarity index 100% rename from kraken-core/src/kraken/core/system/executor/colored.py rename to kraken-build/src/kraken/core/system/executor/colored.py diff --git a/kraken-core/src/kraken/core/system/executor/default.py b/kraken-build/src/kraken/core/system/executor/default.py similarity index 100% rename from kraken-core/src/kraken/core/system/executor/default.py rename to kraken-build/src/kraken/core/system/executor/default.py diff --git a/kraken-core/src/kraken/core/system/executor/default_test.py b/kraken-build/src/kraken/core/system/executor/default_test.py similarity index 100% rename from kraken-core/src/kraken/core/system/executor/default_test.py rename to kraken-build/src/kraken/core/system/executor/default_test.py diff --git a/kraken-core/src/kraken/core/system/executor/utils.py b/kraken-build/src/kraken/core/system/executor/utils.py similarity index 100% rename from kraken-core/src/kraken/core/system/executor/utils.py rename to kraken-build/src/kraken/core/system/executor/utils.py diff --git a/kraken-core/src/kraken/core/system/graph.py b/kraken-build/src/kraken/core/system/graph.py similarity index 100% rename from kraken-core/src/kraken/core/system/graph.py rename to kraken-build/src/kraken/core/system/graph.py index 27aae51e..2713069f 100644 --- a/kraken-core/src/kraken/core/system/graph.py +++ b/kraken-build/src/kraken/core/system/graph.py @@ -4,11 +4,11 @@ import logging from typing import TYPE_CHECKING, Iterable, Iterator, Sequence, TypeVar, cast -from kraken.common import not_none from networkx import DiGraph, restricted_view, transitive_reduction from networkx.algorithms import topological_sort from nr.stream import Stream +from kraken.common import not_none from kraken.core.address import Address from kraken.core.system.executor import Graph from kraken.core.system.task import GroupTask, Task, TaskStatus, TaskTag diff --git a/kraken-core/src/kraken/core/system/graph_test.py b/kraken-build/src/kraken/core/system/graph_test.py similarity index 100% rename from kraken-core/src/kraken/core/system/graph_test.py rename to kraken-build/src/kraken/core/system/graph_test.py diff --git a/kraken-core/src/kraken/core/system/kraken_object.py b/kraken-build/src/kraken/core/system/kraken_object.py similarity index 100% rename from kraken-core/src/kraken/core/system/kraken_object.py rename to kraken-build/src/kraken/core/system/kraken_object.py diff --git a/kraken-core/src/kraken/core/system/project.py b/kraken-build/src/kraken/core/system/project.py similarity index 100% rename from kraken-core/src/kraken/core/system/project.py rename to kraken-build/src/kraken/core/system/project.py diff --git a/kraken-core/src/kraken/core/system/project_test.py b/kraken-build/src/kraken/core/system/project_test.py similarity index 100% rename from kraken-core/src/kraken/core/system/project_test.py rename to kraken-build/src/kraken/core/system/project_test.py diff --git a/kraken-core/src/kraken/core/system/property.py b/kraken-build/src/kraken/core/system/property.py similarity index 99% rename from kraken-core/src/kraken/core/system/property.py rename to kraken-build/src/kraken/core/system/property.py index 8cd835ec..5fefe4a4 100644 --- a/kraken-core/src/kraken/core/system/property.py +++ b/kraken-build/src/kraken/core/system/property.py @@ -21,7 +21,6 @@ from typing import Any, Callable, ClassVar, Iterable, Mapping, Sequence, TypeVar, cast import deprecated -from kraken.common import NotSet, Supplier, not_none from typeapi import ( AnnotatedTypeHint, ClassTypeHint, @@ -32,6 +31,8 @@ get_annotations, ) +from kraken.common import NotSet, Supplier, not_none + T = TypeVar("T") U = TypeVar("U") diff --git a/kraken-core/src/kraken/core/system/property_test.py b/kraken-build/src/kraken/core/system/property_test.py similarity index 100% rename from kraken-core/src/kraken/core/system/property_test.py rename to kraken-build/src/kraken/core/system/property_test.py index 3387d37d..eb10aa0b 100644 --- a/kraken-core/src/kraken/core/system/property_test.py +++ b/kraken-build/src/kraken/core/system/property_test.py @@ -3,10 +3,10 @@ from pathlib import Path from typing import List, Optional, Tuple, Union -from kraken.common.supplier import OfSupplier, VoidSupplier from pytest import mark, raises from typing_extensions import Literal +from kraken.common.supplier import OfSupplier, VoidSupplier from kraken.core.system.property import Property, PropertyContainer diff --git a/kraken-core/src/kraken/core/system/task.py b/kraken-build/src/kraken/core/system/task.py similarity index 100% rename from kraken-core/src/kraken/core/system/task.py rename to kraken-build/src/kraken/core/system/task.py index cc69c244..ccfe9c25 100644 --- a/kraken-core/src/kraken/core/system/task.py +++ b/kraken-build/src/kraken/core/system/task.py @@ -26,9 +26,9 @@ ) from deprecated import deprecated -from kraken.common import NotSet, Supplier from typing_extensions import Literal +from kraken.common import NotSet, Supplier from kraken.core.address import Address from kraken.core.system.kraken_object import KrakenObject from kraken.core.system.property import Property, PropertyContainer diff --git a/kraken-core/src/kraken/core/system/task_supplier.py b/kraken-build/src/kraken/core/system/task_supplier.py similarity index 100% rename from kraken-core/src/kraken/core/system/task_supplier.py rename to kraken-build/src/kraken/core/system/task_supplier.py diff --git a/kraken-core/src/kraken/core/system/task_test.py b/kraken-build/src/kraken/core/system/task_test.py similarity index 100% rename from kraken-core/src/kraken/core/system/task_test.py rename to kraken-build/src/kraken/core/system/task_test.py diff --git a/kraken-core/src/kraken/core/testing/__init__.py b/kraken-build/src/kraken/core/testing/__init__.py similarity index 100% rename from kraken-core/src/kraken/core/testing/__init__.py rename to kraken-build/src/kraken/core/testing/__init__.py diff --git a/kraken-build/src/kraken/build/__init__.py b/kraken-build/src/kraken/std/__init__.py similarity index 100% rename from kraken-build/src/kraken/build/__init__.py rename to kraken-build/src/kraken/std/__init__.py diff --git a/kraken-std/src/kraken/std/buffrs/__init__.py b/kraken-build/src/kraken/std/buffrs/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/buffrs/__init__.py rename to kraken-build/src/kraken/std/buffrs/__init__.py diff --git a/kraken-std/src/kraken/std/buffrs/manifest.py b/kraken-build/src/kraken/std/buffrs/manifest.py similarity index 100% rename from kraken-std/src/kraken/std/buffrs/manifest.py rename to kraken-build/src/kraken/std/buffrs/manifest.py diff --git a/kraken-std/src/kraken/std/buffrs/tasks.py b/kraken-build/src/kraken/std/buffrs/tasks.py similarity index 100% rename from kraken-std/src/kraken/std/buffrs/tasks.py rename to kraken-build/src/kraken/std/buffrs/tasks.py diff --git a/kraken-std/src/kraken/std/cargo/__init__.py b/kraken-build/src/kraken/std/cargo/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/__init__.py rename to kraken-build/src/kraken/std/cargo/__init__.py diff --git a/kraken-std/src/kraken/std/cargo/config.py b/kraken-build/src/kraken/std/cargo/config.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/config.py rename to kraken-build/src/kraken/std/cargo/config.py diff --git a/kraken-std/src/kraken/std/cargo/manifest.py b/kraken-build/src/kraken/std/cargo/manifest.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/manifest.py rename to kraken-build/src/kraken/std/cargo/manifest.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/__init__.py b/kraken-build/src/kraken/std/cargo/tasks/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/__init__.py rename to kraken-build/src/kraken/std/cargo/tasks/__init__.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/_cargo_sqlx.py b/kraken-build/src/kraken/std/cargo/tasks/_cargo_sqlx.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/_cargo_sqlx.py rename to kraken-build/src/kraken/std/cargo/tasks/_cargo_sqlx.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_auth_proxy_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_auth_proxy_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_auth_proxy_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_auth_proxy_task.py index 4c9b221b..f05c86a5 100644 --- a/kraken-std/src/kraken/std/cargo/tasks/cargo_auth_proxy_task.py +++ b/kraken-build/src/kraken/std/cargo/tasks/cargo_auth_proxy_task.py @@ -9,9 +9,9 @@ import tomli import tomli_w + from kraken.common import atomic_file_swap, not_none from kraken.core import BackgroundTask, Property, TaskStatus - from kraken.std.cargo.config import CargoRegistry from kraken.std.git.config import dump_gitconfig, load_gitconfig from kraken.std.mitm import start_mitmweb_proxy diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_build_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_build_task.py similarity index 99% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_build_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_build_task.py index 870ceb70..fac0d015 100644 --- a/kraken-std/src/kraken/std/cargo/tasks/cargo_build_task.py +++ b/kraken-build/src/kraken/std/cargo/tasks/cargo_build_task.py @@ -7,7 +7,6 @@ from dataclasses import dataclass from kraken.core import Project, Property, Task, TaskStatus - from kraken.std.cargo.manifest import ArtifactKind, CargoMetadata from kraken.std.descriptors.resource import BinaryArtifact, LibraryArtifact diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_bump_version_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_bump_version_task.py similarity index 99% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_bump_version_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_bump_version_task.py index 047e0f28..7adb0bce 100644 --- a/kraken-std/src/kraken/std/cargo/tasks/cargo_bump_version_task.py +++ b/kraken-build/src/kraken/std/cargo/tasks/cargo_bump_version_task.py @@ -6,7 +6,6 @@ from kraken.common import atomic_file_swap from kraken.core import BackgroundTask, Property, TaskStatus - from kraken.std.cargo import CargoProject from kraken.std.cargo.manifest import CargoManifest diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_check_toolchain_version.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_check_toolchain_version.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_check_toolchain_version.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_check_toolchain_version.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_clippy_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_clippy_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_clippy_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_clippy_task.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_deny_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_deny_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_deny_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_deny_task.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_fmt_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_fmt_task.py similarity index 99% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_fmt_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_fmt_task.py index 4a968da3..57940e8a 100644 --- a/kraken-std/src/kraken/std/cargo/tasks/cargo_fmt_task.py +++ b/kraken-build/src/kraken/std/cargo/tasks/cargo_fmt_task.py @@ -5,7 +5,6 @@ import subprocess as sp from kraken.core import Property, Task, TaskStatus - from kraken.std.cargo.config import CargoConfig logger = logging.getLogger(__name__) diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_generate_deb.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_generate_deb.py similarity index 99% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_generate_deb.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_generate_deb.py index bf9ec79c..1aa7b06b 100644 --- a/kraken-std/src/kraken/std/cargo/tasks/cargo_generate_deb.py +++ b/kraken-build/src/kraken/std/cargo/tasks/cargo_generate_deb.py @@ -3,7 +3,6 @@ from pathlib import Path from kraken.core import Property, Task, TaskStatus - from kraken.std.descriptors.resource import LibraryArtifact diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_publish_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_publish_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_publish_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_publish_task.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_sqlx_migrate.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_sqlx_migrate.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_sqlx_migrate.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_sqlx_migrate.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_sqlx_prepare.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_sqlx_prepare.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_sqlx_prepare.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_sqlx_prepare.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_sync_config_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_sync_config_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_sync_config_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_sync_config_task.py index 4990cf76..e1f9155b 100644 --- a/kraken-std/src/kraken/std/cargo/tasks/cargo_sync_config_task.py +++ b/kraken-build/src/kraken/std/cargo/tasks/cargo_sync_config_task.py @@ -5,8 +5,8 @@ import tomli import tomli_w -from kraken.core import Project, Property +from kraken.core import Project, Property from kraken.std.util.render_file_task import RenderFileTask from ..config import CargoRegistry diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_test_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_test_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_test_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_test_task.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/cargo_update_task.py b/kraken-build/src/kraken/std/cargo/tasks/cargo_update_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/cargo_update_task.py rename to kraken-build/src/kraken/std/cargo/tasks/cargo_update_task.py diff --git a/kraken-std/src/kraken/std/cargo/tasks/rustup_target_add_task.py b/kraken-build/src/kraken/std/cargo/tasks/rustup_target_add_task.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/tasks/rustup_target_add_task.py rename to kraken-build/src/kraken/std/cargo/tasks/rustup_target_add_task.py diff --git a/kraken-std/src/kraken/std/cargo/version.py b/kraken-build/src/kraken/std/cargo/version.py similarity index 100% rename from kraken-std/src/kraken/std/cargo/version.py rename to kraken-build/src/kraken/std/cargo/version.py diff --git a/kraken-std/src/kraken/std/descriptors/__init__.py b/kraken-build/src/kraken/std/descriptors/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/descriptors/__init__.py rename to kraken-build/src/kraken/std/descriptors/__init__.py diff --git a/kraken-std/src/kraken/std/descriptors/resource.py b/kraken-build/src/kraken/std/descriptors/resource.py similarity index 100% rename from kraken-std/src/kraken/std/descriptors/resource.py rename to kraken-build/src/kraken/std/descriptors/resource.py diff --git a/kraken-std/src/kraken/std/dist.py b/kraken-build/src/kraken/std/dist.py similarity index 99% rename from kraken-std/src/kraken/std/dist.py rename to kraken-build/src/kraken/std/dist.py index 4400ccf3..aac32366 100644 --- a/kraken-std/src/kraken/std/dist.py +++ b/kraken-build/src/kraken/std/dist.py @@ -13,9 +13,10 @@ from typing import Any, Literal, Union, cast import databind.json -from kraken.core import Project, Property, Task, TaskSet from termcolor import colored +from kraken.core import Project, Property, Task, TaskSet + from .descriptors.resource import BinaryArtifact, LibraryArtifact, Resource logger = logging.getLogger(__name__) diff --git a/kraken-std/src/kraken/std/docker/__init__.py b/kraken-build/src/kraken/std/docker/__init__.py similarity index 99% rename from kraken-std/src/kraken/std/docker/__init__.py rename to kraken-build/src/kraken/std/docker/__init__.py index a5f3e9e2..1f966521 100644 --- a/kraken-std/src/kraken/std/docker/__init__.py +++ b/kraken-build/src/kraken/std/docker/__init__.py @@ -5,7 +5,6 @@ from kraken.common import import_class from kraken.core import Project, Task - from kraken.std.docker.tasks.base_build_task import BaseBuildTask from kraken.std.docker.tasks.manifest_tool_push_task import ManifestToolPushTask diff --git a/kraken-std/src/kraken/std/docker/_test.py b/kraken-build/src/kraken/std/docker/_test.py similarity index 100% rename from kraken-std/src/kraken/std/docker/_test.py rename to kraken-build/src/kraken/std/docker/_test.py diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/src/slap_project_consumer/py.typed b/kraken-build/src/kraken/std/docker/py.typed similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project-consumer/src/slap_project_consumer/py.typed rename to kraken-build/src/kraken/std/docker/py.typed diff --git a/kraken-std/src/kraken/std/docker/tasks/__init__.py b/kraken-build/src/kraken/std/docker/tasks/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/docker/tasks/__init__.py rename to kraken-build/src/kraken/std/docker/tasks/__init__.py diff --git a/kraken-std/src/kraken/std/docker/tasks/base_build_task.py b/kraken-build/src/kraken/std/docker/tasks/base_build_task.py similarity index 99% rename from kraken-std/src/kraken/std/docker/tasks/base_build_task.py rename to kraken-build/src/kraken/std/docker/tasks/base_build_task.py index bd5b5fcc..af2460e5 100644 --- a/kraken-std/src/kraken/std/docker/tasks/base_build_task.py +++ b/kraken-build/src/kraken/std/docker/tasks/base_build_task.py @@ -2,7 +2,6 @@ from kraken.common.supplier import Supplier from kraken.core import Project, Property, Task - from kraken.std.util.render_file_task import RenderFileTask, render_file diff --git a/kraken-std/src/kraken/std/docker/tasks/buildx_build_task.py b/kraken-build/src/kraken/std/docker/tasks/buildx_build_task.py similarity index 99% rename from kraken-std/src/kraken/std/docker/tasks/buildx_build_task.py rename to kraken-build/src/kraken/std/docker/tasks/buildx_build_task.py index bb81df6f..3559a8a0 100644 --- a/kraken-std/src/kraken/std/docker/tasks/buildx_build_task.py +++ b/kraken-build/src/kraken/std/docker/tasks/buildx_build_task.py @@ -7,7 +7,6 @@ from kraken.common import flatten, not_none from kraken.core import Project, Property, TaskStatus - from kraken.std.docker.util.dockerfile import update_run_commands from .base_build_task import BaseBuildTask diff --git a/kraken-std/src/kraken/std/docker/tasks/docker_build_task.py b/kraken-build/src/kraken/std/docker/tasks/docker_build_task.py similarity index 99% rename from kraken-std/src/kraken/std/docker/tasks/docker_build_task.py rename to kraken-build/src/kraken/std/docker/tasks/docker_build_task.py index 4796cf58..91635c62 100644 --- a/kraken-std/src/kraken/std/docker/tasks/docker_build_task.py +++ b/kraken-build/src/kraken/std/docker/tasks/docker_build_task.py @@ -7,7 +7,6 @@ from kraken.common import flatten, not_none from kraken.core import Project, Property, TaskStatus - from kraken.std.docker.util.dockerfile import update_run_commands from .base_build_task import BaseBuildTask diff --git a/kraken-std/src/kraken/std/docker/tasks/kaniko_build_task.py b/kraken-build/src/kraken/std/docker/tasks/kaniko_build_task.py similarity index 100% rename from kraken-std/src/kraken/std/docker/tasks/kaniko_build_task.py rename to kraken-build/src/kraken/std/docker/tasks/kaniko_build_task.py index e47485c7..b2486075 100644 --- a/kraken-std/src/kraken/std/docker/tasks/kaniko_build_task.py +++ b/kraken-build/src/kraken/std/docker/tasks/kaniko_build_task.py @@ -7,9 +7,9 @@ from pathlib import Path import deprecated + from kraken.common import flatten from kraken.core import Project, Property - from kraken.std.docker.util.dockerapi import docker_load, docker_run from kraken.std.docker.util.dockerfile import render_docker_auth, update_run_commands diff --git a/kraken-std/src/kraken/std/docker/tasks/manifest_tool_push_task.py b/kraken-build/src/kraken/std/docker/tasks/manifest_tool_push_task.py similarity index 100% rename from kraken-std/src/kraken/std/docker/tasks/manifest_tool_push_task.py rename to kraken-build/src/kraken/std/docker/tasks/manifest_tool_push_task.py diff --git a/kraken-std/src/kraken/std/docker/util/__init__.py b/kraken-build/src/kraken/std/docker/util/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/docker/util/__init__.py rename to kraken-build/src/kraken/std/docker/util/__init__.py diff --git a/kraken-std/src/kraken/std/docker/util/dockerapi.py b/kraken-build/src/kraken/std/docker/util/dockerapi.py similarity index 100% rename from kraken-std/src/kraken/std/docker/util/dockerapi.py rename to kraken-build/src/kraken/std/docker/util/dockerapi.py diff --git a/kraken-std/src/kraken/std/docker/util/dockerfile.py b/kraken-build/src/kraken/std/docker/util/dockerfile.py similarity index 100% rename from kraken-std/src/kraken/std/docker/util/dockerfile.py rename to kraken-build/src/kraken/std/docker/util/dockerfile.py diff --git a/kraken-std/src/kraken/std/git/__init__.py b/kraken-build/src/kraken/std/git/__init__.py similarity index 99% rename from kraken-std/src/kraken/std/git/__init__.py rename to kraken-build/src/kraken/std/git/__init__.py index a537fc8f..81ee1f21 100644 --- a/kraken-std/src/kraken/std/git/__init__.py +++ b/kraken-build/src/kraken/std/git/__init__.py @@ -7,7 +7,6 @@ from typing import Literal from kraken.core import Project - from kraken.std.util.check_file_contents_task import CheckFileContentsTask from . import tasks diff --git a/kraken-std/src/kraken/std/git/config.py b/kraken-build/src/kraken/std/git/config.py similarity index 100% rename from kraken-std/src/kraken/std/git/config.py rename to kraken-build/src/kraken/std/git/config.py diff --git a/kraken-std/src/kraken/std/git/gitignore/__init__.py b/kraken-build/src/kraken/std/git/gitignore/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore/__init__.py rename to kraken-build/src/kraken/std/git/gitignore/__init__.py diff --git a/kraken-std/src/kraken/std/git/gitignore/data/gitignore-io-tokens.json.gz b/kraken-build/src/kraken/std/git/gitignore/data/gitignore-io-tokens.json.gz similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore/data/gitignore-io-tokens.json.gz rename to kraken-build/src/kraken/std/git/gitignore/data/gitignore-io-tokens.json.gz diff --git a/kraken-std/src/kraken/std/git/gitignore/generated.py b/kraken-build/src/kraken/std/git/gitignore/generated.py similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore/generated.py rename to kraken-build/src/kraken/std/git/gitignore/generated.py diff --git a/kraken-std/src/kraken/std/git/gitignore/generated_test.py b/kraken-build/src/kraken/std/git/gitignore/generated_test.py similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore/generated_test.py rename to kraken-build/src/kraken/std/git/gitignore/generated_test.py diff --git a/kraken-std/src/kraken/std/git/gitignore/gitignore_io.py b/kraken-build/src/kraken/std/git/gitignore/gitignore_io.py similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore/gitignore_io.py rename to kraken-build/src/kraken/std/git/gitignore/gitignore_io.py diff --git a/kraken-std/src/kraken/std/git/gitignore/gitignore_io_test.py b/kraken-build/src/kraken/std/git/gitignore/gitignore_io_test.py similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore/gitignore_io_test.py rename to kraken-build/src/kraken/std/git/gitignore/gitignore_io_test.py diff --git a/kraken-std/src/kraken/std/git/gitignore/parser.py b/kraken-build/src/kraken/std/git/gitignore/parser.py similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore/parser.py rename to kraken-build/src/kraken/std/git/gitignore/parser.py diff --git a/kraken-std/src/kraken/std/git/gitignore_test.py b/kraken-build/src/kraken/std/git/gitignore_test.py similarity index 100% rename from kraken-std/src/kraken/std/git/gitignore_test.py rename to kraken-build/src/kraken/std/git/gitignore_test.py diff --git a/kraken-std/src/kraken/std/git/tasks/__init__.py b/kraken-build/src/kraken/std/git/tasks/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/git/tasks/__init__.py rename to kraken-build/src/kraken/std/git/tasks/__init__.py diff --git a/kraken-std/src/kraken/std/git/tasks/check_file_task.py b/kraken-build/src/kraken/std/git/tasks/check_file_task.py similarity index 100% rename from kraken-std/src/kraken/std/git/tasks/check_file_task.py rename to kraken-build/src/kraken/std/git/tasks/check_file_task.py diff --git a/kraken-std/src/kraken/std/git/tasks/check_file_task_test.py b/kraken-build/src/kraken/std/git/tasks/check_file_task_test.py similarity index 99% rename from kraken-std/src/kraken/std/git/tasks/check_file_task_test.py rename to kraken-build/src/kraken/std/git/tasks/check_file_task_test.py index 2f0d010d..3944bd66 100644 --- a/kraken-std/src/kraken/std/git/tasks/check_file_task_test.py +++ b/kraken-build/src/kraken/std/git/tasks/check_file_task_test.py @@ -3,7 +3,6 @@ from pathlib import Path from kraken.core import Project, TaskStatus - from kraken.std.git.tasks.check_file_task import CheckFileTask diff --git a/kraken-std/src/kraken/std/git/tasks/sync_task.py b/kraken-build/src/kraken/std/git/tasks/sync_task.py similarity index 99% rename from kraken-std/src/kraken/std/git/tasks/sync_task.py rename to kraken-build/src/kraken/std/git/tasks/sync_task.py index 782f04ef..5f577c05 100644 --- a/kraken-std/src/kraken/std/git/tasks/sync_task.py +++ b/kraken-build/src/kraken/std/git/tasks/sync_task.py @@ -5,7 +5,6 @@ from typing import Literal from kraken.core import Project, Property - from kraken.std.git.gitignore.generated import join_generated_section, split_generated_section from kraken.std.util.render_file_task import RenderFileTask diff --git a/kraken-std/src/kraken/std/git/tasks/sync_task_test.py b/kraken-build/src/kraken/std/git/tasks/sync_task_test.py similarity index 100% rename from kraken-std/src/kraken/std/git/tasks/sync_task_test.py rename to kraken-build/src/kraken/std/git/tasks/sync_task_test.py index baf81b62..e771d650 100644 --- a/kraken-std/src/kraken/std/git/tasks/sync_task_test.py +++ b/kraken-build/src/kraken/std/git/tasks/sync_task_test.py @@ -1,8 +1,8 @@ import textwrap -from kraken.core import BuildError, Project from pytest import raises +from kraken.core import BuildError, Project from kraken.std.git import gitignore from kraken.std.git.tasks.sync_task import GitignoreSyncTask diff --git a/kraken-std/src/kraken/std/git/version.py b/kraken-build/src/kraken/std/git/version.py similarity index 100% rename from kraken-std/src/kraken/std/git/version.py rename to kraken-build/src/kraken/std/git/version.py diff --git a/kraken-std/src/kraken/std/helm/__init__.py b/kraken-build/src/kraken/std/helm/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/helm/__init__.py rename to kraken-build/src/kraken/std/helm/__init__.py diff --git a/kraken-std/src/kraken/std/helm/helmapi.py b/kraken-build/src/kraken/std/helm/helmapi.py similarity index 100% rename from kraken-std/src/kraken/std/helm/helmapi.py rename to kraken-build/src/kraken/std/helm/helmapi.py diff --git a/kraken-std/src/kraken/std/http/__init__.py b/kraken-build/src/kraken/std/http/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/http/__init__.py rename to kraken-build/src/kraken/std/http/__init__.py diff --git a/kraken-std/src/kraken/std/http/lint_ban_bare_requests.py b/kraken-build/src/kraken/std/http/lint_ban_bare_requests.py similarity index 100% rename from kraken-std/src/kraken/std/http/lint_ban_bare_requests.py rename to kraken-build/src/kraken/std/http/lint_ban_bare_requests.py diff --git a/kraken-std/src/kraken/std/mitm/__init__.py b/kraken-build/src/kraken/std/mitm/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/mitm/__init__.py rename to kraken-build/src/kraken/std/mitm/__init__.py diff --git a/kraken-std/src/kraken/std/mitm/mitm_addon.py b/kraken-build/src/kraken/std/mitm/mitm_addon.py similarity index 100% rename from kraken-std/src/kraken/std/mitm/mitm_addon.py rename to kraken-build/src/kraken/std/mitm/mitm_addon.py diff --git a/kraken-std/src/kraken/std/protobuf/__init__.py b/kraken-build/src/kraken/std/protobuf/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/protobuf/__init__.py rename to kraken-build/src/kraken/std/protobuf/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/slap-project/src/slap_project/py.typed b/kraken-build/src/kraken/std/py.typed similarity index 100% rename from kraken-std/src/tests/integration/python/data/slap-project/src/slap_project/py.typed rename to kraken-build/src/kraken/std/py.typed diff --git a/kraken-std/src/kraken/std/python/__init__.py b/kraken-build/src/kraken/std/python/__init__.py similarity index 97% rename from kraken-std/src/kraken/std/python/__init__.py rename to kraken-build/src/kraken/std/python/__init__.py index 35018e8a..ff17d4a2 100644 --- a/kraken-std/src/kraken/std/python/__init__.py +++ b/kraken-build/src/kraken/std/python/__init__.py @@ -1,3 +1,4 @@ +from . import buildsystem from .settings import PythonSettings, python_settings from .tasks.black_task import BlackTask, black from .tasks.build_task import BuildTask, build @@ -21,6 +22,7 @@ git_version_to_python = git_version_to_python_version __all__ = [ + "buildsystem", "black", "BlackTask", "build", diff --git a/kraken-std/src/kraken/std/python/buildsystem/__init__.py b/kraken-build/src/kraken/std/python/buildsystem/__init__.py similarity index 99% rename from kraken-std/src/kraken/std/python/buildsystem/__init__.py rename to kraken-build/src/kraken/std/python/buildsystem/__init__.py index 73920acb..98f762e0 100644 --- a/kraken-std/src/kraken/std/python/buildsystem/__init__.py +++ b/kraken-build/src/kraken/std/python/buildsystem/__init__.py @@ -9,7 +9,6 @@ from typing import TYPE_CHECKING, ClassVar from kraken.core import TaskStatus - from kraken.std.python.pyproject import Pyproject, PyprojectHandler if TYPE_CHECKING: diff --git a/kraken-std/src/kraken/std/python/buildsystem/helpers.py b/kraken-build/src/kraken/std/python/buildsystem/helpers.py similarity index 100% rename from kraken-std/src/kraken/std/python/buildsystem/helpers.py rename to kraken-build/src/kraken/std/python/buildsystem/helpers.py diff --git a/kraken-std/src/kraken/std/python/buildsystem/maturin.py b/kraken-build/src/kraken/std/python/buildsystem/maturin.py similarity index 100% rename from kraken-std/src/kraken/std/python/buildsystem/maturin.py rename to kraken-build/src/kraken/std/python/buildsystem/maturin.py diff --git a/kraken-std/src/kraken/std/python/buildsystem/pdm.py b/kraken-build/src/kraken/std/python/buildsystem/pdm.py similarity index 99% rename from kraken-std/src/kraken/std/python/buildsystem/pdm.py rename to kraken-build/src/kraken/std/python/buildsystem/pdm.py index 532da004..42f2ed91 100644 --- a/kraken-std/src/kraken/std/python/buildsystem/pdm.py +++ b/kraken-build/src/kraken/std/python/buildsystem/pdm.py @@ -13,7 +13,6 @@ from kraken.common import NotSet from kraken.common.path import is_relative_to from kraken.core import TaskStatus - from kraken.std.python.pyproject import PackageIndex, Pyproject, PyprojectHandler from kraken.std.python.settings import PythonSettings diff --git a/kraken-std/src/kraken/std/python/buildsystem/pdm_test.py b/kraken-build/src/kraken/std/python/buildsystem/pdm_test.py similarity index 100% rename from kraken-std/src/kraken/std/python/buildsystem/pdm_test.py rename to kraken-build/src/kraken/std/python/buildsystem/pdm_test.py diff --git a/kraken-std/src/kraken/std/python/buildsystem/poetry.py b/kraken-build/src/kraken/std/python/buildsystem/poetry.py similarity index 99% rename from kraken-std/src/kraken/std/python/buildsystem/poetry.py rename to kraken-build/src/kraken/std/python/buildsystem/poetry.py index fd332bd0..39a10886 100644 --- a/kraken-std/src/kraken/std/python/buildsystem/poetry.py +++ b/kraken-build/src/kraken/std/python/buildsystem/poetry.py @@ -16,7 +16,6 @@ from kraken.common.path import is_relative_to from kraken.common.pyenv import get_current_venv from kraken.core import TaskStatus - from kraken.std.python.buildsystem.helpers import update_python_version_str_in_source_files from kraken.std.python.pyproject import PackageIndex, Pyproject, PyprojectHandler from kraken.std.python.settings import PythonSettings diff --git a/kraken-std/src/kraken/std/python/buildsystem/poetry_test.py b/kraken-build/src/kraken/std/python/buildsystem/poetry_test.py similarity index 100% rename from kraken-std/src/kraken/std/python/buildsystem/poetry_test.py rename to kraken-build/src/kraken/std/python/buildsystem/poetry_test.py diff --git a/kraken-std/src/kraken/std/python/buildsystem/slap.py b/kraken-build/src/kraken/std/python/buildsystem/slap.py similarity index 99% rename from kraken-std/src/kraken/std/python/buildsystem/slap.py rename to kraken-build/src/kraken/std/python/buildsystem/slap.py index e0376b09..acae53f0 100644 --- a/kraken-std/src/kraken/std/python/buildsystem/slap.py +++ b/kraken-build/src/kraken/std/python/buildsystem/slap.py @@ -14,7 +14,6 @@ from kraken.common import NotSet from kraken.core import TaskStatus - from kraken.std.python.pyproject import PackageIndex, Pyproject, PyprojectHandler from . import ManagedEnvironment, PythonBuildSystem diff --git a/kraken-std/src/kraken/std/python/pyproject.py b/kraken-build/src/kraken/std/python/pyproject.py similarity index 100% rename from kraken-std/src/kraken/std/python/pyproject.py rename to kraken-build/src/kraken/std/python/pyproject.py diff --git a/kraken-std/src/kraken/std/python/settings.py b/kraken-build/src/kraken/std/python/settings.py similarity index 99% rename from kraken-std/src/kraken/std/python/settings.py rename to kraken-build/src/kraken/std/python/settings.py index e6d9ecb3..99e5cb62 100644 --- a/kraken-std/src/kraken/std/python/settings.py +++ b/kraken-build/src/kraken/std/python/settings.py @@ -5,7 +5,6 @@ from pathlib import Path from kraken.core import Project - from kraken.std.python.pyproject import PackageIndex from .buildsystem import PythonBuildSystem, detect_build_system diff --git a/kraken-std/src/kraken/std/python/tasks/__init__.py b/kraken-build/src/kraken/std/python/tasks/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/__init__.py rename to kraken-build/src/kraken/std/python/tasks/__init__.py diff --git a/kraken-std/src/kraken/std/python/tasks/base_task.py b/kraken-build/src/kraken/std/python/tasks/base_task.py similarity index 99% rename from kraken-std/src/kraken/std/python/tasks/base_task.py rename to kraken-build/src/kraken/std/python/tasks/base_task.py index 17443142..4d80f353 100644 --- a/kraken-std/src/kraken/std/python/tasks/base_task.py +++ b/kraken-build/src/kraken/std/python/tasks/base_task.py @@ -9,7 +9,6 @@ from kraken.common.pyenv import VirtualEnvInfo, get_current_venv from kraken.core import Project, Task, TaskRelationship, TaskStatus - from kraken.std.python.buildsystem import ManagedEnvironment from ..settings import python_settings diff --git a/kraken-std/src/kraken/std/python/tasks/black_task.py b/kraken-build/src/kraken/std/python/tasks/black_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/black_task.py rename to kraken-build/src/kraken/std/python/tasks/black_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/build_task.py b/kraken-build/src/kraken/std/python/tasks/build_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/build_task.py rename to kraken-build/src/kraken/std/python/tasks/build_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/flake8_task.py b/kraken-build/src/kraken/std/python/tasks/flake8_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/flake8_task.py rename to kraken-build/src/kraken/std/python/tasks/flake8_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/info_task.py b/kraken-build/src/kraken/std/python/tasks/info_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/info_task.py rename to kraken-build/src/kraken/std/python/tasks/info_task.py index 94f1353a..1da4daed 100644 --- a/kraken-std/src/kraken/std/python/tasks/info_task.py +++ b/kraken-build/src/kraken/std/python/tasks/info_task.py @@ -1,9 +1,9 @@ import subprocess from pathlib import Path -from kraken.core import Project, Property, Task, TaskStatus from termcolor import colored +from kraken.core import Project, Property, Task, TaskStatus from kraken.std.python.settings import python_settings from ..buildsystem import PythonBuildSystem diff --git a/kraken-std/src/kraken/std/python/tasks/install_task.py b/kraken-build/src/kraken/std/python/tasks/install_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/install_task.py rename to kraken-build/src/kraken/std/python/tasks/install_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/isort_task.py b/kraken-build/src/kraken/std/python/tasks/isort_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/isort_task.py rename to kraken-build/src/kraken/std/python/tasks/isort_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/login_task.py b/kraken-build/src/kraken/std/python/tasks/login_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/login_task.py rename to kraken-build/src/kraken/std/python/tasks/login_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/mypy_stubtest_task.py b/kraken-build/src/kraken/std/python/tasks/mypy_stubtest_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/mypy_stubtest_task.py rename to kraken-build/src/kraken/std/python/tasks/mypy_stubtest_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/mypy_task.py b/kraken-build/src/kraken/std/python/tasks/mypy_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/mypy_task.py rename to kraken-build/src/kraken/std/python/tasks/mypy_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/publish_task.py b/kraken-build/src/kraken/std/python/tasks/publish_task.py similarity index 99% rename from kraken-std/src/kraken/std/python/tasks/publish_task.py rename to kraken-build/src/kraken/std/python/tasks/publish_task.py index b2e00f1c..21a10ba3 100644 --- a/kraken-std/src/kraken/std/python/tasks/publish_task.py +++ b/kraken-build/src/kraken/std/python/tasks/publish_task.py @@ -3,10 +3,11 @@ from collections.abc import Iterable from pathlib import Path -from kraken.core import Project, Property, Task, TaskRelationship from twine.commands.upload import upload as twine_upload from twine.settings import Settings as TwineSettings +from kraken.core import Project, Property, Task, TaskRelationship + from ..settings import python_settings diff --git a/kraken-std/src/kraken/std/python/tasks/pycln_task.py b/kraken-build/src/kraken/std/python/tasks/pycln_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/pycln_task.py rename to kraken-build/src/kraken/std/python/tasks/pycln_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/pylint_task.py b/kraken-build/src/kraken/std/python/tasks/pylint_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/pylint_task.py rename to kraken-build/src/kraken/std/python/tasks/pylint_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/pytest_task.py b/kraken-build/src/kraken/std/python/tasks/pytest_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/pytest_task.py rename to kraken-build/src/kraken/std/python/tasks/pytest_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/pyupgrade_task.py b/kraken-build/src/kraken/std/python/tasks/pyupgrade_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/pyupgrade_task.py rename to kraken-build/src/kraken/std/python/tasks/pyupgrade_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/update_lockfile_task.py b/kraken-build/src/kraken/std/python/tasks/update_lockfile_task.py similarity index 100% rename from kraken-std/src/kraken/std/python/tasks/update_lockfile_task.py rename to kraken-build/src/kraken/std/python/tasks/update_lockfile_task.py diff --git a/kraken-std/src/kraken/std/python/tasks/update_pyproject_task.py b/kraken-build/src/kraken/std/python/tasks/update_pyproject_task.py similarity index 99% rename from kraken-std/src/kraken/std/python/tasks/update_pyproject_task.py rename to kraken-build/src/kraken/std/python/tasks/update_pyproject_task.py index 11f4be99..0b79fe7a 100644 --- a/kraken-std/src/kraken/std/python/tasks/update_pyproject_task.py +++ b/kraken-build/src/kraken/std/python/tasks/update_pyproject_task.py @@ -3,7 +3,6 @@ from pathlib import Path from kraken.core import Project, Property, TaskStatus - from kraken.std.python.buildsystem import PythonBuildSystem from kraken.std.util.render_file_task import RenderFileTask diff --git a/kraken-std/src/kraken/std/python/version.py b/kraken-build/src/kraken/std/python/version.py similarity index 100% rename from kraken-std/src/kraken/std/python/version.py rename to kraken-build/src/kraken/std/python/version.py diff --git a/kraken-std/src/kraken/std/sccache.py b/kraken-build/src/kraken/std/sccache.py similarity index 100% rename from kraken-std/src/kraken/std/sccache.py rename to kraken-build/src/kraken/std/sccache.py diff --git a/kraken-std/src/kraken/std/util/__init__.py b/kraken-build/src/kraken/std/util/__init__.py similarity index 100% rename from kraken-std/src/kraken/std/util/__init__.py rename to kraken-build/src/kraken/std/util/__init__.py diff --git a/kraken-std/src/kraken/std/util/check_file_contents_task.py b/kraken-build/src/kraken/std/util/check_file_contents_task.py similarity index 99% rename from kraken-std/src/kraken/std/util/check_file_contents_task.py rename to kraken-build/src/kraken/std/util/check_file_contents_task.py index 32f36add..7f1ddbdd 100644 --- a/kraken-std/src/kraken/std/util/check_file_contents_task.py +++ b/kraken-build/src/kraken/std/util/check_file_contents_task.py @@ -3,10 +3,11 @@ from difflib import Differ from pathlib import Path +from termcolor import colored + from kraken.common.path import try_relative_to from kraken.common.strings import as_string from kraken.core import Property, Task, TaskStatus -from termcolor import colored class CheckFileContentsTask(Task): diff --git a/kraken-std/src/kraken/std/util/check_file_contents_task_test.py b/kraken-build/src/kraken/std/util/check_file_contents_task_test.py similarity index 100% rename from kraken-std/src/kraken/std/util/check_file_contents_task_test.py rename to kraken-build/src/kraken/std/util/check_file_contents_task_test.py index 0a8859f3..8e6447ef 100644 --- a/kraken-std/src/kraken/std/util/check_file_contents_task_test.py +++ b/kraken-build/src/kraken/std/util/check_file_contents_task_test.py @@ -1,10 +1,10 @@ import os import unittest.mock -from kraken.core import Project -from kraken.core.system.task import TaskStatus from pytest import CaptureFixture +from kraken.core import Project +from kraken.core.system.task import TaskStatus from kraken.std.util.check_file_contents_task import CheckFileContentsTask diff --git a/kraken-std/src/kraken/std/util/copyright_task.py b/kraken-build/src/kraken/std/util/copyright_task.py similarity index 99% rename from kraken-std/src/kraken/std/util/copyright_task.py rename to kraken-build/src/kraken/std/util/copyright_task.py index c424862f..02ff5be5 100644 --- a/kraken-std/src/kraken/std/util/copyright_task.py +++ b/kraken-build/src/kraken/std/util/copyright_task.py @@ -5,7 +5,6 @@ from pathlib import Path from kraken.core import Project, Property - from kraken.std.python.tasks.base_task import EnvironmentAwareDispatchTask diff --git a/kraken-std/src/kraken/std/util/daemon_controller.py b/kraken-build/src/kraken/std/util/daemon_controller.py similarity index 100% rename from kraken-std/src/kraken/std/util/daemon_controller.py rename to kraken-build/src/kraken/std/util/daemon_controller.py diff --git a/kraken-std/src/kraken/std/util/render_file_task.py b/kraken-build/src/kraken/std/util/render_file_task.py similarity index 100% rename from kraken-std/src/kraken/std/util/render_file_task.py rename to kraken-build/src/kraken/std/util/render_file_task.py diff --git a/kraken-std/src/kraken/std/util/validate_readme.py b/kraken-build/src/kraken/std/util/validate_readme.py similarity index 100% rename from kraken-std/src/kraken/std/util/validate_readme.py rename to kraken-build/src/kraken/std/util/validate_readme.py diff --git a/kraken-std/src/kraken/std/util/validate_readme_test.py b/kraken-build/src/kraken/std/util/validate_readme_test.py similarity index 99% rename from kraken-std/src/kraken/std/util/validate_readme_test.py rename to kraken-build/src/kraken/std/util/validate_readme_test.py index fc4ed49d..46433ec9 100644 --- a/kraken-std/src/kraken/std/util/validate_readme_test.py +++ b/kraken-build/src/kraken/std/util/validate_readme_test.py @@ -2,7 +2,6 @@ from kraken.core import Project from kraken.core.system.task import TaskStatus - from kraken.std.util.validate_readme import ValidateReadmeTask EXAMPLE_README = """ diff --git a/kraken-wrapper/src/kraken/wrapper/__init__.py b/kraken-build/src/kraken/wrapper/__init__.py similarity index 100% rename from kraken-wrapper/src/kraken/wrapper/__init__.py rename to kraken-build/src/kraken/wrapper/__init__.py diff --git a/kraken-wrapper/src/kraken/wrapper/_buildenv.py b/kraken-build/src/kraken/wrapper/_buildenv.py similarity index 100% rename from kraken-wrapper/src/kraken/wrapper/_buildenv.py rename to kraken-build/src/kraken/wrapper/_buildenv.py diff --git a/kraken-wrapper/src/kraken/wrapper/_buildenv_manager.py b/kraken-build/src/kraken/wrapper/_buildenv_manager.py similarity index 100% rename from kraken-wrapper/src/kraken/wrapper/_buildenv_manager.py rename to kraken-build/src/kraken/wrapper/_buildenv_manager.py diff --git a/kraken-wrapper/src/kraken/wrapper/_buildenv_pex.py b/kraken-build/src/kraken/wrapper/_buildenv_pex.py similarity index 99% rename from kraken-wrapper/src/kraken/wrapper/_buildenv_pex.py rename to kraken-build/src/kraken/wrapper/_buildenv_pex.py index 9d66c816..a386acf0 100644 --- a/kraken-wrapper/src/kraken/wrapper/_buildenv_pex.py +++ b/kraken-build/src/kraken/wrapper/_buildenv_pex.py @@ -7,10 +7,11 @@ from pathlib import Path from typing import Any, Callable, Dict, Iterator, List, NoReturn, Sequence -from kraken.common import EnvironmentType, RequirementSpec, lazy_str from pex.pex import PEX from pex.pex_bootstrapper import bootstrap_pex_env +from kraken.common import EnvironmentType, RequirementSpec, lazy_str + from ._buildenv import KRAKEN_MAIN_IMPORT_SNIPPET, BuildEnv, general_get_installed_distributions from ._lockfile import Distribution from ._pex import PEXBuildConfig, PEXLayout diff --git a/kraken-wrapper/src/kraken/wrapper/_buildenv_venv.py b/kraken-build/src/kraken/wrapper/_buildenv_venv.py similarity index 99% rename from kraken-wrapper/src/kraken/wrapper/_buildenv_venv.py rename to kraken-build/src/kraken/wrapper/_buildenv_venv.py index a92b91a8..11c87634 100644 --- a/kraken-wrapper/src/kraken/wrapper/_buildenv_venv.py +++ b/kraken-build/src/kraken/wrapper/_buildenv_venv.py @@ -9,9 +9,10 @@ from pathlib import Path from typing import List, NoReturn +from typing_extensions import Literal + from kraken.common import EnvironmentType, RequirementSpec, findpython, safe_rmpath from kraken.common.pyenv import VirtualEnvInfo -from typing_extensions import Literal from ._buildenv import KRAKEN_MAIN_IMPORT_SNIPPET, BuildEnv, BuildEnvError, general_get_installed_distributions from ._lockfile import Distribution diff --git a/kraken-wrapper/src/kraken/wrapper/_config.py b/kraken-build/src/kraken/wrapper/_config.py similarity index 99% rename from kraken-wrapper/src/kraken/wrapper/_config.py rename to kraken-build/src/kraken/wrapper/_config.py index 27f01bfa..02b1537f 100644 --- a/kraken-wrapper/src/kraken/wrapper/_config.py +++ b/kraken-build/src/kraken/wrapper/_config.py @@ -7,6 +7,7 @@ import keyring import keyring.backends.fail import keyring.backends.null + from kraken.common import http from kraken.common.http import ReadTimeout diff --git a/kraken-wrapper/src/kraken/wrapper/_lockfile.py b/kraken-build/src/kraken/wrapper/_lockfile.py similarity index 99% rename from kraken-wrapper/src/kraken/wrapper/_lockfile.py rename to kraken-build/src/kraken/wrapper/_lockfile.py index f0b032f4..0834e5ae 100644 --- a/kraken-wrapper/src/kraken/wrapper/_lockfile.py +++ b/kraken-build/src/kraken/wrapper/_lockfile.py @@ -5,9 +5,10 @@ from pathlib import Path from typing import Any -from kraken.common import LocalRequirement, PipRequirement, RequirementSpec from pkg_resources import Requirement as ParsedRequirement +from kraken.common import LocalRequirement, PipRequirement, RequirementSpec + @dataclasses.dataclass(frozen=True) class Distribution: diff --git a/kraken-wrapper/src/kraken/wrapper/_option_sets.py b/kraken-build/src/kraken/wrapper/_option_sets.py similarity index 100% rename from kraken-wrapper/src/kraken/wrapper/_option_sets.py rename to kraken-build/src/kraken/wrapper/_option_sets.py diff --git a/kraken-wrapper/src/kraken/wrapper/_pex.py b/kraken-build/src/kraken/wrapper/_pex.py similarity index 100% rename from kraken-wrapper/src/kraken/wrapper/_pex.py rename to kraken-build/src/kraken/wrapper/_pex.py diff --git a/kraken-wrapper/src/kraken/wrapper/main.py b/kraken-build/src/kraken/wrapper/main.py similarity index 99% rename from kraken-wrapper/src/kraken/wrapper/main.py rename to kraken-build/src/kraken/wrapper/main.py index 8d4127d0..5f0fd808 100644 --- a/kraken-wrapper/src/kraken/wrapper/main.py +++ b/kraken-build/src/kraken/wrapper/main.py @@ -11,6 +11,8 @@ from textwrap import indent from typing import NamedTuple, NoReturn +from termcolor import colored + from kraken.common import ( AsciiTable, BuildscriptMetadata, @@ -23,7 +25,6 @@ inline_text, ) from kraken.common.exceptions import exit_on_known_exceptions -from termcolor import colored from . import __version__ from ._buildenv import BuildEnvError @@ -206,6 +207,7 @@ def auth_check(auth: AuthModel, args: AuthOptions, host: str, username: str, pas def list_pythons(prog: str, argv: list[str]) -> NoReturn: import rich + from kraken.common import findpython if argv: diff --git a/kraken-wrapper/src/kraken/wrapper/py.typed b/kraken-build/src/kraken/wrapper/py.typed similarity index 100% rename from kraken-wrapper/src/kraken/wrapper/py.typed rename to kraken-build/src/kraken/wrapper/py.typed diff --git a/kraken-std/src/tests/__init__.py b/kraken-build/tests/__init__.py similarity index 100% rename from kraken-std/src/tests/__init__.py rename to kraken-build/tests/__init__.py diff --git a/kraken-std/src/tests/integration/python/data/rust-pdm-project/src/__init__.py b/kraken-build/tests/kraken_core/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-pdm-project/src/__init__.py rename to kraken-build/tests/kraken_core/__init__.py diff --git a/kraken-core/tests/conftest.py b/kraken-build/tests/kraken_core/conftest.py similarity index 100% rename from kraken-core/tests/conftest.py rename to kraken-build/tests/kraken_core/conftest.py diff --git a/kraken-core/tests/test_doctest.py b/kraken-build/tests/kraken_core/test_doctest.py similarity index 100% rename from kraken-core/tests/test_doctest.py rename to kraken-build/tests/kraken_core/test_doctest.py diff --git a/kraken-core/tests/test_import.py b/kraken-build/tests/kraken_core/test_import.py similarity index 100% rename from kraken-core/tests/test_import.py rename to kraken-build/tests/kraken_core/test_import.py diff --git a/kraken-core/tests/test_resume_build_state.py b/kraken-build/tests/kraken_core/test_resume_build_state.py similarity index 99% rename from kraken-core/tests/test_resume_build_state.py rename to kraken-build/tests/kraken_core/test_resume_build_state.py index 9ac166b1..ced25600 100644 --- a/kraken-core/tests/test_resume_build_state.py +++ b/kraken-build/tests/kraken_core/test_resume_build_state.py @@ -3,15 +3,15 @@ from pathlib import Path from textwrap import dedent -from kraken.common import not_none, safe_rmpath from pytest import mark +from kraken.common import not_none, safe_rmpath from kraken.core.address import Address from kraken.core.cli.main import _load_build_state from kraken.core.cli.option_sets import BuildOptions, GraphOptions from kraken.core.system.executor.colored import ColoredDefaultPrintingExecutorObserver from kraken.core.system.task import Task, TaskStatus, TaskStatusType -from tests.conftest import chdir_context +from tests.kraken_core.conftest import chdir_context logger = logging.getLogger(__name__) diff --git a/kraken-core/tests/test_run_in_subproject.py b/kraken-build/tests/kraken_core/test_run_in_subproject.py similarity index 99% rename from kraken-core/tests/test_run_in_subproject.py rename to kraken-build/tests/kraken_core/test_run_in_subproject.py index 8e45e048..f8a22317 100644 --- a/kraken-core/tests/test_run_in_subproject.py +++ b/kraken-build/tests/kraken_core/test_run_in_subproject.py @@ -7,7 +7,7 @@ from kraken.core.address import Address, AddressResolutionError from kraken.core.cli.main import main -from tests.conftest import chdir_context +from tests.kraken_core.conftest import chdir_context @contextmanager diff --git a/kraken-std/src/tests/integration/python/data/rust-poetry-project/src/__init__.py b/kraken-build/tests/kraken_std/__init__.py similarity index 100% rename from kraken-std/src/tests/integration/python/data/rust-poetry-project/src/__init__.py rename to kraken-build/tests/kraken_std/__init__.py diff --git a/kraken-std/src/tests/conftest.py b/kraken-build/tests/kraken_std/conftest.py similarity index 85% rename from kraken-std/src/tests/conftest.py rename to kraken-build/tests/kraken_std/conftest.py index 1de57398..93444bc3 100644 --- a/kraken-std/src/tests/conftest.py +++ b/kraken-build/tests/kraken_std/conftest.py @@ -6,10 +6,10 @@ import pytest -from tests.util.docker import DockerServiceManager +from tests.kraken_std.util.docker import DockerServiceManager -@pytest.fixture +@pytest.fixture(scope="session") def docker_service_manager() -> Iterator[DockerServiceManager]: with contextlib.ExitStack() as stack: yield DockerServiceManager(stack) diff --git a/kraken-std/src/tests/data/complex_manifest.toml b/kraken-build/tests/kraken_std/data/complex_manifest.toml similarity index 100% rename from kraken-std/src/tests/data/complex_manifest.toml rename to kraken-build/tests/kraken_std/data/complex_manifest.toml diff --git a/kraken-std/src/tests/data/http_requests.py b/kraken-build/tests/kraken_std/data/http_requests.py similarity index 100% rename from kraken-std/src/tests/data/http_requests.py rename to kraken-build/tests/kraken_std/data/http_requests.py diff --git a/kraken-std/src/tests/data/invalid_manifest.toml b/kraken-build/tests/kraken_std/data/invalid_manifest.toml similarity index 100% rename from kraken-std/src/tests/data/invalid_manifest.toml rename to kraken-build/tests/kraken_std/data/invalid_manifest.toml diff --git a/kraken-std/src/tests/data/workspace_manifest.toml b/kraken-build/tests/kraken_std/data/workspace_manifest.toml similarity index 100% rename from kraken-std/src/tests/data/workspace_manifest.toml rename to kraken-build/tests/kraken_std/data/workspace_manifest.toml diff --git a/kraken-std/src/tests/integration/cargo/.gitignore b/kraken-build/tests/kraken_std/integration/cargo/.gitignore similarity index 100% rename from kraken-std/src/tests/integration/cargo/.gitignore rename to kraken-build/tests/kraken_std/integration/cargo/.gitignore diff --git a/kraken-std/src/tests/integration/cargo/test_cargo_private_registry.py b/kraken-build/tests/kraken_std/integration/cargo/test_cargo_private_registry.py similarity index 93% rename from kraken-std/src/tests/integration/cargo/test_cargo_private_registry.py rename to kraken-build/tests/kraken_std/integration/cargo/test_cargo_private_registry.py index 0dc1832a..3fb3ec42 100644 --- a/kraken-std/src/tests/integration/cargo/test_cargo_private_registry.py +++ b/kraken-build/tests/kraken_std/integration/cargo/test_cargo_private_registry.py @@ -33,9 +33,9 @@ from pathlib import Path import pytest + from kraken.core import BuildError from kraken.core.testing import kraken_ctx, kraken_project - from kraken.std.cargo import ( cargo_auth_proxy, cargo_build, @@ -45,6 +45,7 @@ cargo_registry, cargo_sync_config, ) +from tests.resources import example_dir logger = logging.getLogger(__name__) @@ -60,10 +61,8 @@ class CargoRepositoryWithAuth: def publish_lib_and_build_app(repository: CargoRepositoryWithAuth | None, tempdir: Path) -> None: # Copy the Cargo project files to a temporary directory. - data_dir = tempdir - data_source_dir = Path(__file__).parent / "data" - for item in data_source_dir.iterdir(): - shutil.copytree(item, data_dir / item.name) + for item in ["cargo-hello-world-lib", "cargo-hello-world-app"]: + shutil.copytree(example_dir(item), tempdir / item) cargo_registry_id = "private-repo" publish_version = ".".join(str(random.randint(0, 999)) for _ in range(3)) @@ -73,7 +72,7 @@ def publish_lib_and_build_app(repository: CargoRepositoryWithAuth | None, tempdi # Build the library and publish it to Artifactory. if repository: logger.info( - "Publishing data/hello-world-lib to Cargo repository %r (%r)", + "Publishing cargo-hello-world-lib to Cargo repository %r (%r)", repository.name, repository.index_url, ) @@ -81,7 +80,7 @@ def publish_lib_and_build_app(repository: CargoRepositoryWithAuth | None, tempdi logger.info("Building data/hello-world-lib") with kraken_ctx() as ctx, kraken_project(ctx) as project1: - project1.directory = data_dir / "hello-world-lib" + project1.directory = example_dir("cargo-hello-world-lib") if repository: cargo_registry( cargo_registry_id, @@ -113,7 +112,7 @@ def publish_lib_and_build_app(repository: CargoRepositoryWithAuth | None, tempdi repository.index_url, ) with kraken_ctx() as ctx, kraken_project(ctx) as project2: - project2.directory = data_dir / "hello-world-app" + project2.directory = example_dir("cargo-hello-world-app") cargo_toml = project2.directory / "Cargo.toml" cargo_toml.write_text(cargo_toml.read_text().replace("$VERSION", publish_version)) cargo_registry( @@ -128,7 +127,7 @@ def publish_lib_and_build_app(repository: CargoRepositoryWithAuth | None, tempdi # Running the application should give "Hello from hello-world-lib!". output = sp.check_output( - [data_dir / "hello-world-app" / "target" / "debug" / "hello-world-app"] + [example_dir("cargo-hello-world-app") / "target" / "debug" / "hello-world-app"] ).decode() assert output.strip() == "Hello from hello-world-lib!" except BuildError as exc: diff --git a/kraken-std/src/tests/integration/docker/test_docker_secrets.py b/kraken-build/tests/kraken_std/integration/docker/test_docker_secrets.py similarity index 100% rename from kraken-std/src/tests/integration/docker/test_docker_secrets.py rename to kraken-build/tests/kraken_std/integration/docker/test_docker_secrets.py index 9a2bcafa..2af41c08 100644 --- a/kraken-std/src/tests/integration/docker/test_docker_secrets.py +++ b/kraken-build/tests/kraken_std/integration/docker/test_docker_secrets.py @@ -7,8 +7,8 @@ from pathlib import Path import pytest -from kraken.core import Project +from kraken.core import Project from kraken.std.docker import BUILD_BACKENDS, build_docker_image from kraken.std.util.render_file_task import RenderFileTask diff --git a/kraken-std/src/tests/integration/helm/data/example-chart/.helmignore b/kraken-build/tests/kraken_std/integration/helm/data/example-chart/.helmignore similarity index 100% rename from kraken-std/src/tests/integration/helm/data/example-chart/.helmignore rename to kraken-build/tests/kraken_std/integration/helm/data/example-chart/.helmignore diff --git a/kraken-std/src/tests/integration/helm/data/example-chart/Chart.yaml b/kraken-build/tests/kraken_std/integration/helm/data/example-chart/Chart.yaml similarity index 100% rename from kraken-std/src/tests/integration/helm/data/example-chart/Chart.yaml rename to kraken-build/tests/kraken_std/integration/helm/data/example-chart/Chart.yaml diff --git a/kraken-std/src/tests/integration/helm/data/example-chart/values.yaml b/kraken-build/tests/kraken_std/integration/helm/data/example-chart/values.yaml similarity index 100% rename from kraken-std/src/tests/integration/helm/data/example-chart/values.yaml rename to kraken-build/tests/kraken_std/integration/helm/data/example-chart/values.yaml diff --git a/kraken-std/src/tests/integration/helm/test_helm_oci.py b/kraken-build/tests/kraken_std/integration/helm/test_helm_oci.py similarity index 97% rename from kraken-std/src/tests/integration/helm/test_helm_oci.py rename to kraken-build/tests/kraken_std/integration/helm/test_helm_oci.py index 17a14e59..be892c03 100644 --- a/kraken-std/src/tests/integration/helm/test_helm_oci.py +++ b/kraken-build/tests/kraken_std/integration/helm/test_helm_oci.py @@ -5,12 +5,12 @@ from pathlib import Path import pytest + from kraken.common import not_none from kraken.core import Project - from kraken.std import http from kraken.std.helm import HelmPackageTask, HelmPushTask, helm_settings -from tests.util.docker import DockerServiceManager +from tests.kraken_std.util.docker import DockerServiceManager logger = logging.getLogger(__name__) diff --git a/kraken-std/src/tests/integration/python/test_python.py b/kraken-build/tests/kraken_std/integration/python/test_python.py similarity index 76% rename from kraken-std/src/tests/integration/python/test_python.py rename to kraken-build/tests/kraken_std/integration/python/test_python.py index e0051231..94244f21 100644 --- a/kraken-std/src/tests/integration/python/test_python.py +++ b/kraken-build/tests/kraken_std/integration/python/test_python.py @@ -3,21 +3,24 @@ import os import shutil import tarfile +import tempfile import unittest.mock from pathlib import Path -from typing import TypeVar +from typing import Iterator, TypeVar +from unittest.mock import patch import pytest import tomli + from kraken.common import not_none from kraken.core import Context, Project - from kraken.std import python from kraken.std.python.buildsystem.maturin import MaturinPoetryPyprojectHandler from kraken.std.python.buildsystem.pdm import PdmPyprojectHandler from kraken.std.python.buildsystem.poetry import PoetryPyprojectHandler from kraken.std.python.pyproject import Pyproject -from tests.util.docker import DockerServiceManager +from tests.kraken_std.util.docker import DockerServiceManager +from tests.resources import example_dir logger = logging.getLogger(__name__) PYPISERVER_PORT = 23213 @@ -25,32 +28,48 @@ USER_PASS = "password-for-integration-test" -@pytest.fixture -def pypiserver(docker_service_manager: DockerServiceManager, tempdir: Path) -> str: - # Create a htpasswd file for the registry. - logger.info("Generating htpasswd for Pypiserver") - htpasswd_content = not_none( +@pytest.fixture(scope="session", autouse=True) +def deactivate_venv() -> Iterator[None]: + with patch.dict(os.environ), tempfile.TemporaryDirectory() as tempdir: + pdm_config = Path(tempdir + "/.pdm.toml") + pdm_config.write_text(f'cache_dir = "{tempdir}/.pdm_cache"') + os.environ.pop("VIRTUAL_ENV", None) + os.environ.pop("VIRTUAL_ENV_PROMPT", None) + os.environ["POETRY_VIRTUALENVS_IN_PROJECT"] = "true" + os.environ["POETRY_CACHE_DIR"] = tempdir + os.environ["PDM_CONFIG_FILE"] = str(pdm_config) + yield + + +@pytest.fixture(scope="session") +def pypiserver(docker_service_manager: DockerServiceManager) -> str: + with tempfile.TemporaryDirectory() as _tempdir: + tempdir = Path(_tempdir) + + # Create a htpasswd file for the registry. + logger.info("Generating htpasswd for Pypiserver") + htpasswd_content = not_none( + docker_service_manager.run( + "httpd:2", + entrypoint="htpasswd", + args=["-Bbn", USER_NAME, USER_PASS], + capture_output=True, + ) + ) + htpasswd = tempdir / "htpasswd" + htpasswd.write_bytes(htpasswd_content) + + index_url = f"http://localhost:{PYPISERVER_PORT}/simple" docker_service_manager.run( - "httpd:2", - entrypoint="htpasswd", - args=["-Bbn", USER_NAME, USER_PASS], - capture_output=True, + "pypiserver/pypiserver:latest", + ["--passwords", "/.htpasswd", "-a", "update", "--hash-algo", "sha256"], + ports=[f"{PYPISERVER_PORT}:8080"], + volumes=[f"{htpasswd.absolute()}:/.htpasswd"], + detach=True, + probe=("GET", index_url), ) - ) - htpasswd = tempdir / "htpasswd" - htpasswd.write_bytes(htpasswd_content) - - index_url = f"http://localhost:{PYPISERVER_PORT}/simple" - docker_service_manager.run( - "pypiserver/pypiserver:latest", - ["--passwords", "/.htpasswd", "-a", "update", "--hash-algo", "sha256"], - ports=[f"{PYPISERVER_PORT}:8080"], - volumes=[f"{htpasswd.absolute()}:/.htpasswd"], - detach=True, - probe=("GET", index_url), - ) - logger.info("Started local Pypiserver at %s", index_url) - return index_url + logger.info("Started local Pypiserver at %s", index_url) + return index_url @pytest.mark.parametrize( @@ -67,8 +86,8 @@ def test__python_project_install_lint_and_publish( consumer_dir = project_dir + "-consumer" # Copy the projects to the temporary directory. - shutil.copytree(Path(__file__).parent / "data" / project_dir, tempdir / project_dir) - shutil.copytree(Path(__file__).parent / "data" / consumer_dir, tempdir / consumer_dir) + shutil.copytree(example_dir(project_dir), tempdir / project_dir) + shutil.copytree(example_dir(consumer_dir), tempdir / consumer_dir) # TODO (@NiklasRosenstein): Make sure Poetry installs the environment locally so it gets cleaned up # with the temporary directory. @@ -99,10 +118,9 @@ def test__python_project_upgrade_python_version_string( ) -> None: tempdir = kraken_project.directory - project_dir = "version-project" build_as_version = "9.9.9a1" init_file = "src/version_project/__init__.py" - original_dir = Path(__file__).parent / "data" / project_dir + original_dir = example_dir("version-project") project_dist = kraken_project.build_directory / "python-dist" # Copy the projects to the temporary directory. @@ -155,7 +173,7 @@ def test__python_pyproject_reads_correct_data( ) -> None: # Copy the projects to the temporary directory. new_dir = kraken_project.directory / project_dir - shutil.copytree(Path(__file__).parent / "data" / project_dir, new_dir) + shutil.copytree(example_dir(project_dir), new_dir) pyproject = Pyproject.read(new_dir / "pyproject.toml") local_build_system = python.buildsystem.detect_build_system(new_dir) @@ -176,9 +194,7 @@ def test__python_project_coverage( kraken_project: Project, ) -> None: tempdir = kraken_project.directory - - project_dir = "slap-project" - original_dir = Path(__file__).parent / "data" / project_dir + original_dir = example_dir("slap-project") # Copy the projects to the temporary directory. shutil.copytree(original_dir, tempdir, dirs_exist_ok=True) @@ -199,11 +215,12 @@ def test__python_project_coverage( assert Path(kraken_project.build_directory / "coverage.xml").is_file() -def test__python_project_can_lint_lint_enforced_directories(kraken_ctx: Context, kraken_project: Project) -> None: +def test__python_project_can_lint_lint_enforced_directories( + kraken_ctx: Context, + kraken_project: Project, +) -> None: tempdir = kraken_project.directory - - project_dir = "lint-enforced-directories-project" - original_dir = Path(__file__).parent / "data" / project_dir + original_dir = example_dir("lint-enforced-directories-project") shutil.copytree(original_dir, tempdir, dirs_exist_ok=True) logger.info("Loading and executing Kraken project (%s)", tempdir) diff --git a/kraken-std/src/tests/test_cargo_bump_version_task.py b/kraken-build/tests/kraken_std/test_cargo_bump_version_task.py similarity index 99% rename from kraken-std/src/tests/test_cargo_bump_version_task.py rename to kraken-build/tests/kraken_std/test_cargo_bump_version_task.py index 08958de7..62168da5 100644 --- a/kraken-std/src/tests/test_cargo_bump_version_task.py +++ b/kraken-build/tests/kraken_std/test_cargo_bump_version_task.py @@ -3,7 +3,6 @@ from pathlib import Path from kraken.core import Project - from kraken.std.cargo import cargo_bump_version, cargo_registry from kraken.std.cargo.manifest import CargoManifest diff --git a/kraken-std/src/tests/test_cargo_manifest.py b/kraken-build/tests/kraken_std/test_cargo_manifest.py similarity index 100% rename from kraken-std/src/tests/test_cargo_manifest.py rename to kraken-build/tests/kraken_std/test_cargo_manifest.py diff --git a/kraken-std/src/tests/test_cargo_metadata.py b/kraken-build/tests/kraken_std/test_cargo_metadata.py similarity index 100% rename from kraken-std/src/tests/test_cargo_metadata.py rename to kraken-build/tests/kraken_std/test_cargo_metadata.py diff --git a/kraken-std/src/tests/test_cargo_version.py b/kraken-build/tests/kraken_std/test_cargo_version.py similarity index 100% rename from kraken-std/src/tests/test_cargo_version.py rename to kraken-build/tests/kraken_std/test_cargo_version.py diff --git a/kraken-std/src/tests/test_docker_util.py b/kraken-build/tests/kraken_std/test_docker_util.py similarity index 100% rename from kraken-std/src/tests/test_docker_util.py rename to kraken-build/tests/kraken_std/test_docker_util.py diff --git a/kraken-std/src/tests/test_import.py b/kraken-build/tests/kraken_std/test_import.py similarity index 100% rename from kraken-std/src/tests/test_import.py rename to kraken-build/tests/kraken_std/test_import.py diff --git a/kraken-std/src/tests/test_lint_ban_httpx.py b/kraken-build/tests/kraken_std/test_lint_ban_httpx.py similarity index 100% rename from kraken-std/src/tests/test_lint_ban_httpx.py rename to kraken-build/tests/kraken_std/test_lint_ban_httpx.py diff --git a/kraken-std/src/tests/test_python_version.py b/kraken-build/tests/kraken_std/test_python_version.py similarity index 100% rename from kraken-std/src/tests/test_python_version.py rename to kraken-build/tests/kraken_std/test_python_version.py diff --git a/kraken-std/src/tests/util/data/gitignore/gitignore_corrupt_content/.gitignore b/kraken-build/tests/kraken_std/util/data/gitignore/gitignore_corrupt_content/.gitignore similarity index 100% rename from kraken-std/src/tests/util/data/gitignore/gitignore_corrupt_content/.gitignore rename to kraken-build/tests/kraken_std/util/data/gitignore/gitignore_corrupt_content/.gitignore diff --git a/kraken-std/src/tests/util/data/gitignore/gitignore_corrupt_hash/.gitignore b/kraken-build/tests/kraken_std/util/data/gitignore/gitignore_corrupt_hash/.gitignore similarity index 100% rename from kraken-std/src/tests/util/data/gitignore/gitignore_corrupt_hash/.gitignore rename to kraken-build/tests/kraken_std/util/data/gitignore/gitignore_corrupt_hash/.gitignore diff --git a/kraken-std/src/tests/util/data/gitignore/gitignore_empty/.gitignore b/kraken-build/tests/kraken_std/util/data/gitignore/gitignore_empty/.gitignore similarity index 100% rename from kraken-std/src/tests/util/data/gitignore/gitignore_empty/.gitignore rename to kraken-build/tests/kraken_std/util/data/gitignore/gitignore_empty/.gitignore diff --git a/kraken-std/src/tests/util/data/gitignore/gitignore_unsorted/.gitignore b/kraken-build/tests/kraken_std/util/data/gitignore/gitignore_unsorted/.gitignore similarity index 100% rename from kraken-std/src/tests/util/data/gitignore/gitignore_unsorted/.gitignore rename to kraken-build/tests/kraken_std/util/data/gitignore/gitignore_unsorted/.gitignore diff --git a/kraken-std/src/tests/util/data/gitignore/gitignore_valid/.gitignore b/kraken-build/tests/kraken_std/util/data/gitignore/gitignore_valid/.gitignore similarity index 100% rename from kraken-std/src/tests/util/data/gitignore/gitignore_valid/.gitignore rename to kraken-build/tests/kraken_std/util/data/gitignore/gitignore_valid/.gitignore diff --git a/kraken-std/src/tests/util/data/readme_empty/README.md b/kraken-build/tests/kraken_std/util/data/readme_empty/README.md similarity index 100% rename from kraken-std/src/tests/util/data/readme_empty/README.md rename to kraken-build/tests/kraken_std/util/data/readme_empty/README.md diff --git a/kraken-std/src/tests/util/data/readme_invalid/Readme.MD b/kraken-build/tests/kraken_std/util/data/readme_invalid/Readme.MD similarity index 100% rename from kraken-std/src/tests/util/data/readme_invalid/Readme.MD rename to kraken-build/tests/kraken_std/util/data/readme_invalid/Readme.MD diff --git a/kraken-std/src/tests/util/docker.py b/kraken-build/tests/kraken_std/util/docker.py similarity index 100% rename from kraken-std/src/tests/util/docker.py rename to kraken-build/tests/kraken_std/util/docker.py index 6bf273f7..e99216d3 100644 --- a/kraken-std/src/tests/util/docker.py +++ b/kraken-build/tests/kraken_std/util/docker.py @@ -6,8 +6,8 @@ import time import httpx -from kraken.common import flatten +from kraken.common import flatten from kraken.std import http logger = logging.getLogger(__name__) diff --git a/kraken-std/src/tests/util/test_copyright.py b/kraken-build/tests/kraken_std/util/test_copyright.py similarity index 99% rename from kraken-std/src/tests/util/test_copyright.py rename to kraken-build/tests/kraken_std/util/test_copyright.py index 8624c987..8b5bf8ab 100644 --- a/kraken-std/src/tests/util/test_copyright.py +++ b/kraken-build/tests/kraken_std/util/test_copyright.py @@ -1,7 +1,6 @@ from pathlib import Path from kraken.core import Project - from kraken.std.util.copyright_task import check_and_format_copyright _TEST_HOLDER = "Test Company" diff --git a/kraken-build/tests/resources.py b/kraken-build/tests/resources.py new file mode 100644 index 00000000..949da39c --- /dev/null +++ b/kraken-build/tests/resources.py @@ -0,0 +1,18 @@ +""" +Helper functions to access test resources. +""" + + +from pathlib import Path + + +def repository_root() -> Path: + """Returns the path to the root of the repository.""" + path = Path(__file__).parent.parent + assert path.name == "kraken-build" + return path.parent + + +def example_dir(name: str) -> Path: + """Returns the path to the example directory.""" + return repository_root() / "examples" / name diff --git a/kraken-common/.changelog/0.20.1.toml b/kraken-common/.changelog/0.20.1.toml deleted file mode 100644 index a04a372e..00000000 --- a/kraken-common/.changelog/0.20.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2023-05-15" - -[[entries]] -id = "e38c1817-b7f4-430e-962b-bcd826200cb9" -type = "improvement" -description = "Move code for `Supplier` from `nr-stream` package to `kraken-common`" -author = "niklas.rosenstein@helsing.ai" diff --git a/kraken-common/.changelog/0.25.0.toml b/kraken-common/.changelog/0.25.0.toml deleted file mode 100644 index c1908b8f..00000000 --- a/kraken-common/.changelog/0.25.0.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-06-19" - -[[entries]] -id = "4c5a9a3a-7981-4a61-a3a9-a68661178ef0" -type = "feature" -description = "add `kraken.common.findpython` module which will be used by kraken-wrapper to find an applicable Python version per the interpreter constraint in the buildscript requirements." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/42" - -[[entries]] -id = "e368a217-723a-4936-9586-bf3cadfdfcd2" -type = "improvement" -description = "Set `DEFAULT_INTERPRETER_CONSTRAINT` to` >=3.10,<3.11`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/42" diff --git a/kraken-common/.changelog/0.26.0.toml b/kraken-common/.changelog/0.26.0.toml deleted file mode 100644 index deff4acb..00000000 --- a/kraken-common/.changelog/0.26.0.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-06-19" - -[[entries]] -id = "ca06abb8-6ebf-4ee9-90d7-2e9b28c8218d" -type = "improvement" -description = "Use `rich`'s logging handler, add `kraken.common.exceptions` module" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/45" - -[[entries]] -id = "8b21f89e-a679-4333-aa85-b7d897c47927" -type = "breaking change" -description = "Remove `deprecated_get_requirement_spec_from_file_header()` function" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/45" diff --git a/kraken-common/.changelog/0.27.0.toml b/kraken-common/.changelog/0.27.0.toml deleted file mode 100644 index e9961eca..00000000 --- a/kraken-common/.changelog/0.27.0.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-06-27" - -[[entries]] -id = "45ea820f-1988-43ec-842a-18f9dd381ac0" -type = "feature" -description = "Add `kraken.common.strings` module with the `as_bytes()` function" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/51" - -[[entries]] -id = "8d877165-07ec-4b8e-859f-636687cee884" -type = "feature" -description = "Add `kraken.common.strings.as_string()`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/56" diff --git a/kraken-common/.changelog/0.28.3.toml b/kraken-common/.changelog/0.28.3.toml deleted file mode 100644 index a8b94db6..00000000 --- a/kraken-common/.changelog/0.28.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2023-07-10" - -[[entries]] -id = "be7bde71-d3de-437b-97b0-6e7f6c23d43d" -type = "improvement" -description = "Raise min Python version to 3.7" -author = "@NiklasRosenstein" diff --git a/kraken-common/.changelog/0.30.0.toml b/kraken-common/.changelog/0.30.0.toml deleted file mode 100644 index 8a82c53e..00000000 --- a/kraken-common/.changelog/0.30.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-07-31" - -[[entries]] -id = "1191a1e0-ffe3-428d-bb3c-9feba5d3b7a9" -type = "improvement" -description = "Upgrades GitHub actions dependencies" -author = "@Tpt" -pr = "https://github.com/kraken-build/kraken-build/pull/85" diff --git a/kraken-common/.changelog/0.30.1.toml b/kraken-common/.changelog/0.30.1.toml deleted file mode 100644 index 89abf7f3..00000000 --- a/kraken-common/.changelog/0.30.1.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-08-03" - -[[entries]] -id = "626f9a26-e6ce-4285-8f05-7dfe1bded22c" -type = "fix" -description = "Makes flake8 happy" -author = "@Tpt" -pr = "https://github.com/kraken-build/kraken-build/pull/91" diff --git a/kraken-common/.changelog/0.31.3.toml b/kraken-common/.changelog/0.31.3.toml deleted file mode 100644 index 6995a84d..00000000 --- a/kraken-common/.changelog/0.31.3.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-09-14" - -[[entries]] -id = "2f8eeecf-df8f-4d7d-9b38-76297a123371" -type = "refactor" -description = "Add http module to common" -author = "alex.spencer@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/109" diff --git a/kraken-common/.changelog/0.4.2.toml b/kraken-common/.changelog/0.4.2.toml deleted file mode 100644 index 6177d972..00000000 --- a/kraken-common/.changelog/0.4.2.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-12-14" - -[[entries]] -id = "fd8e74d9-cc80-471c-ac73-c7793806fb05" -type = "feature" -description = "add propagate_argparse_formatter_to_subparser" -author = "@NiklasRosenstein" diff --git a/kraken-common/.changelog/0.5.0.toml b/kraken-common/.changelog/0.5.0.toml deleted file mode 100644 index 568a029b..00000000 --- a/kraken-common/.changelog/0.5.0.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-12-15" - -[[entries]] -id = "ee44a383-b8a4-4236-9cfc-6556ab1f2df2" -type = "breaking change" -description = "remove `find_build_script()` and `iter_script_runners()` functions" -author = "@NiklasRosenstein" - -[[entries]] -id = "016452c1-def0-41e2-be99-3861eed9493c" -type = "feature" -description = "add `ProjectFinder` interface and implementations (`CurrentDirectoryProjectFinder` and `GitAwareProjectFinder`)" -author = "@NiklasRosenstein" diff --git a/kraken-common/.changelog/0.5.1.toml b/kraken-common/.changelog/0.5.1.toml deleted file mode 100644 index 564c5165..00000000 --- a/kraken-common/.changelog/0.5.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-12-15" - -[[entries]] -id = "c8a0319a-4030-4f77-96d5-6ce5ac749217" -type = "breaking change" -description = "rename `ProjectInfo.path` to `ProjectInfo.script` but we have no consumers of 0.5.0 so we keep this as a patch bump" -author = "@NiklasRosenstein" diff --git a/kraken-common/.changelog/0.5.3.toml b/kraken-common/.changelog/0.5.3.toml deleted file mode 100644 index 2075c450..00000000 --- a/kraken-common/.changelog/0.5.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2023-02-15" - -[[entries]] -id = "62482e19-4c68-4142-aa77-e25401a1ee62" -type = "improvement" -description = "Allow disabling `GitAwareProjectFinder` home boundary check." -author = "@NiklasRosenstein" diff --git a/kraken-common/.changelog/0.5.4.toml b/kraken-common/.changelog/0.5.4.toml deleted file mode 100644 index e023d7ea..00000000 --- a/kraken-common/.changelog/0.5.4.toml +++ /dev/null @@ -1,10 +0,0 @@ -release-date = "2023-02-15" - -[[entries]] -id = "30f9f26a-d6ce-4999-928d-2de27a4287ec" -type = "improvement" -description = "allow `not_none(message)` parameter to be a callable" -author = "@NiklasRosenstein" -issues = [ - "https://github.com/kraken-build/kraken-common/issues/2", -] diff --git a/kraken-common/.flake8 b/kraken-common/.flake8 deleted file mode 100644 index f53cd4ab..00000000 --- a/kraken-common/.flake8 +++ /dev/null @@ -1,19 +0,0 @@ -[flake8] -max-line-length = 120 -# Black can yield formatted code that triggers these Flake8 warnings. -ignore= - # line break before binary operator - W503, - # line break after binary operator - W504, - -per-file-ignores = - # Our http module wraps httpx, and is the only place where calls to httpx are allowed - src/kraken/common/http/__init__.py:KRA001, - # This file contains disallowed structures on purpose (it is used to test the linter itself) - src/tests/data/http_requests.py:KRA001,KRA002, - -[flake8:local-plugins] -extension = - KRA001 = kraken.common.http.lint_ban_bare_requests:BanBareHttpxCalls - KRA002 = kraken.common.http.lint_ban_bare_requests:BanBareRequestsCalls \ No newline at end of file diff --git a/kraken-common/.gitignore b/kraken-common/.gitignore deleted file mode 100644 index 7ba58e41..00000000 --- a/kraken-common/.gitignore +++ /dev/null @@ -1,8 +0,0 @@ -/.vscode -/dist -/build -.venv/ -*.egg-info/ -__pycache__/ -poetry.lock -.dmypy.json diff --git a/kraken-common/README.md b/kraken-common/README.md index 964b33b0..0df3ff61 100644 --- a/kraken-common/README.md +++ b/kraken-common/README.md @@ -1,62 +1 @@ -# kraken-common - -The `kraken-common` package is the shared utility namespace for the Kraken build system and -the Kraken wrapper CLI. It contains various generic utilities, as well as the tools for loading -the metadata of a Kraken project. - -Aside from general utilities that are used by one, the other or both, this package also implements the -shared logic for executing Kraken Python and BuildDSL build scripts and retrieving its metadata. - -### Script runners - -The following types of Kraken script runners are currently available via the `kraken.common` package: - -* `PythonScriptRunner`: Matches a `kraken.py` or `.kraken.py` file and runs it as a pure Python script. -* `BuildDslScriptRunner`: Matches a `kraken.build` or `.kraken.build` file and runs it as a [`builddsl`][0] - script, with the `buildscript()` function being available by default. - -[0]: https://niklasrosenstein.github.io/python-builddsl/ - -### Buildscript metadata - -A Kraken project contains at least one `.kraken.py` file (build script) and maybe a `.kraken.lock` -file (lock file). The build script at the root of a project may contain hints for the Kraken wrapper -CLI to be able to correctly bootstrap an environment that contains the Kraken build system. - - -
PythonBuildDSL
- -```py -from kraken.common import buildscript - -buildscript( - requirements=["kraken-std ^0.4.16"], -) -``` - - - -```py -buildscript { - requires "kraken-std ^0.4.16" -} - - -``` - -
- -The way that this works is that the `buildscript()` function raises an exception that aborts the execution -of the build script before the rest of the script is executed, and the exception contains the metadata. -When the build script is executed by the Kraken build system instead, the function does nothing. - -The API to capture the data passed to a call to the `buildscript()` function is as follows: - -```py -from kraken.common import BuildscriptMetadata - -with BuildscriptMetadata.capture() as metadata_future: - ... - -metadata = metadata_future.result() -``` +Placeholder for [kraken-build](https://pypi.org/project/kraken-build) for backwards compatibility. diff --git a/kraken-common/pyproject.toml b/kraken-common/pyproject.toml index 9d190bdb..b0236f23 100644 --- a/kraken-common/pyproject.toml +++ b/kraken-common/pyproject.toml @@ -9,7 +9,7 @@ description = "" authors = ["Niklas Rosenstein "] license = "MIT" readme = "README.md" -packages = [{ include = "kraken/common", from = "src" }] +packages = [] classifiers = [] keywords = [] @@ -20,65 +20,4 @@ Homepage = "https://kraken-build.github.io/kraken-build/" Repository = "https://github.com/kraken-build/kraken-build/" [tool.poetry.dependencies] -python = ">=3.7,<4.0" -builddsl = "^1.0.0" -dataclasses = { version = "^0.6", python = "<3.7" } -setuptools = "*" -typing-extensions = ">=3.0.0.0,<4.7.0" # Upper constraint due to https://github.com/python/typing_extensions/issues/265 -httpx = "^0.23.0" - -# Allow older versions for Python 3.6 compatibility. -tomli = ">=1.0.0,<3.0.0" -tomli_w = ">=0.4.0,<2.0.0" -packaging = "^23.1" -rich = "^13.4.2" - - -[tool.poetry.dev-dependencies] -black = "*" -flake8 = "*" -isort = "*" -mypy = "*" -pytest = "*" -termcolor = "*" -types-dataclasses = { version = "^0.6.6", python = "<3.7" } -types-setuptools = "*" -types-termcolor = "*" -types-requests = "^2.28.0" -rich = "^13.4.2" - -[tool.slap] -typed = true - -[tool.slap.test] -check = "slap check" -mypy = "dmypy run src/" -pytest = "pytest -vv" -black = "black --check src/" -isort = "isort --check-only src/" -flake8 = "flake8 src/" - -[tool.slap.run] -fmt = "black src/ && isort src/" - -[tool.mypy] -python_version = "3.7" -explicit_package_bases = true -mypy_path = ["src"] -namespace_packages = true -pretty = true -show_error_codes = true -show_error_context = true -strict = true -warn_no_return = true -warn_redundant_casts = true -warn_unreachable = true -warn_unused_ignores = true - -[tool.isort] -profile = "black" -line_length = 120 -combine_as_imports = true - -[tool.black] -line-length = 120 +kraken-build = "0.31.7" diff --git a/kraken-common/src/tests/conftest.py b/kraken-common/src/tests/conftest.py deleted file mode 100644 index 6f7852b1..00000000 --- a/kraken-common/src/tests/conftest.py +++ /dev/null @@ -1,23 +0,0 @@ -import contextlib -import os -import tempfile -import typing -from pathlib import Path - -import pytest - - -@pytest.fixture -def tempdir() -> typing.Iterator[Path]: - with tempfile.TemporaryDirectory() as tempdir: - yield Path(tempdir) - - -@contextlib.contextmanager -def chdir_context(path: Path) -> typing.Iterator[None]: - cwd = os.getcwd() - os.chdir(path) - try: - yield - finally: - os.chdir(cwd) diff --git a/kraken-common/src/tests/data/http_requests.py b/kraken-common/src/tests/data/http_requests.py deleted file mode 100644 index 36d7009c..00000000 --- a/kraken-common/src/tests/data/http_requests.py +++ /dev/null @@ -1,34 +0,0 @@ -# This file has examples of constructs that should be disallowed by some of our custom linters - -import httpx -import requests - -from kraken.common import http - - -def please_dont_do_this_dear() -> None: - """ - Call a method of httpx. This is disallowed, as http.get() should be used instead - """ - reply = httpx.get("http://www.xkcd.com") - reply.raise_for_status() - - -def i_told_you_not_to_do_this() -> None: - """ - Call a method of requests. This is disallowed, as http.get() should be used instead - """ - reply1 = requests.get("http://www.xkcd.com") - reply1.raise_for_status() - reply2 = requests.post("http://www.xkcd.com") - reply2.raise_for_status() - - -def now_thats_a_good_boy() -> None: - """ - This calls a method using the `http` wrapper module, this is allowed. - This uses a constant defined in requests, but that is allowed as well (constants are - not re-exported by our `http` module) - """ - reply = http.get("http://www.xkcd.com") - assert reply.status_code != requests.codes.teapot diff --git a/kraken-common/src/tests/test_lint_ban_httpx.py b/kraken-common/src/tests/test_lint_ban_httpx.py deleted file mode 100644 index 9ed7077b..00000000 --- a/kraken-common/src/tests/test_lint_ban_httpx.py +++ /dev/null @@ -1,23 +0,0 @@ -import ast -import typing -from pathlib import Path - -from kraken.common.http.lint_ban_bare_requests import BanBareHttpxCalls, BanBareRequestsCalls - -DATA_PATH = Path(__file__).parent / "data" - - -def test_lint() -> None: - lints = lint_file("http_requests.py") - assert lints == (1, 2) - - -def lint_file(filename: str) -> typing.Tuple[int, int]: - filepath = (DATA_PATH / filename).absolute() - with open(filepath) as f: - tree = ast.parse(f.read()) - - httpx = list(BanBareHttpxCalls(tree, str(filepath)).run()) - requests = list(BanBareRequestsCalls(tree, str(filepath)).run()) - - return (len(httpx), len(requests)) diff --git a/kraken-core/.changelog/0.1.2.toml b/kraken-core/.changelog/0.1.2.toml deleted file mode 100644 index 7dfe881d..00000000 --- a/kraken-core/.changelog/0.1.2.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-04" - -[[entries]] -id = "b6a6a191-06a9-4a14-a5af-d1dbf0a960c8" -type = "improvement" -description = "add `Project.to_path()`" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.1.3.toml b/kraken-core/.changelog/0.1.3.toml deleted file mode 100644 index 8d9547b7..00000000 --- a/kraken-core/.changelog/0.1.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-04" - -[[entries]] -id = "a40eb67d-a8d2-492c-b60a-8b9b7a9890dd" -type = "feature" -description = "Add `Project.resolve_tasks()`" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.2.0.toml b/kraken-core/.changelog/0.2.0.toml deleted file mode 100644 index e1fcf5a5..00000000 --- a/kraken-core/.changelog/0.2.0.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-07-06" - -[[entries]] -id = "57c34d0e-290a-4663-a421-84e5270854b2" -type = "feature" -description = "introduce Property concept and make Action and Task a subclass for HasProperties, Task.action is a property and Action.task was added which is also a property" -author = "@NiklasRosenstein" - -[[entries]] -id = "2eaa2c11-4e09-492a-ba81-20f3d34de412" -type = "breaking change" -description = "redesign API, remove Action" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.2.1.toml b/kraken-core/.changelog/0.2.1.toml deleted file mode 100644 index a5542ecd..00000000 --- a/kraken-core/.changelog/0.2.1.toml +++ /dev/null @@ -1,19 +0,0 @@ -release-date = "2022-07-06" - -[[entries]] -id = "920fe0e8-3852-4df3-820c-1f3595a50863" -type = "feature" -description = "install requirements.txt into .build/.lib directory if a .kraken/requirements.txt file exists" -author = "@NiklasRosenstein" - -[[entries]] -id = "9dc07eb6-b564-4212-8d0b-f71bee8d42e4" -type = "feature" -description = "implement Path value adapters" -author = "@NiklasRosenstein" - -[[entries]] -id = "1297f956-619f-4806-a963-5392c82d5c78" -type = "improvement" -description = "add derived_from to of_callable(), setdefault() no longer returns a value" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.2.2.toml b/kraken-core/.changelog/0.2.2.toml deleted file mode 100644 index 92381588..00000000 --- a/kraken-core/.changelog/0.2.2.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-06" - -[[entries]] -id = "422f4017-b43d-43d2-8fd0-3fdc534dc4cd" -type = "fix" -description = "fix typing of Supplier derived_from args" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.20.1.toml b/kraken-core/.changelog/0.20.1.toml deleted file mode 100644 index 3749e0f6..00000000 --- a/kraken-core/.changelog/0.20.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2023-05-15" - -[[entries]] -id = "5b094100-d0b3-4c65-a78d-dd37980c2ba8" -type = "improvement" -description = "Use `kraken.common.supplier.Supplier` instead of `nr.stream.Supplier`, Remove `kraken.core.api` in favor of `kraken.core`" -author = "niklas.rosenstein@helsing.ai" diff --git a/kraken-core/.changelog/0.24.0.toml b/kraken-core/.changelog/0.24.0.toml deleted file mode 100644 index 1896459c..00000000 --- a/kraken-core/.changelog/0.24.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-06-13" - -[[entries]] -id = "394465ea-19e4-4a15-b83a-260df55a5d13" -type = "improvement" -description = "Added colorful error handling" -author = "chris.cunningham@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/31" diff --git a/kraken-core/.changelog/0.25.0.toml b/kraken-core/.changelog/0.25.0.toml deleted file mode 100644 index ba6255b1..00000000 --- a/kraken-core/.changelog/0.25.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-06-19" - -[[entries]] -id = "6c0f7dd8-367b-402b-a4f9-5c7bb8ab7f53" -type = "improvement" -description = "Now requires explicitly Python 3.10. We can enable Python 3.11 when Dill 0.3.7 is enabled. (See https://github.com/uqfoundation/dill/issues/595)" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/42" diff --git a/kraken-core/.changelog/0.27.0.toml b/kraken-core/.changelog/0.27.0.toml deleted file mode 100644 index 270774e6..00000000 --- a/kraken-core/.changelog/0.27.0.toml +++ /dev/null @@ -1,119 +0,0 @@ -release-date = "2023-06-27" - -[[entries]] -id = "e16431de-a6a4-4a4d-a85f-286de5fc2ab8" -type = "improvement" -description = "Replace more references to deprecated `Task.path` and `Project.path` with the new `.address` attribute" -author = "@NiklasRosenstein" - -[[entries]] -id = "41818a3d-25b8-46ee-8dc7-198eeb0b6f5d" -type = "improvement" -description = "Get rid of `pretty_errors` again, experience has shown that it does not provide the added value that we hoped for as it still just outputs a Python traceback, but now in a different format than people are used to." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/49" - -[[entries]] -id = "fc94e125-f8a9-42ac-92b5-18278ab650db" -type = "improvement" -description = "Handle common errors in the Kraken CLI to improve the user experience." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/49" - -[[entries]] -id = "dbd60541-5ee2-4a87-a7b5-6fb07af9a77d" -type = "feature" -description = "Add `TaskStatusType.WARNING`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/50" - -[[entries]] -id = "197faa5a-4803-4c7b-8a27-53bbf023dd52" -type = "feature" -description = "Support `Literal` type hints in `Property`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/50" - -[[entries]] -id = "2746bc35-5f52-41ff-958d-fb269f4fe2ee" -type = "breaking change" -description = "The `kraken.core.testing` Pytest fixtures now always create a Context and Project in temporary directories. The temporary directories are distinct, this helps in ensuring that we do not accidentally depend on the current working directory or the project directory being somehow related to the Context directory." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/50" - -[[entries]] -id = "4fa257a1-814b-4c05-bce5-9f4d42205c8d" -type = "breaking change" -description = "Moved `as_bytes()` from `kraken.core.lib.check_file_contents_task` to `kraken.common.strings`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/51" - -[[entries]] -id = "600f4fac-72a5-4919-ba73-36015a2994ab" -type = "feature" -description = "Add `Property.is_set()` which returns `True` if `Property.set()` (or its variants) have not been called before and if the property does not have a default value." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/51" - -[[entries]] -id = "6bb6c310-8531-4ceb-816c-febc6f087d36" -type = "feature" -description = "Add `Project.task()` overload to create tasks, which deprecated `Project.do()`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "b35ae751-db16-4f63-8ca7-28a6de247c8c" -type = "deprecation" -description = "Deprecate `Project.do()` in favor of `Project.task()`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "22b41084-590b-4f4e-b795-5f329caaac20" -type = "improvement" -description = "Add `Address.normalize(keep_container)` keyword argument." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "b43ae504-597e-47fb-b61f-a2f275cdd79a" -type = "fix" -description = "Fixed `Context.resolve_tasks()` when `None` is passed, which is intended to resolve only the default tasks in the current project and its subprojects. Before this fix, the method would return _all_ tasks of the current project instead, because the address `.` would be treated like a single-element address, such as `lint`, which gets turned into `:**:.` (or `:**:lint`)." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "e4cca7cc-7aca-4472-937c-cd429e94a6cd" -type = "feature" -description = "Add `Project.task(name, closure)` overload that can be used in BuildDSL build scripts to define custom tasks. It creates an instance of an `InlineTask`, which also allows adding properties dynamically." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "c6a52685-87f9-4990-b516-315b53f8a2a1" -type = "feature" -description = "The `Property` class is now a Python descriptor, allowing to assign property values to tasks using assignments in addition to `set()`. Assigning `None` to it will set it to `None` for optional properties, and clear it for non-optional properties." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "f29e0786-6c0a-42f8-a20a-123a637669e0" -type = "fix" -description = "Fix `kraken query tree` command to remove the `--no-save` option and to never save the build context to disk after the command." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "867fafe2-0802-442e-9d17-4dd9115bc34d" -type = "breaking change" -description = "Move `kraken.core.lib.render_file_task` and `kraken.core.lib.check_file_contents_task` to `kraken.std.util`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/56" - -[[entries]] -id = "4d40c573-419f-49c9-9648-d4acde6c7687" -type = "improvement" -description = "When a build fails, the summary of which tasks have not been executed no longer include groups." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/57" diff --git a/kraken-core/.changelog/0.28.0.dev0.toml b/kraken-core/.changelog/0.28.0.dev0.toml deleted file mode 100644 index 55021dae..00000000 --- a/kraken-core/.changelog/0.28.0.dev0.toml +++ /dev/null @@ -1,29 +0,0 @@ -release-date = "2023-07-07" - -[[entries]] -id = "1fd57aac-6ed7-417d-8075-c948f7567194" -type = "deprecation" -description = "Deprecate `Property.config()`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/64" - -[[entries]] -id = "2799f865-f670-44ed-981c-1c6d52275f1f" -type = "feature" -description = "Add `Property.required()` and a `help` parameter to `Property.output()`, `Property.default()` and `Property.default_factory()`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/64" - -[[entries]] -id = "4c2eef2a-9e4c-4c0c-b5f9-494097fcc5b3" -type = "feature" -description = "Add `Task.add_tag()`, `Task.remove_tag()` and `Task.get_tags()`. A \"skip\" tag can now be added to a task to skip it." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/66" - -[[entries]] -id = "25f507d1-09ba-4107-9f6f-6217f75b66d5" -type = "improvement" -description = "Allow `Task` items in parameter to `Context.resolve_tasks()`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/66" diff --git a/kraken-core/.changelog/0.3.3.toml b/kraken-core/.changelog/0.3.3.toml deleted file mode 100644 index eb226564..00000000 --- a/kraken-core/.changelog/0.3.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-19" - -[[entries]] -id = "72290eaf-79cc-4dc5-9457-f1fa8375e720" -type = "feature" -description = "add `Project.do(group)` parameter and `TaskResult.from_exit_code()` method" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.3.4.toml b/kraken-core/.changelog/0.3.4.toml deleted file mode 100644 index 8a338ab4..00000000 --- a/kraken-core/.changelog/0.3.4.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-19" - -[[entries]] -id = "97a75ab7-16da-4780-ae65-190f10e04bed" -type = "breaking change" -description = "Build script can only be called `.kraken.py`, all other alternative names are no longer supported" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.3.5.toml b/kraken-core/.changelog/0.3.5.toml deleted file mode 100644 index baaf1eed..00000000 --- a/kraken-core/.changelog/0.3.5.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-20" - -[[entries]] -id = "48307425-8322-47be-bc50-5804e81c87bf" -type = "feature" -description = "add `kraken.core.utils.is_relative_to()` function" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.3.6.toml b/kraken-core/.changelog/0.3.6.toml deleted file mode 100644 index 35235ced..00000000 --- a/kraken-core/.changelog/0.3.6.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-20" - -[[entries]] -id = "845a6374-1525-40a4-8635-9c79bb98d47d" -type = "feature" -description = "The `Property` type can now be used with (a union of) any type(s) as long as it is a proper `type` subclass and can be used for type checking" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.31.0.toml b/kraken-core/.changelog/0.31.0.toml deleted file mode 100644 index 1dd3a12d..00000000 --- a/kraken-core/.changelog/0.31.0.toml +++ /dev/null @@ -1,11 +0,0 @@ -release-date = "2023-08-08" - -[[entries]] -id = "cb501ed7-e633-4a73-bd0e-0e95bdeeb96d" -type = "fix" -description = "Rework task description wrapping" -author = "jon.gjengset@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/98" -issues = [ - "https://github.com/kraken-build/kraken-build/issues/93", -] diff --git a/kraken-core/.changelog/0.31.4.toml b/kraken-core/.changelog/0.31.4.toml deleted file mode 100644 index a6c6718f..00000000 --- a/kraken-core/.changelog/0.31.4.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-09-19" - -[[entries]] -id = "4cea3e6c-d362-441d-99fa-83efacd16689" -type = "fix" -description = "Fixed a bug where tasks that are dependencies of another task excluded with the `-X` option (recursive exclude) would be tagged unconditionally to be skipped during execution even if it was still required by another task that is not skipped." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/116" diff --git a/kraken-core/.changelog/0.5.0.toml b/kraken-core/.changelog/0.5.0.toml deleted file mode 100644 index 41082c1a..00000000 --- a/kraken-core/.changelog/0.5.0.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-07-24" - -[[entries]] -id = "d98cf5b6-2fda-405a-9dc8-ac9f64994c2f" -type = "improvement" -description = "make sure anonymous `Supplier` subclasses are picklable" -author = "@NiklasRosenstein" - -[[entries]] -id = "70bf851c-f363-42c2-bec0-6aa1ea426325" -type = "breaking change" -description = "revamp `TaskGraph` API" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.5.1.toml b/kraken-core/.changelog/0.5.1.toml deleted file mode 100644 index 3a28982a..00000000 --- a/kraken-core/.changelog/0.5.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-24" - -[[entries]] -id = "95044b67-64d9-4712-96db-142cf12ccf1a" -type = "fix" -description = "Python 3.7 and 3.8 compatibility (removed use of | operator for types)" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.5.2.toml b/kraken-core/.changelog/0.5.2.toml deleted file mode 100644 index 9ed42735..00000000 --- a/kraken-core/.changelog/0.5.2.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-24" - -[[entries]] -id = "4ef3dde1-5f7a-4d4c-b2c8-03f0f3ff1c4d" -type = "fix" -description = "Fix derivation of inactive tasks in `TaskGraph`" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.5.4.toml b/kraken-core/.changelog/0.5.4.toml deleted file mode 100644 index 33cfaf7a..00000000 --- a/kraken-core/.changelog/0.5.4.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-27" - -[[entries]] -id = "dba8e7da-7d1f-4c0f-880b-b59060096b22" -type = "fix" -description = "make `Supplier.map()` result picklable" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.6.1.toml b/kraken-core/.changelog/0.6.1.toml deleted file mode 100644 index 864287c8..00000000 --- a/kraken-core/.changelog/0.6.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-01" - -[[entries]] -id = "86b5ddbe-af30-4d66-b9e3-7161f75cff4d" -type = "feature" -description = "add `Property.setmap()`" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.7.0.toml b/kraken-core/.changelog/0.7.0.toml deleted file mode 100644 index 6524bd0e..00000000 --- a/kraken-core/.changelog/0.7.0.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-03" - -[[entries]] -id = "a42def0b-7754-44fd-9695-813cc1b3b8c4" -type = "feature" -description = "add `TaskStatusType.INTERRUPTED`, the default executor now stops execution immediately (but it would not understand waiting for any currently running tasks if the TaskRunner is executing them in the background)" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.10.toml b/kraken-core/.changelog/0.8.10.toml deleted file mode 100644 index 571ec927..00000000 --- a/kraken-core/.changelog/0.8.10.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "5f0a1c70-cbae-4f65-ae49-1d1e377d0c6d" -type = "breaking change" -description = "remove unused `kraken.core.__main__`" -author = "@NiklasRosenstein" - -[[entries]] -id = "ba132f16-6e48-4c6f-a01e-4c818f879d87" -type = "fix" -description = "fix `NameError` in `kraken query describe`" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.11.toml b/kraken-core/.changelog/0.8.11.toml deleted file mode 100644 index 13bbe862..00000000 --- a/kraken-core/.changelog/0.8.11.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-13" - -[[entries]] -id = "3fe0ffbe-5748-4d7a-be49-153a84118501" -type = "fix" -description = "Fix resuming from a build state when it contains objects from a module in the `# :: pythonpath` specified in the build script, and fix resuming from multiple build states." -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.2.toml b/kraken-core/.changelog/0.8.2.toml deleted file mode 100644 index da9d002d..00000000 --- a/kraken-core/.changelog/0.8.2.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "4e071b99-e3af-4f38-b3b2-a0af1aaf51ab" -type = "fix" -description = "No longer vendor `dill` package, if we try to use the vendored version we get weird pickle issues" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.3.toml b/kraken-core/.changelog/0.8.3.toml deleted file mode 100644 index f7a2210b..00000000 --- a/kraken-core/.changelog/0.8.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "3b12f4c8-b9fa-4aa0-847c-6d70153fcc2a" -type = "fix" -description = "fix `kraken.test`" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.4.toml b/kraken-core/.changelog/0.8.4.toml deleted file mode 100644 index 2e05b18b..00000000 --- a/kraken-core/.changelog/0.8.4.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "83ba2ff3-1a51-4bd1-904b-e3c2d28c632a" -type = "fix" -description = "fix kraken_project() again" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.5.toml b/kraken-core/.changelog/0.8.5.toml deleted file mode 100644 index ce4a721e..00000000 --- a/kraken-core/.changelog/0.8.5.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "3f35cf6a-ab29-48d1-ba6e-e7599d87775b" -type = "fix" -description = "another fix for `kraken.test` ~.~" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.6.toml b/kraken-core/.changelog/0.8.6.toml deleted file mode 100644 index dcd0aa90..00000000 --- a/kraken-core/.changelog/0.8.6.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "dd9ef294-02ef-4a5b-bac7-abb1d17dba5a" -type = "feature" -description = "add `kraken.util.krakenw` module" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.8.toml b/kraken-core/.changelog/0.8.8.toml deleted file mode 100644 index c2653feb..00000000 --- a/kraken-core/.changelog/0.8.8.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "17f93d74-ea19-4821-b0c5-576478c0a8e8" -type = "fix" -description = "fix missing import of VizOptions for `kraken q viz` command, fix CheckFileContentsTask" -author = "@NiklasRosenstein" diff --git a/kraken-core/.changelog/0.8.9.toml b/kraken-core/.changelog/0.8.9.toml deleted file mode 100644 index d8aa2931..00000000 --- a/kraken-core/.changelog/0.8.9.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "ca29a41d-d7ba-4f2c-bbd1-7e86bdb10ca5" -type = "improvement" -description = "include message in successful CheckFileContentsTask execution" -author = "@NiklasRosenstein" diff --git a/kraken-core/.flake8 b/kraken-core/.flake8 deleted file mode 100644 index e2c394b1..00000000 --- a/kraken-core/.flake8 +++ /dev/null @@ -1,12 +0,0 @@ -[flake8] -max-line-length = 120 -# Black can yield formatted code that triggers these Flake8 warnings. -ignore= - # line break before binary operator - W503, - # line break after binary operator - W504, - # whitespace before ':' https://github.com/psf/black/issues/1437 - E203, -exclude = - src/kraken/core/_vendor diff --git a/kraken-core/.gitignore b/kraken-core/.gitignore deleted file mode 100644 index 129310c8..00000000 --- a/kraken-core/.gitignore +++ /dev/null @@ -1,9 +0,0 @@ -/.vscode -/dist -/build -.venv/ -*.egg-info/ -__pycache__/ -poetry.lock -.dmypy.json -build/ diff --git a/kraken-core/README.md b/kraken-core/README.md index 060c6aca..0df3ff61 100644 --- a/kraken-core/README.md +++ b/kraken-core/README.md @@ -1,14 +1 @@ - - -# kraken-core - -[![Python application](https://github.com/kraken-build/kraken-core/actions/workflows/python-package.yml/badge.svg)](https://github.com/kraken-build/kraken-core/actions/workflows/python-package.yml) -[![PyPI version](https://badge.fury.io/py/kraken-core.svg)](https://badge.fury.io/py/kraken-core) - -Kraken is a task orchestration system with a focus on ease of configuration and flexibility. It's main objectives are -to reduce boilerplate and configuration overhead in software projects and to model and abstract complex workflows in -the software development lifecycle to allow developers to focus on what really matters. - -Read more about the Kraken core package in the [documentation][]. - - [documentation]: https://kraken-build.github.io/kraken-core/ +Placeholder for [kraken-build](https://pypi.org/project/kraken-build) for backwards compatibility. diff --git a/kraken-core/pyproject.toml b/kraken-core/pyproject.toml index 182958e0..3b3b7adf 100644 --- a/kraken-core/pyproject.toml +++ b/kraken-core/pyproject.toml @@ -1,17 +1,17 @@ [build-system] -build-backend = "poetry.core.masonry.api" requires = ["poetry-core"] +build-backend = "poetry.core.masonry.api" [tool.poetry] -authors = ["Niklas Rosenstein "] -classifiers = [] +name = "kraken-core" +version = "0.31.7" description = "" -keywords = [] +authors = ["Niklas Rosenstein "] license = "MIT" -name = "kraken-core" -packages = [{include = "kraken/core", from = "src"}] readme = "README.md" -version = "0.31.7" +packages = [] +classifiers = [] +keywords = [] [tool.poetry.urls] "Bug Tracker" = "https://github.com/kraken-build/kraken-build/issues" @@ -20,85 +20,4 @@ Homepage = "https://kraken-build.github.io/kraken-build/" Repository = "https://github.com/kraken-build/kraken-build/" [tool.poetry.dependencies] -python = ">=3.10,<3.11" -deprecated = "^1.2.13" -dill = ">=0.3.5,<0.3.6" # Waiting for Dill 0.3.7 for 3.11 compatibiltiy, see https://github.com/uqfoundation/dill/issues/332 -kraken-common = "^0.31.7" -networkx = "^3.1" -nr-io-graphviz = "^0.1.1" -nr-stream = "^1.1.0" -setuptools = ">=33.1.0" -termcolor = "^1.1.0" -typeapi = "^1.4.3" -typing-extensions = ">=3.10.0.2" - -[tool.poetry.dev-dependencies] -black = "*" -flake8 = "*" -isort = "*" -mypy = "*" -pytest = "*" -types-Deprecated = "^1.2.9" -types-setuptools = "^57.4.18" -types-termcolor = "^1.1.5" -pycln = "^2.1.3" - -# For the testing fixture provided by kraken.core.testing -localimport = "^1.7.6" -[tool.poetry.group.pytest] -optional = true -[tool.poetry.group.pytest.dependencies] -pytest = ">=6.0.0" - -[tool.poetry.plugins."pytest11"] -"kraken.core.testing" = "kraken.core.testing" - -[tool.poetry.scripts] -kraken = "kraken.core.cli.main:main" - -[tool.slap] -typed = true - -[tool.slap.test] -black = "black --check src/ tests/" -check = "slap check" -flake8 = "flake8 src/ tests/" -isort = "isort --check-only src/ tests/" -pycln = "pycln src/ tests/ --check" -mypy = "dmypy run src/ tests/" -pytest = "pytest src/ tests/ -vv" - -[tool.slap.run] -fmt = "black src/ tests/ && isort src/ tests/ && pycln src/ tests/" - -[tool.mypy] -explicit_package_bases = true -mypy_path = ["src"] -namespace_packages = true -pretty = true -python_version = "3.10" -show_error_codes = true -show_error_context = true -strict = true -warn_no_return = true -warn_redundant_casts = true -warn_unreachable = true -warn_unused_ignores = true - -[[tool.mypy.overrides]] -ignore_errors = true -ignore_missing_imports = true -module = "networkx.*" - -[tool.isort] -combine_as_imports = true -line_length = 120 -profile = "black" - -[tool.black] -line-length = 120 - -[tool.pytest.ini_options] -markers = [ - "integration", -] +kraken-build = "0.31.7" diff --git a/kraken-std/.changelog/0.1.1.toml b/kraken-std/.changelog/0.1.1.toml deleted file mode 100644 index ecccfe32..00000000 --- a/kraken-std/.changelog/0.1.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-04" - -[[entries]] -id = "973b5316-22e5-4835-abf4-7aae925b2dc1" -type = "improvement" -description = "update `docker_build()` to accept `dockerfile` parameter as a string and use `Project.to_path()`" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.10.toml b/kraken-std/.changelog/0.1.10.toml deleted file mode 100644 index d03b9eef..00000000 --- a/kraken-std/.changelog/0.1.10.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-19" - -[[entries]] -id = "b8054627-4bdb-4d47-b228-8406cf492844" -type = "breaking change" -description = "upgrade to be compatible with `kraken-core ^0.3.0`, add Novella docs and publish to Github actions" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.14.toml b/kraken-std/.changelog/0.1.14.toml deleted file mode 100644 index 52ec0674..00000000 --- a/kraken-std/.changelog/0.1.14.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-19" - -[[entries]] -id = "e232926e-05d1-4166-a2b1-c35550a2b3a0" -type = "fix" -description = "fix interpretation of `KanikoBuildTask.load` property (before it would always load)" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.16.toml b/kraken-std/.changelog/0.1.16.toml deleted file mode 100644 index 0682a0f9..00000000 --- a/kraken-std/.changelog/0.1.16.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-20" - -[[entries]] -id = "f9618f8f-ac6f-4354-bc0e-d9a81446886e" -type = "fix" -description = "fix publishing" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.18.toml b/kraken-std/.changelog/0.1.18.toml deleted file mode 100644 index c36e640e..00000000 --- a/kraken-std/.changelog/0.1.18.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-20" - -[[entries]] -id = "6623360f-6899-4242-9fe5-a050791815a5" -type = "feature" -description = "add Python `PublishTask.skip_existing`" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.22.toml b/kraken-std/.changelog/0.1.22.toml deleted file mode 100644 index 11018ab9..00000000 --- a/kraken-std/.changelog/0.1.22.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-07-24" - -[[entries]] -id = "2b6ebf85-85c3-4d16-b0e1-22ae5506c80b" -type = "improvement" -description = "add `kraken-core ^0.4.0` compatibility" -author = "@NiklasRosenstein" - -[[entries]] -id = "dcaf36e9-0419-479f-b003-adb809969d7e" -type = "feature" -description = "add `pytest(group)` keyword argument" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.4.toml b/kraken-std/.changelog/0.1.4.toml deleted file mode 100644 index 64955897..00000000 --- a/kraken-std/.changelog/0.1.4.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-06" - -[[entries]] -id = "655ad9e7-87f8-4f68-aaa3-a60ae69f0426" -type = "breaking change" -description = "update Helm task parameters and add docstrings" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.7.toml b/kraken-std/.changelog/0.1.7.toml deleted file mode 100644 index 2e13e584..00000000 --- a/kraken-std/.changelog/0.1.7.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-13" - -[[entries]] -id = "195cd20a-f4ad-4906-ab46-3d797bd388b1" -type = "fix" -description = "actually handke `KanikoBuildTask.kaniko_copy_cache_layers` option" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.8.toml b/kraken-std/.changelog/0.1.8.toml deleted file mode 100644 index 4f91c65c..00000000 --- a/kraken-std/.changelog/0.1.8.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-07-14" - -[[entries]] -id = "e6c3641a-5fe5-42ca-9a8f-3df4b85a175d" -type = "feature" -description = "add \"native\" docker build backend" -author = "@NiklasRosenstein" - -[[entries]] -id = "37451d4c-b06f-441e-9a18-0b258730e3a3" -type = "feature" -description = "add `manifest_tool_push` task" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.1.9.toml b/kraken-std/.changelog/0.1.9.toml deleted file mode 100644 index 8a42efb3..00000000 --- a/kraken-std/.changelog/0.1.9.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-07-14" - -[[entries]] -id = "dc714e2b-02dd-4f45-a983-f188c1e91b7d" -type = "improvement" -description = "add `native_use_buildkit` option to the `NativeBuildTask` for Docker" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.20.1.toml b/kraken-std/.changelog/0.20.1.toml deleted file mode 100644 index 42f8d707..00000000 --- a/kraken-std/.changelog/0.20.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2023-05-15" - -[[entries]] -id = "cfa3781f-d873-46ff-ae6f-ae376793a832" -type = "improvement" -description = "Replace imports from `kraken.core.api` with `kraken.core` and imports of `nr.stream.Supplier` with `kraken.common.Supplier`" -author = "niklas.rosenstein@helsing.ai" diff --git a/kraken-std/.changelog/0.23.5.toml b/kraken-std/.changelog/0.23.5.toml deleted file mode 100644 index 7260b54d..00000000 --- a/kraken-std/.changelog/0.23.5.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-06-08" - -[[entries]] -id = "9454562d-7a0b-47c9-9d8d-a00fc2b29123" -type = "improvement" -description = "Make cargo fmt use the nightly toolchain by default" -author = "nicolas.vizzari@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/34" diff --git a/kraken-std/.changelog/0.25.0.toml b/kraken-std/.changelog/0.25.0.toml deleted file mode 100644 index 86d3ca8e..00000000 --- a/kraken-std/.changelog/0.25.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-06-19" - -[[entries]] -id = "4bb4ce3d-2e97-4239-b696-819434b6525e" -type = "improvement" -description = "Set Python version requirement to =3.10" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/42" diff --git a/kraken-std/.changelog/0.26.0.toml b/kraken-std/.changelog/0.26.0.toml deleted file mode 100644 index b0afd453..00000000 --- a/kraken-std/.changelog/0.26.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-06-19" - -[[entries]] -id = "7528c7ef-e3ba-4cbf-99e3-3226fd15e8da" -type = "fix" -description = "Don't wrap license or copyright holder in quotes" -author = "scott@stevenson.io" -pr = "https://github.com/kraken-build/kraken-build/pull/40" diff --git a/kraken-std/.changelog/0.27.0.toml b/kraken-std/.changelog/0.27.0.toml deleted file mode 100644 index afbf66bc..00000000 --- a/kraken-std/.changelog/0.27.0.toml +++ /dev/null @@ -1,92 +0,0 @@ -release-date = "2023-06-27" - -[[entries]] -id = "491df1d7-02aa-4a45-9fac-c15ee020c423" -type = "breaking change" -description = "Reimplement `CheckFileExistsAndIsCommitedTask` as `CheckFileTask` and move it into the `kraken.core.git.tasks` module." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/50" - -[[entries]] -id = "522dd01e-ed80-4cfe-88e9-625a70346f38" -type = "breaking change" -description = "Reimplement `CheckValidReadmeExistsTask` as `ValidateReadmeTask`." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/50" - -[[entries]] -id = "8ca5846d-f4a5-4849-8b7b-b8d9f32006c9" -type = "breaking change" -description = "Re-implement `GitignoreSyncTask`, simplifying the code by a lot (e.g. no more tracking of a generated content hash) and cache a subset of tokens from gitignore.io to distribute them as part of kraken-std. The old begin/end markers we used in gitignore files before is still supported. We also no longer sort the gitignore file entries." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/51" - -[[entries]] -id = "d3835f19-335c-4824-ad51-1d2c3624591e" -type = "improvement" -description = "Use Poetry index priority instead of deprecated default/secondary options" -author = "sam.rogerson@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/46" - -[[entries]] -id = "1ebbe4bf-d8e0-4af4-bb4d-9819f1ba2cd8" -type = "improvement" -description = "Refactor how data is read and written to a Pyproject dependening on the underlying Project management tool (Poetry, PDM, etc.)" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/46" - -[[entries]] -id = "68ebc51b-95f4-4671-ae99-fcbd83ca86d2" -type = "improvement" -description = "Improved PDM implementation to ensure that it targets its own in-project environment instead of a potentially already activated virtual environment in the users terminal when they run Kraken." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/46" - -[[entries]] -id = "b9ccf244-cce6-46dc-97b4-6bbcf8874da0" -type = "improvement" -description = "bump Cargo.toml version before building, not only before publishing" -author = "jerome.froissart@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/52" - -[[entries]] -id = "3a8f284e-1259-4f02-817b-a6ba9e41f3bc" -type = "breaking change" -description = "Correct name of `mypy_stubtest_task` module and remove backwards compatibility for `mypy_subtest()` function name." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "825d21c2-8cd1-42b6-ad57-1187c82dbfd2" -type = "breaking change" -description = "Update signature of `info()` function to align with the rest of the task factory functions (e.g. automatically take the current project and build system)." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "d976ab0a-dfb3-4b03-aa48-ca9798d95c3c" -type = "improvement" -description = "Make parameters to task factory functions in `kraken.std.python.tasks` explicit and change `List` properties to contain a `Sequence`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "33ee8b9f-63b3-4548-b0fa-f4f0e553e5e9" -type = "feature" -description = "Move `kraken.core.lib.render_file_task` and `kraken.core.lib.check_file_contents_task` to `kraken.std.util`" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/56" - -[[entries]] -id = "b1763527-f423-4a4b-9f49-d17e60b5c233" -type = "feature" -description = "The `CheckFileContentsTask` will now print a diff by default if the file it checks is not up to date." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/56" - -[[entries]] -id = "547b947a-c29b-4a40-bc0b-51b6420a82ba" -type = "feature" -description = "The `CargoSyncConfigTask` now has a `crates_io_protocol` option, which defaults to `sparse`. This means Cargo builds by default use the sparse protocol from now on." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/58" diff --git a/kraken-std/.changelog/0.3.0.toml b/kraken-std/.changelog/0.3.0.toml deleted file mode 100644 index a3cda222..00000000 --- a/kraken-std/.changelog/0.3.0.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "222d56a8-ae21-43af-97f7-5947640116f0" -type = "fix" -description = "actually take the `dirty` option into account in `GitVersion.format()`" -author = "@NiklasRosenstein" - -[[entries]] -id = "32d31151-2f1a-412f-a80a-d6009351d351" -type = "fix" -description = "support cargo auth proxy when Kraken build env is in PEX format" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.3.1.toml b/kraken-std/.changelog/0.3.1.toml deleted file mode 100644 index e7d9b745..00000000 --- a/kraken-std/.changelog/0.3.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "8410406d-b6b7-48ba-b68e-3c2bbedaa5d6" -type = "breaking change" -description = "remove `RenderFileTask` and use it from `kraken-core` instead" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.3.5.toml b/kraken-std/.changelog/0.3.5.toml deleted file mode 100644 index d3de878e..00000000 --- a/kraken-std/.changelog/0.3.5.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-23" - -[[entries]] -id = "1354b9bb-6eaf-4c79-9428-49e9a0709b0a" -type = "improvement" -description = "The tasks for Black, Flake8 and Isort now read the source directory from the project `PythonSettings`" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.3.7.toml b/kraken-std/.changelog/0.3.7.toml deleted file mode 100644 index 86e32e4d..00000000 --- a/kraken-std/.changelog/0.3.7.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-25" - -[[entries]] -id = "2aead0fe-8184-4ff0-b143-575d61309045" -type = "fix" -description = "Fix output filename for preprocessed Dockerfile (was previously placed into the project directory instead of the build directory)" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.30.1.toml b/kraken-std/.changelog/0.30.1.toml deleted file mode 100644 index a03dcf4c..00000000 --- a/kraken-std/.changelog/0.30.1.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-08-03" - -[[entries]] -id = "9e4eb09a-8dfd-4fb2-85a4-0c9beec3f047" -type = "improvement" -description = "Report python coverage in terminal." -author = "benjamin.poumarede@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/92" diff --git a/kraken-std/.changelog/0.31.4.toml b/kraken-std/.changelog/0.31.4.toml deleted file mode 100644 index 4f32bc1d..00000000 --- a/kraken-std/.changelog/0.31.4.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-09-19" - -[[entries]] -id = "92eb28d0-b0f9-4346-a3dc-d46fa0d0d0cf" -type = "fix" -description = "Pyupgrade: support properly relative source and test directories" -author = "thomas.pellissier-tanon@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/103" - -[[entries]] -id = "b2756f0b-6a0a-4ea3-a9fa-d8684d6dfcc0" -type = "improvement" -description = "Properly exposes Maturin project builder env variable setter" -author = "thomas.pellissier-tanon@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/113" diff --git a/kraken-std/.changelog/0.4.3.toml b/kraken-std/.changelog/0.4.3.toml deleted file mode 100644 index 4ca2a8f7..00000000 --- a/kraken-std/.changelog/0.4.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-09-27" - -[[entries]] -id = "029cd164-2fdb-4307-8382-af7d28682571" -type = "fix" -description = "Allow extra keys when parsing the `[package]` section of a Cargo manifest." -author = "@Nairu" diff --git a/kraken-std/.changelog/0.5.0.toml b/kraken-std/.changelog/0.5.0.toml deleted file mode 100644 index d349f6a2..00000000 --- a/kraken-std/.changelog/0.5.0.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-12-14" - -[[entries]] -id = "fa4b0c52-293b-4ae3-9e43-2cd560b48686" -type = "improvement" -description = "migrate to kraken-core 0.11.0 and kraken-common 0.4.0" -author = "@NiklasRosenstein" diff --git a/kraken-std/.changelog/0.5.1.toml b/kraken-std/.changelog/0.5.1.toml deleted file mode 100644 index b815f1c8..00000000 --- a/kraken-std/.changelog/0.5.1.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-12-14" - -[[entries]] -id = "28fbdd0e-9f5c-471e-a6f6-78fc94ab5ba9" -type = "feature" -description = "Add `cargo_publish(package_name)` parameter" -author = "callumPearce" diff --git a/kraken-std/.changelog/0.5.3.toml b/kraken-std/.changelog/0.5.3.toml deleted file mode 100644 index 558e1b59..00000000 --- a/kraken-std/.changelog/0.5.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-12-15" - -[[entries]] -id = "41b01c97-4896-43d0-a8a1-31319625e86d" -type = "fix" -description = "Fix: only fallback on failed metadata call" -author = "@tetigi" diff --git a/kraken-std/.changelog/0.5.4.toml b/kraken-std/.changelog/0.5.4.toml deleted file mode 100644 index 92c1cd86..00000000 --- a/kraken-std/.changelog/0.5.4.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-12-19" - -[[entries]] -id = "d85946d3-4038-49e8-a677-db43fefabad2" -type = "fix" -description = "Fix: actually log the error" -author = "@tetigi" diff --git a/kraken-std/.changelog/0.6.0.toml b/kraken-std/.changelog/0.6.0.toml deleted file mode 100644 index f7bcf4ce..00000000 --- a/kraken-std/.changelog/0.6.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-03-07" - -[[entries]] -id = "990593e2-b3ba-4721-8c74-e5e9aa5d66f7" -type = "improvement" -description = "Add test fixture components, add test for util task and refactor" -author = "@cdbrkfxrpt" -pr = "https://github.com/kraken-build/kraken-std/pull/104" diff --git a/kraken-std/.changelog/0.6.1.toml b/kraken-std/.changelog/0.6.1.toml deleted file mode 100644 index 1df199b9..00000000 --- a/kraken-std/.changelog/0.6.1.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-03-07" - -[[entries]] -id = "f3efbfaa-cdd4-40e7-af42-7db4da3e5449" -type = "fix" -description = "Fix formatting" -author = "@cdbrkfxrpt" -pr = "https://github.com/kraken-build/kraken-std/pull/106" diff --git a/kraken-std/.changelog/0.6.2.toml b/kraken-std/.changelog/0.6.2.toml deleted file mode 100644 index 23b99bdd..00000000 --- a/kraken-std/.changelog/0.6.2.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-03-09" - -[[entries]] -id = "85324e3a-70f4-4ca2-b049-8cfbd05bbacc" -type = "fix" -description = "fix issue where we extract the wrong key for cargo version" -author = "@tetigi" -pr = "https://github.com/kraken-build/kraken-std/pull/110" diff --git a/kraken-std/.changelog/0.8.0.toml b/kraken-std/.changelog/0.8.0.toml deleted file mode 100644 index 15cedb81..00000000 --- a/kraken-std/.changelog/0.8.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-03-31" - -[[entries]] -id = "497966ba-13ed-4545-8e2b-9a48c40e6f47" -type = "improvement" -description = "Updated .gitignore task to accept configurable parameters" -author = "luke.bax@talktalk.net" -pr = "https://github.com/kraken-build/kraken-std/pull/122" diff --git a/kraken-std/.changelog/0.8.2.toml b/kraken-std/.changelog/0.8.2.toml deleted file mode 100644 index 67358a01..00000000 --- a/kraken-std/.changelog/0.8.2.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-04-03" - -[[entries]] -id = "27e538f2-d6de-4e8a-bf57-557cc4bf6cd1" -type = "hygiene" -description = "Removed backup to .gitignore.old file" -author = "luke.baxter" -pr = "https://github.com/kraken-build/kraken-std/pull/124" diff --git a/kraken-std/.changelog/0.8.9.toml b/kraken-std/.changelog/0.8.9.toml deleted file mode 100644 index 038fb10e..00000000 --- a/kraken-std/.changelog/0.8.9.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-04-28" - -[[entries]] -id = "539deb47-b243-47a2-bc94-42504ba97cd7" -type = "feature" -description = "Export `cargo_sqlx_prepare`" -author = "nicolas.trinquier@helsing.ai" -pr = "https://github.com/kraken-build/kraken-std/pull/142" diff --git a/kraken-std/.flake8 b/kraken-std/.flake8 deleted file mode 100644 index 14cc3c29..00000000 --- a/kraken-std/.flake8 +++ /dev/null @@ -1,20 +0,0 @@ -[flake8] -max-line-length = 120 -# Black can yield formatted code that triggers these Flake8 warnings. -ignore= - # line break before binary operator - W503, - # line break after binary operator - W504, - # whitespace before ':' https://github.com/psf/black/issues/1437 - E203, -per-file-ignores = - # Our http module wraps httpx, and is the only place where calls to httpx are allowed - src/kraken/std/http/__init__.py:KRA001, - # This file contains disallowed structures on purpose (it is used to test the linter itself) - src/tests/data/http_requests.py:KRA001,KRA002, - -[flake8:local-plugins] -extension = - KRA001 = kraken.std.http.lint_ban_bare_requests:BanBareHttpxCalls - KRA002 = kraken.std.http.lint_ban_bare_requests:BanBareRequestsCalls diff --git a/kraken-std/.gitignore b/kraken-std/.gitignore deleted file mode 100644 index 136b08c4..00000000 --- a/kraken-std/.gitignore +++ /dev/null @@ -1,11 +0,0 @@ -/.vscode -/dist -/build -.venvs -*.egg-info/ -__pycache__/ -poetry.lock -.dmypy.json -.build/ -.idea/ -.pdm-python diff --git a/kraken-std/.kraken.lock b/kraken-std/.kraken.lock deleted file mode 100644 index 83618bd5..00000000 --- a/kraken-std/.kraken.lock +++ /dev/null @@ -1,91 +0,0 @@ -[requirements] -requirements = [ - "kraken-std", -] -pythonpath = [ - "build-support", -] -interpreter_constraint = ">=3.10,<3.11" - -[pinned] -anyio = "4.0.0" -asgiref = "3.5.2" -brotli = "1.0.9" -builddsl = "1.0.1" -certifi = "2023.7.22" -cffi = "1.15.1" -charset-normalizer = "3.2.0" -click = "8.1.7" -cryptography = "38.0.4" -databind-core = "4.3.2" -databind-json = "4.3.2" -deprecated = "1.2.14" -dill = "0.3.5.1" -docutils = "0.20.1" -flask = "2.2.5" -h11 = "0.14.0" -h2 = "4.1.0" -hpack = "4.0.0" -httpcore = "0.16.3" -httpx = "0.23.3" -hyperframe = "6.0.1" -idna = "3.4" -importlib-metadata = "6.8.0" -itsdangerous = "2.1.2" -jaraco-classes = "3.3.0" -jinja2 = "3.1.2" -kaitaistruct = "0.10" -keyring = "24.2.0" -kraken-common = "0.31.2" -kraken-core = "0.31.2" -kraken-std = "0.31.2" -ldap3 = "2.9.1" -markdown-it-py = "3.0.0" -markupsafe = "2.1.3" -mdurl = "0.1.2" -mitmproxy = "9.0.1" -mitmproxy-wireguard = "0.1.23" -more-itertools = "10.1.0" -msgpack = "1.0.5" -networkx = "3.1" -nh3 = "0.2.14" -nr-date = "2.1.0" -nr-io-graphviz = "0.1.1" -nr-io-lexer = "1.0.0" -nr-stream = "1.1.5" -packaging = "23.1" -passlib = "1.7.4" -pathspec = "0.11.2" -pkginfo = "1.9.6" -protobuf = "4.24.3" -publicsuffix2 = "2.20191221" -pyaddlicense = "0.2.3" -pyasn1 = "0.5.0" -pycparser = "2.21" -pygments = "2.16.1" -pyopenssl = "22.1.0" -pyparsing = "3.0.9" -pyperclip = "1.8.2" -readme-renderer = "42.0" -requests = "2.31.0" -requests-toolbelt = "1.0.0" -rfc3986 = "1.5.0" -rich = "13.5.2" -ruamel-yaml = "0.17.32" -setuptools = "65.5.0" -sniffio = "1.3.0" -sortedcontainers = "2.4.0" -termcolor = "1.1.0" -tomli = "2.0.1" -tomli-w = "1.0.0" -tornado = "6.3.3" -twine = "4.0.2" -typeapi = "1.5.1" -typing-extensions = "4.6.3" -urllib3 = "2.0.4" -urwid = "2.1.2" -werkzeug = "2.3.7" -wrapt = "1.15.0" -wsproto = "1.2.0" -zipp = "3.16.2" -zstandard = "0.19.0" diff --git a/kraken-std/LICENSE b/kraken-std/LICENSE deleted file mode 100644 index c5a05f43..00000000 --- a/kraken-std/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) 2022 Niklas Rosenstein - -Permission is hereby granted, free of charge, to any person obtaining a copy -this software and associated documentation files (the "Software"), to deal in -Software without restriction, including without limitation the rights to use, -modify, merge, publish, distribute, sublicense, and/or sell copies of the -and to permit persons to whom the Software is furnished to do so, subject to -following conditions: - -The above copyright notice and this permission notice shall be included in all -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/kraken-std/README.md b/kraken-std/README.md index 8a4b31ea..0df3ff61 100644 --- a/kraken-std/README.md +++ b/kraken-std/README.md @@ -1,39 +1 @@ -# kraken-std - -[![Python application](https://github.com/kraken-build/kraken-std/actions/workflows/python-package.yml/badge.svg)](https://github.com/kraken-build/kraken-std/actions/workflows/python-package.yml) -[![PyPI version](https://badge.fury.io/py/kraken-std.svg)](https://badge.fury.io/py/kraken-std) - -The Kraken standard library. - ---- - -## Development - -### Integration testing - -Integration tests are located in `src/tests/integration`. The following tools need to be available to run the -integration tests: - -* Cargo (to test Cargo building and publishing) *The Cargo integration tests run against Artifactory and Cloudsmith -and requires credentials to temporarily create a new Cargo repository (available in CI).* -* Docker (used to setup services that we run integration tests against) -* Helm (to test Helm packaging and publishing) -* Poetry (to test Python publishing and installing) -* [Slap](https://github.com/python-slap/slap-cli) (to test Python publishing and installing) - -__Test a single integration test__ - -``` -PYTEST_FLAGS="--log-cli-level DEBUG -s -k " kraken run pytestIntegration -v -``` - -The integration tests create temporary files that need to be mounted into a Docker container. If you are running -the integration tests in a Coder workspace, you may need to set `TMPDIR=$HOME/tmp` as the workspaces often only -share the home volume with the Docker-in-Docker container. - -### Pull Requests - -By default, Pull Requests require a changelog entry to be added via the `slap changelog add` command. If no changelog -entry was added, CI will fail. Some changes are not relevant to consumers of the API that they do not need to be -recorded in the changelog, such as typos in the README. In such cases, the `no changelog` label can be added to the -Pull Request. +Placeholder for [kraken-build](https://pypi.org/project/kraken-build) for backwards compatibility. diff --git a/kraken-std/pyproject.toml b/kraken-std/pyproject.toml index 50225ec3..9cd15120 100644 --- a/kraken-std/pyproject.toml +++ b/kraken-std/pyproject.toml @@ -5,11 +5,11 @@ build-backend = "poetry.core.masonry.api" [tool.poetry] name = "kraken-std" version = "0.31.7" -description = "The Kraken standard library." +description = "" authors = ["Niklas Rosenstein "] license = "MIT" readme = "README.md" -packages = [{ include = "kraken/std", from = "src" }] +packages = [] classifiers = [] keywords = [] @@ -20,74 +20,4 @@ Homepage = "https://kraken-build.github.io/kraken-build/" Repository = "https://github.com/kraken-build/kraken-build/" [tool.poetry.dependencies] -python = ">=3.10,<3.11" -pyaddlicense = "^0.2.1" -databind-json = "^4.2.5" -deprecated = "^1.2.13" -httpx = "^0.23.0" -kraken-common = "^0.31.7" -kraken-core = "^0.31.7" -termcolor = "^1.1.0" -tomli = "^2.0.1" -tomli-w = "^1.0.0" -twine = "^4.0.1" -mitmproxy = "^9.0.1" - -[tool.poetry.dev-dependencies] -black = "*" -flake8 = "*" -isort = "*" -mypy = "*" -pycln = "*" -pylint = "*" -pytest = "*" -pyupgrade = "*" -pyartifactory = "^1.10.0" -cloudsmith-api = "^1.61.3" -types-requests = "^2.28.0" -types-termcolor = "^1.1.5" -types-Deprecated = "^1.2.9" - -[tool.poetry.group.docs] -optional = true - -[tool.poetry.group.docs.dependencies] -mkdocs = "*" -mkdocs-material = "*" -novella = "0.2.3" -pydoc-markdown = "^4.6.0" - -[tool.slap] -typed = true - -[tool.slap.test] -check = "slap check" -kraken-lint = "krakenw -v run lint" -kraken-test = "krakenw -v run test" -# kraken-integrationTest = "kraken run integrationTest" - -[tool.slap.run] -fmt = "krakenw -v run fmt" - -[tool.mypy] -python_version = "3.10" -exclude = ["src/tests/integration/.*/data/.*"] -explicit_package_bases = true -mypy_path = ["src"] -namespace_packages = true -pretty = true -show_error_codes = true -show_error_context = true -strict = true -warn_no_return = true -warn_redundant_casts = true -warn_unreachable = true -warn_unused_ignores = true - -[tool.isort] -profile = "black" -line_length = 120 -combine_as_imports = true - -[tool.black] -line-length = 120 +kraken-build = "0.31.7" diff --git a/kraken-std/scripts/cloudsmith-repos.py b/kraken-std/scripts/cloudsmith-repos.py deleted file mode 100755 index 9b8871cf..00000000 --- a/kraken-std/scripts/cloudsmith-repos.py +++ /dev/null @@ -1,59 +0,0 @@ -#!/usr/bin/env python - -import argparse -import os - -from cloudsmith_api import ApiClient, Configuration, ReposApi, UserApi # type: ignore[import] - -CLOUDSMITH_API_KEY = "CLOUDSMITH_API_KEY" - -parser = argparse.ArgumentParser() -parser.add_argument("--api-key", help=f"the CloudSmith.io api key; can also be supplied via {CLOUDSMITH_API_KEY}") - -subparsers = parser.add_subparsers(dest="cmd") - -ls_command = subparsers.add_parser("ls") - -rm_command = subparsers.add_parser("rm") -rm_command.add_argument("repos", metavar="repo", nargs="+", help="the repos to delete") -rm_command.add_argument("-f", "--force", action="store_true", help="ignore missing repos") - - -def main() -> None: - args = parser.parse_args() - if not args.cmd: - parser.print_usage() - return - if not args.api_key: - if CLOUDSMITH_API_KEY in os.environ: - args.api_key = os.environ[CLOUDSMITH_API_KEY] - else: - parser.error("missing option: --api-key") - - config = Configuration() - config.api_key["X-Api-Key"] = args.api_key - client = ApiClient(config) - repos = ReposApi(client) - - if args.cmd == "ls": - for repo in repos.repos_all_list(): - print(repo.name) - return - - if args.cmd == "rm": - has_repos = {r.name: r for r in repos.repos_all_list()} - if not args.force: - for repo in args.repos: - if repo not in has_repos: - parser.error(f"repo `{repo}` does not exist") - for repo in args.repos: - if repo in has_repos: - repos.repos_delete(has_repos[repo].namespace, repo) - print("deleted", repo) - return - - assert False - - -if __name__ == "__main__": - main() diff --git a/kraken-std/src/kraken/std/__init__.py b/kraken-std/src/kraken/std/__init__.py deleted file mode 100644 index b2eba458..00000000 --- a/kraken-std/src/kraken/std/__init__.py +++ /dev/null @@ -1 +0,0 @@ -__version__ = "0.31.7" diff --git a/kraken-std/src/tests/integration/python/data/slap-project-consumer/LICENSE b/kraken-std/src/tests/integration/python/data/slap-project-consumer/LICENSE deleted file mode 100644 index c5a05f43..00000000 --- a/kraken-std/src/tests/integration/python/data/slap-project-consumer/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) 2022 Niklas Rosenstein - -Permission is hereby granted, free of charge, to any person obtaining a copy -this software and associated documentation files (the "Software"), to deal in -Software without restriction, including without limitation the rights to use, -modify, merge, publish, distribute, sublicense, and/or sell copies of the -and to permit persons to whom the Software is furnished to do so, subject to -following conditions: - -The above copyright notice and this permission notice shall be included in all -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/kraken-std/src/tests/integration/python/data/slap-project/LICENSE b/kraken-std/src/tests/integration/python/data/slap-project/LICENSE deleted file mode 100644 index c5a05f43..00000000 --- a/kraken-std/src/tests/integration/python/data/slap-project/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) 2022 Niklas Rosenstein - -Permission is hereby granted, free of charge, to any person obtaining a copy -this software and associated documentation files (the "Software"), to deal in -Software without restriction, including without limitation the rights to use, -modify, merge, publish, distribute, sublicense, and/or sell copies of the -and to permit persons to whom the Software is furnished to do so, subject to -following conditions: - -The above copyright notice and this permission notice shall be included in all -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/kraken-wrapper/.changelog/0.1.11.toml b/kraken-wrapper/.changelog/0.1.11.toml deleted file mode 100644 index 23dde9ae..00000000 --- a/kraken-wrapper/.changelog/0.1.11.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "03134444-c09f-4223-9797-0e38c075f85e" -type = "fix" -description = "fix mention of default build enviroment type in `--use` option" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.12.toml b/kraken-wrapper/.changelog/0.1.12.toml deleted file mode 100644 index ee08c64a..00000000 --- a/kraken-wrapper/.changelog/0.1.12.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "c80dcb8a-50ca-483c-9392-c43954ce85eb" -type = "improvement" -description = "no longer warn about lock file being outdated when `--upgrade` option is passed" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.13.toml b/kraken-wrapper/.changelog/0.1.13.toml deleted file mode 100644 index c29b3e31..00000000 --- a/kraken-wrapper/.changelog/0.1.13.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-13" - -[[entries]] -id = "7dddf643-9a7a-40d0-b044-6802e81d3ead" -type = "improvement" -description = "In the `VENV` environment type, do not upgrade Pip if the build env is reused (with `KRAKENW_INCREMENTAL=1`)" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.15.toml b/kraken-wrapper/.changelog/0.1.15.toml deleted file mode 100644 index 2a71cad9..00000000 --- a/kraken-wrapper/.changelog/0.1.15.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-16" - -[[entries]] -id = "f5001ad6-560d-42d0-b5ce-eeb3d8e89ad0" -type = "fix" -description = "the `krakenw auth` command can now be used globally and does not require the presence of a `.kraken.py` file" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.16.toml b/kraken-wrapper/.changelog/0.1.16.toml deleted file mode 100644 index 1fcbce7b..00000000 --- a/kraken-wrapper/.changelog/0.1.16.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-16" - -[[entries]] -id = "29fb048d-2839-4646-b3e1-ece78b7f3ff3" -type = "fix" -description = "add missing requirement `keyring`" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.17.toml b/kraken-wrapper/.changelog/0.1.17.toml deleted file mode 100644 index 9f8d82e9..00000000 --- a/kraken-wrapper/.changelog/0.1.17.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-16" - -[[entries]] -id = "5bc09df8-ab0e-4cb4-8282-bab9fa172b1c" -type = "fix" -description = "Update handling of `--password-stdin` flag, if this and `--password` is not specified, we will use `getpass()`" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.18.toml b/kraken-wrapper/.changelog/0.1.18.toml deleted file mode 100644 index 04a93e53..00000000 --- a/kraken-wrapper/.changelog/0.1.18.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-16" - -[[entries]] -id = "865cae3d-5021-4705-b981-6a23c2477341" -type = "fix" -description = "create parent directories when saving config" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.19.toml b/kraken-wrapper/.changelog/0.1.19.toml deleted file mode 100644 index e3b7923d..00000000 --- a/kraken-wrapper/.changelog/0.1.19.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-16" - -[[entries]] -id = "f21658ab-5a43-4c0a-8030-aa50bc56acae" -type = "improvement" -description = "fall back to writing password into file as plaintext if no keyring backend is available" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.21.toml b/kraken-wrapper/.changelog/0.1.21.toml deleted file mode 100644 index 4689d83a..00000000 --- a/kraken-wrapper/.changelog/0.1.21.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-17" - -[[entries]] -id = "77404138-6380-495c-97b3-7950fbab908b" -type = "fix" -description = "fix compatibility with kraken-core 0.9.0" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.4.toml b/kraken-wrapper/.changelog/0.1.4.toml deleted file mode 100644 index b5397a61..00000000 --- a/kraken-wrapper/.changelog/0.1.4.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "027dfddf-5e0b-4770-8f80-dc912fd29c58" -type = "fix" -description = "uninitialize logger before dispatching to PEX build environment such the kraken-core can re-initialize it" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.5.toml b/kraken-wrapper/.changelog/0.1.5.toml deleted file mode 100644 index 62c0f694..00000000 --- a/kraken-wrapper/.changelog/0.1.5.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "2dc92f6b-956c-49fc-8002-89b646c6f15b" -type = "improvement" -description = "Improve output on build environment operation" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.7.toml b/kraken-wrapper/.changelog/0.1.7.toml deleted file mode 100644 index ca4dbd1c..00000000 --- a/kraken-wrapper/.changelog/0.1.7.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "ea9545a6-4def-4e30-8e9c-9970a8a50299" -type = "fix" -description = "disable non-transitive build environment installation due to #2" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.1.8.toml b/kraken-wrapper/.changelog/0.1.8.toml deleted file mode 100644 index 0d153650..00000000 --- a/kraken-wrapper/.changelog/0.1.8.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2022-08-12" - -[[entries]] -id = "f88eb46d-3a8d-4743-9030-c97ec9c3b3ee" -type = "improvement" -description = "just `krakenw lock` without arguments will not look to ensure build environment consistency (which could cause a reinstall before locking because the lockfile is outdated)" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.2.0.toml b/kraken-wrapper/.changelog/0.2.0.toml deleted file mode 100644 index 88e7654c..00000000 --- a/kraken-wrapper/.changelog/0.2.0.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-12-14" - -[[entries]] -id = "7541ba55-6eb7-4082-8637-f78c06c7c898" -type = "fix" -description = "fix `KeyError` that could occurr when creating lockfile if the name of a requirement does not exactly match the distribution name (e.g. due to normalization)" -author = "@NiklasRosenstein" - -[[entries]] -id = "0aefcd0b-51a4-4bf4-9ba1-351a51d3aa8a" -type = "feature" -description = "migrate to kraken-common over kraken-core for shared code, support for `kraken.common.buildscript` and BuildDSL build scripts" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.2.1.toml b/kraken-wrapper/.changelog/0.2.1.toml deleted file mode 100644 index d4479152..00000000 --- a/kraken-wrapper/.changelog/0.2.1.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2022-12-19" - -[[entries]] -id = "30e51d71-f012-47e1-bf8a-8cb9139b06f4" -type = "improvement" -description = "`krakenw` now prints the `kraken` command that it runs inside the build environment" -author = "@NiklasRosenstein" - -[[entries]] -id = "16828c43-0035-4732-b7be-70fc4d3e9868" -type = "feature" -description = "`krakenw` now looks for the top-most Kraken build script starting from the current directory and uses that as the Kraken project directory and containing directory for the build directory and build environment." -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.2.3.toml b/kraken-wrapper/.changelog/0.2.3.toml deleted file mode 100644 index 3546e514..00000000 --- a/kraken-wrapper/.changelog/0.2.3.toml +++ /dev/null @@ -1,7 +0,0 @@ -release-date = "2023-01-22" - -[[entries]] -id = "5c3f32cd-4717-4fa9-a76c-43864abfafce" -type = "feature" -description = "add Windows support by conditionally importing/supporting PEX environment" -author = "@Nairu" diff --git a/kraken-wrapper/.changelog/0.2.4.toml b/kraken-wrapper/.changelog/0.2.4.toml deleted file mode 100644 index 656c0f27..00000000 --- a/kraken-wrapper/.changelog/0.2.4.toml +++ /dev/null @@ -1,13 +0,0 @@ -release-date = "2023-03-22" - -[[entries]] -id = "fa30746d-8ef3-4361-8c7d-774bf4141ff7" -type = "improvement" -description = "Explain how to show kraken's help" -author = "Nicolas Trinquier " - -[[entries]] -id = "36f9c99b-9927-4355-b8e5-ee14f64fccdc" -type = "fix" -description = "Require Python `>=3.7,<3.11` instead of `^3.7` due to Dill incompatibility (see https://github.com/kraken-build/kraken-wrapper/issues/4)" -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.25.0.toml b/kraken-wrapper/.changelog/0.25.0.toml deleted file mode 100644 index 3ac03e70..00000000 --- a/kraken-wrapper/.changelog/0.25.0.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-06-19" - -[[entries]] -id = "16512958-0027-4b16-a5dd-de37e40ce231" -type = "feature" -description = "Add `list-pythons` command and support for finding an appropriate Python interpreter on the current system for creating the Python build environment in the `VenvBuildEnv` manager." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/42" - -[[entries]] -id = "be71a375-d09b-4522-ba5a-06491ad03a11" -type = "improvement" -description = "Add support for `KRAKENW_NO_KEYRING` environment varibale" -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/42" diff --git a/kraken-wrapper/.changelog/0.26.0.toml b/kraken-wrapper/.changelog/0.26.0.toml deleted file mode 100644 index 9be901d9..00000000 --- a/kraken-wrapper/.changelog/0.26.0.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-06-19" - -[[entries]] -id = "8f52da53-4be9-41f9-b2d6-3ac9b8af1d12" -type = "improvement" -description = "Make better use of logging and hide the logs of creating a virtual environment, upgrading Pip and installing dependencies unless the operations fail." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/45" - -[[entries]] -id = "4f43421e-0ab9-4fc7-bdc8-900350470745" -type = "breaking change" -description = "Remove support for specifying Kraken build script requirements in the hash-comment (#) format. Only the `buildscript()` call from `kraken.common` is now supported." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/45" diff --git a/kraken-wrapper/.changelog/0.27.0.toml b/kraken-wrapper/.changelog/0.27.0.toml deleted file mode 100644 index 10217a30..00000000 --- a/kraken-wrapper/.changelog/0.27.0.toml +++ /dev/null @@ -1,28 +0,0 @@ -release-date = "2023-06-27" - -[[entries]] -id = "76d27430-6005-4d3a-a219-ea99ccdec0e1" -type = "improvement" -description = "Now sets the `KRAKENW=1` environment variable to allow the Kraken-Core CLI to detect if it is run through `krakenw`." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/49" - -[[entries]] -id = "5acaa1a1-946f-421f-9622-4014ccf83752" -type = "fix" -description = "Fixed passing the `-p` option to the `kraken` command by appending it to the arguments, allowing to use `krakenw query` subcommands from subdirectories." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "6cb1e252-b8dd-4c0d-b37a-3fd6ddfef7be" -type = "feature" -description = "Treat `# ::krakenw-root` comment in build scripts to avoid searching up higher for the project root directory." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/54" - -[[entries]] -id = "2ccd0767-b104-4997-b92e-96939898b31c" -type = "improvement" -description = "Set default verbosity of `krakenw` command to 1, ensuring that `INFO` logs are always printed." -author = "@NiklasRosenstein" diff --git a/kraken-wrapper/.changelog/0.29.0.toml b/kraken-wrapper/.changelog/0.29.0.toml deleted file mode 100644 index 5aef9188..00000000 --- a/kraken-wrapper/.changelog/0.29.0.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-07-13" - -[[entries]] -id = "f028ba80-a67f-4501-9370-a4df53dadfa8" -type = "feature" -description = "add Nix flake" -author = "james.baker@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/73" - -[[entries]] -id = "1e8b4b08-773d-464a-854c-c7c8de1d65f4" -type = "fix" -description = "Fixed a bug in the ordering of Python interpreters when resolving an appropriate installation for the Kraken build environment. We now rely on the order returned by `kraken.common.findpython.get_candidates()`, which already attempts to be a bit clever in the order it returns candidates (e.g. `python3` over `python3.X` over `python3.X.Y` over installations in `~/.pyenv/versions`)." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/76" diff --git a/kraken-wrapper/.changelog/0.30.0.toml b/kraken-wrapper/.changelog/0.30.0.toml deleted file mode 100644 index 3ed79d8a..00000000 --- a/kraken-wrapper/.changelog/0.30.0.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-07-31" - -[[entries]] -id = "3e40f75e-abe1-41ad-bac0-e876e7bd397d" -type = "feature" -description = "do not unnecessarily sort path" -author = "james.baker@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/83" diff --git a/kraken-wrapper/.changelog/0.31.1.toml b/kraken-wrapper/.changelog/0.31.1.toml deleted file mode 100644 index 2819e479..00000000 --- a/kraken-wrapper/.changelog/0.31.1.toml +++ /dev/null @@ -1,15 +0,0 @@ -release-date = "2023-08-22" - -[[entries]] -id = "cc19919e-5c33-4632-86dd-4f00a8a11166" -type = "improvement" -description = "Expose all environment variables understood by `krakenw` as CLI options as well and document the variables in the `--help` text." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/79" - -[[entries]] -id = "d725edf0-9df0-4748-9ee9-c6c9cdd63be2" -type = "feature" -description = "Add `--show-install-logs` to the CLI and handle the `KRAKENW_SHOW_INSTALL_LOGS` env var." -author = "@NiklasRosenstein" -pr = "https://github.com/kraken-build/kraken-build/pull/79" diff --git a/kraken-wrapper/.changelog/0.31.3.toml b/kraken-wrapper/.changelog/0.31.3.toml deleted file mode 100644 index 3c80c5f7..00000000 --- a/kraken-wrapper/.changelog/0.31.3.toml +++ /dev/null @@ -1,8 +0,0 @@ -release-date = "2023-09-14" - -[[entries]] -id = "18c0a8d4-e6c2-4c7e-9029-84d7416246ed" -type = "fix" -description = "Enforces isort and refreshes poetry.lock" -author = "@Tpt" -pr = "https://github.com/kraken-build/kraken-build/pull/108" diff --git a/kraken-wrapper/.changelog/0.31.4.toml b/kraken-wrapper/.changelog/0.31.4.toml deleted file mode 100644 index b9693a0d..00000000 --- a/kraken-wrapper/.changelog/0.31.4.toml +++ /dev/null @@ -1,22 +0,0 @@ -release-date = "2023-09-19" - -[[entries]] -id = "47223d61-80dc-4f71-a2b8-80c9eddd0107" -type = "improvement" -description = "Removed krakenw Nix flake" -author = "niklas.rosenstein@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/74" - -[[entries]] -id = "8d233d09-d51e-4cdd-b697-b2db838143e5" -type = "improvement" -description = "Mask auth password and check validity" -author = "alex.spencer@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/112" - -[[entries]] -id = "e4006a4d-56b8-4a5a-86f0-0dc85c75f81c" -type = "fix" -description = "Update poetry lock to fix nix build" -author = "alex.spencer@helsing.ai" -pr = "https://github.com/kraken-build/kraken-build/pull/114" diff --git a/kraken-wrapper/.flake8 b/kraken-wrapper/.flake8 deleted file mode 100644 index 32d7356e..00000000 --- a/kraken-wrapper/.flake8 +++ /dev/null @@ -1,8 +0,0 @@ -[flake8] -max-line-length = 120 -# Black can yield formatted code that triggers these Flake8 warnings. -ignore= - # line break before binary operator - W503, - # line break after binary operator - W504, diff --git a/kraken-wrapper/LICENSE b/kraken-wrapper/LICENSE deleted file mode 100644 index c5a05f43..00000000 --- a/kraken-wrapper/LICENSE +++ /dev/null @@ -1,20 +0,0 @@ -MIT License - -Copyright (c) 2022 Niklas Rosenstein - -Permission is hereby granted, free of charge, to any person obtaining a copy -this software and associated documentation files (the "Software"), to deal in -Software without restriction, including without limitation the rights to use, -modify, merge, publish, distribute, sublicense, and/or sell copies of the -and to permit persons to whom the Software is furnished to do so, subject to -following conditions: - -The above copyright notice and this permission notice shall be included in all -or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A -PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF -TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR -USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/kraken-wrapper/README.md b/kraken-wrapper/README.md index cffd7a2d..0df3ff61 100644 --- a/kraken-wrapper/README.md +++ b/kraken-wrapper/README.md @@ -1,12 +1 @@ -# kraken-wrapper - -This projects implements `krakenw`, the wrapper CLI for the Kraken build system that enables reproducible builds -via lock files and executing builds from inside subdirectories. - -For more information, check out the [Kraken Documentation](https://kraken-build.github.io/docs/). - -__Installation__ - -You need Python 3.7 or newer: - - $ pipx install kraken-wrapper +Placeholder for [kraken-build](https://pypi.org/project/kraken-build) for backwards compatibility. diff --git a/kraken-wrapper/pyproject.toml b/kraken-wrapper/pyproject.toml index ebc1fabc..744857d2 100644 --- a/kraken-wrapper/pyproject.toml +++ b/kraken-wrapper/pyproject.toml @@ -9,7 +9,7 @@ description = "" authors = ["Niklas Rosenstein "] license = "MIT" readme = "README.md" -packages = [{ include = "kraken/wrapper", from = "src" }] +packages = [] classifiers = [] keywords = [] @@ -20,70 +20,4 @@ Homepage = "https://kraken-build.github.io/kraken-build/" Repository = "https://github.com/kraken-build/kraken-build/" [tool.poetry.dependencies] -python = ">=3.7,<3.12" -keyring = "^23.8.2" -kraken-common = "^0.31.7" -pex = "^2.1.103" -setuptools = ">=33.0.0" # For pkg_resources -termcolor = "^1.1.0" -rich = "^13.4.2" - -# NOTE(@NiklasRosenstein): Need to pin transitive dependency markdown-it under 3.0 because it dropped Python 3.9 -# support after that version. Technically this shouldn't be a big issue for runtime, but Mypy checks site -# packages and complains about the walrus operator used in it when it checks site-packages. -# See also https://github.com/python/mypy/issues/12162 -markdown-it-py = "<3.0.0" - -typing-extensions = "<4.7.0" # Upper constraint due to https://github.com/python/typing_extensions/issues/265 - -[tool.poetry.dev-dependencies] -black = "*" -flake8 = "*" -isort = "*" -mypy = "*" -pytest = "*" -types-setuptools = "^57.4.18" -types-termcolor = "^1.1.5" - -[tool.poetry.scripts] -krakenw = "kraken.wrapper.main:main" - -[tool.slap] -typed = true - -[tool.slap.test] -check = "slap check" -mypy = "dmypy run src/" -pytest = "pytest tests/ -vv" -black = "black --check src/ tests/" -isort = "isort --check-only src/ tests/" -flake8 = "flake8 src/ tests/" - -[tool.slap.run] -fmt = "black src/ tests/ && isort src/ tests/" - -[tool.mypy] -python_version = "3.7" -explicit_package_bases = true -mypy_path = ["src"] -namespace_packages = true -pretty = true -show_error_codes = true -show_error_context = true -strict = true -warn_no_return = true -warn_redundant_casts = true -warn_unreachable = true -warn_unused_ignores = true - -[[tool.mypy.overrides]] -module = "pex.*" -ignore_missing_imports = true - -[tool.isort] -profile = "black" -line_length = 120 -combine_as_imports = true - -[tool.black] -line-length = 120 +kraken-build = "0.31.7" diff --git a/kraken-wrapper/tests/test_import.py b/kraken-wrapper/tests/test_import.py deleted file mode 100644 index 361d855f..00000000 --- a/kraken-wrapper/tests/test_import.py +++ /dev/null @@ -1,2 +0,0 @@ -def test_import() -> None: - exec("from kraken.wrapper import *")