opsmill / infrahub

Infrahub - A new approach to Infrastructure Management
https://opsmill.com/
GNU Affero General Public License v3.0
144 stars 7 forks source link

task: Ensure test framework compatibility with pytest 8 #2225

Open gmazoyer opened 4 months ago

gmazoyer commented 4 months ago

Component

API Server / GraphQL, Python SDK

Task Description

With the recent release of pytest 8 and our use of it in the test framework, we have to make sure that our plugins (SDK and backend) are compatible with it. If changes are needed, we might want to pin our pytest dependency then fix our code to make it 8 compatible.

gmazoyer commented 4 months ago

From the look of the release notes, our plugins should not break with pytest 8. We cannot test this for now as we have other dependencies that forbid us from using pytest8. Let's revisit this later when we will be able to have pytest 8 in our dependency list.