airflow
airflow copied to clipboard
Bump `pytest` to 8.0+
closes https://github.com/apache/airflow/issues/37156
The issues mentioned in the above meta-task are fixed
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in newsfragments.
There was an attempt in https://github.com/apache/airflow/pull/37151 it required several changes to some tests
There is less incompatibility then we have before. I also would recommend to bump minimal version to 8.1.x or even 8.2.x, there is plenty of the bugs in 8.0.x And maybe upper bound to <9, every time we need some time for adopt our tests to the changes in major pytest version
Hopefully fixed all the issues 🤞