Hi, In Airtest, inappropriate dependency versioning constraints can cause risks.
Below are the dependencies and version constraints that the project is using
Jinja2>=2.8
Pillow>=3.4.0
requests>=2.11.1
six
mss==6.1.0
numpy<=1.19.5
facebook-wda>=1.3.3
pywinauto==0.6.3
filelock
ffmpeg-python
The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict.
The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.
After further analysis, in this project,
The version constraint of dependency six can be changed to >=1.9.0,<=1.16.0.
The above modification suggestions can reduce the dependency conflicts as much as possible,
and introduce the latest version as much as possible without calling Error in the projects.
The invocation of the current project includes all the following methods.
In version six-1.8, the API six.raise_from whch is used by the current project in airtest/utils/compat.py is missing.
Hi, In Airtest, inappropriate dependency versioning constraints can cause risks.
Below are the dependencies and version constraints that the project is using
The version constraint == will introduce the risk of dependency conflicts because the scope of dependencies is too strict. The version constraint No Upper Bound and * will introduce the risk of the missing API Error because the latest version of the dependencies may remove some APIs.
After further analysis, in this project, The version constraint of dependency six can be changed to >=1.9.0,<=1.16.0.
The above modification suggestions can reduce the dependency conflicts as much as possible, and introduce the latest version as much as possible without calling Error in the projects.
The invocation of the current project includes all the following methods.
In version six-1.8, the API six.raise_from whch is used by the current project in airtest/utils/compat.py is missing.
The calling methods from the six
The calling methods from the all methods