You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
pyca/cryptography runs downstream tests for this project and other to verify that their changes have not broken identified downstream dependencies.
Today, an update to botocore broke moto, which broke this repository's tests, which broke the pyca/cryptography downstream tests. pyca/cryptography#4415
We need to define and automate creation of a special frozen test requirements file for upstream tests to use when testing this repository in order to avoid this happening again.
The text was updated successfully, but these errors were encountered:
The thing that makes this complicated is that we need to:
Freeze OUR test dependency versions
NOT freeze any of pyca/cryptography's versions or dependency versions
A naive pip freeze and install from the results ends up uninstalling any mentioned dependencies that are referenced in the frozen file. This is a problem because it would result in the pyca/cryptography dev build being uninstalled and overwritten by the version that we last froze on, defeating the point of the downstream tests.
What we need to is:
Freeze our dependencies
Freeze pyca/cryptography's dependencies at that time
Remove all members of 2 from 1.
Use the resulting set for the upstream test dependencies that we store.
Because of this, we will need to maintain separate upstream test dependency files for each dependency. Currently this is only pyca/cryptography, but we should anticipate others being added in the future and make sure that whatever we do does not cause problems then.
pyca/cryptography runs downstream tests for this project and other to verify that their changes have not broken identified downstream dependencies.
Today, an update to
botocore
brokemoto
, which broke this repository's tests, which broke the pyca/cryptography downstream tests. pyca/cryptography#4415We need to define and automate creation of a special frozen test requirements file for upstream tests to use when testing this repository in order to avoid this happening again.
The text was updated successfully, but these errors were encountered: