potiuk commented on PR #37151: URL: https://github.com/apache/airflow/pull/37151#issuecomment-1937771054
For the future @hussein-awala - One easy way to test if a new dependency is not conflicting is quite simple: 1) Update pyproject toml 2) Enter Breeze 3) Run `pip install -e ".[all]" YOUR_DEPENDENCY==VERSION` - where YOUR_DEPENDENCY==VERSION is the version you **think** should be installed by breeze. In this case: ``` pip install -e ".[all]" pytest==8.0.0 ``` This should find if there is any conflict, much quicker (because you specifically choose dependency version and `pip` will not try to backtrack and find other combinations, it will simply tell you what's wrong. In this case the message was: ``` ERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts. pytest-httpx 0.21.3 requires pytest<8.0,>=6.0, but you have pytest 8.0.0 which is incompatible. ``` This is how I found out pytest-httpx is problematic. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
