Skip to content

task: Deprecation warning in CI with branch checkout #818

@ogenstad

Description

@ogenstad

Component

No response

Task Description

Running the integration tests shows this warning:

tests/integration/test_repository.py::TestInfrahubRepository::test_add_repository
  /var/lib/github/ghrunner_2/infrahub-sdk-python/infrahub-sdk-python/infrahub_sdk/testing/repository.py:76: DeprecationWarning: checkout_branch is deprecated since 0.22.9 and will be removed in 0.24.0
    porcelain.checkout_branch(self._repo.git, self.initial_branch.encode("utf-8"))

Metadata

Metadata

Labels

type/taskBody of work related to an epic

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions