Skip to content

Releases: Blueshoe/pytest-kubernetes

0.7.2

23 Oct 07:15
d96002b

Choose a tag to compare

What's New

This release introduces an External Kubernetes provider, enabling pytest users to run their tests against any Kubernetes cluster not managed by pytest-kubernetes.
You can now pass the --k8s-kubeconfig argument to pytest.

There is a new fixture called k8s_manager which is almost synonymous with the util function select_provider_manager, but sensitive to all pytest arguments. It's now recommended to use k8s_manager instead of select_provider_manager.

Users can now set up their local Kubernetes clusters using provider configs (for example, with k3d). To pass a cluster configuration, use the pytest argument --k8s-provider-config, together with --k8s-provider. That makes it easy to run tests against multiple cluster configs. Please keep --k8s-version to run tests against various Kubernetes API versions.

We welcome feedback on any bugs or potential improvements.

What's Changed

  • chore(deps): update dependency coverage to v7.6.11 by @renovate[bot] in #50
  • chore(deps): update dependency ruff to v0.9.6 by @renovate[bot] in #46
  • chore(deps): update dependency mypy to v1.15.0 by @renovate[bot] in #49
  • chore(deps): update dependency coverage to v7.6.12 by @renovate[bot] in #51
  • fix(deps): update dependency pytest to v8.3.5 by @renovate[bot] in #53
  • chore(deps): update dependency ruff to ^0.11.0 by @renovate[bot] in #55
  • chore(deps): update dependency coverage to v7.8.0 by @renovate[bot] in #56
  • chore(deps): update dependency coverage to v7.8.1 by @renovate[bot] in #58
  • chore(deps): update dependency coverage to v7.8.2 by @renovate[bot] in #59
  • chore(deps): update sigstore/gh-action-sigstore-python action to v3.0.1 by @renovate[bot] in #64
  • feat: custom cluster configs ✨ by @liquidiert in #28
  • chore(deps): update dependency pyyaml to v6.0.3 by @renovate[bot] in #69
  • feat(#3): refactor fixture and cluster factory, add extern cluster support and override options by @Schille in #68

Full Changelog: 0.6.0...0.7.2

0.6.0

04 Feb 15:25
d0ef34f

Choose a tag to compare

What's Changed

  • chore(deps): update dependency coverage to v7.6.5 by @renovate in #40
  • chore(deps): update dependency coverage to v7.6.7 by @renovate in #41
  • chore(deps): update dependency coverage to v7.6.8 by @renovate in #42
  • fix(deps): update dependency pytest to v8.3.4 by @renovate in #43
  • chore(deps): update dependency coverage to v7.6.9 by @renovate in #44
  • chore(deps): update dependency coverage to v7.6.10 by @renovate in #45
  • chore(deps): update sigstore/gh-action-sigstore-python action to v3 by @renovate in #39
  • chore(deps): update dependency ruff to ^0.9.0 by @renovate in #33
  • chore(deps): update dependency mypy to v1.14.1 - autoclosed by @renovate in #32
  • chore(deps): update actions/checkout action to v4 by @renovate in #36
  • chore(deps): update github artifact actions to v4 (major) by @renovate in #38
  • chore(deps): update actions/setup-python action to v5 by @renovate in #37
  • chore: update python version by @SteinRobert in #47

Full Changelog: 0.5.0...0.6.0

0.5.0

28 Oct 10:02
22485c0

Choose a tag to compare

What's Changed

  • fix(deps): update dependency pytest to v8.3.3 by @renovate in #25
  • feat(#22): namespace option in logs() function by @liquidiert in #26
  • chore(deps): update dependency coverage to v7.6.2 by @renovate in #30
  • chore(deps): update dependency coverage to v7.6.3 by @renovate in #31
  • chore(deps): update dependency coverage to v7.6.4 by @renovate in #34

New Contributors

Full Changelog: 0.4.0...0.5.0

0.4.0

17 Sep 09:15

Choose a tag to compare

What's Changed

  • chore(deps): update dependency black to v23.10.0 by @renovate in #13
  • fix(deps): update dependency pytest to v7.4.2 by @renovate in #12
  • chore(deps): update dependency mypy to v1.6.1 by @renovate in #11
  • chore(deps): update dependency flake8 to v6.1.0 - autoclosed by @renovate in #9
  • chore(deps): update dependency coverage to v7.3.2 by @renovate in #8
  • feat: Support python 3.11+ and pytest 8.3 by @scotchneat in #24
  • chore(deps): update dependency mypy to v1.11.2 by @renovate in #16

New Contributors

Full Changelog: 0.3.1...0.4.0

0.3.1

14 Sep 14:06
158914b

Choose a tag to compare

What's Changed

  • Configure Renovate by @renovate in #4
  • chore(deps): update dependency black to v23.9.1 by @renovate in #6
  • fix(deps): update dependency pyyaml to v6.0.1 by @renovate in #5
  • fix: allow manual timeout, cluster ready check by @Schille in #10

New Contributors

Full Changelog: 0.3.0...0.3.1

0.3.0

17 May 07:01
b40a94d

Choose a tag to compare

What's Changed

  • feat: enable flexible cluster options by @Schille in #2

New Contributors

Full Changelog: https://github.com/Blueshoe/pytest-kubernetes/commits/0.3.0