uranusjr edited a comment on pull request #18228: URL: https://github.com/apache/airflow/pull/18228#issuecomment-920607547
Yay my guess is correct. The dev version was pulled because previously we had `moto~=2.2, >=2.2.1.dev9`. According to PEP 440, if the version range specifier contains a prerelease, prereleases will be considered when pulling in dependencies, which is why a dev version was pulled with `--upgrade-strategy=eager`. Moto likely made some backward incompatibility changes recently to make `mock_kinesis` not work properly, but I have absolutely zero knowledge on moto to discern what exactly broke things (and didn’t bother to do a bisect). Unfortunately pip does not provide a way to express “2.2.1 prereleases greater than or equal to 2.2.1.dev9, but not prereleases from 2.2.2 onwards”, so the best we can do is to bump the specifier to `~=2.2, >=2.2.1`. -- 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]
