Update of some requirements versions. #3744
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
You can now in all requirements files replace the '>=' with '==', pip will install this, and the tests will succeed.
Pull Request Checklist
Description
This pertains to #3734. It is some improvement on the previous state of our dependencies. This PR presents a set of minimal versions that makes the test succeed.
Extensive running of some one-off script is at the base of this. The script mixes dependency versions, tries to throw the combination at
pip
, and, in case that succeeds, tries to runpytest
. Code coverage was switched off during thepytest
runs for performance. (Is that script wanted? I can contribute it.)The versions come from some
pip freeze --all
output. So you can replace all>=
in the requirements files with==
and throw the result atpip
: Thepip
run will succeed and so will apytest
run in thatvenv
.But this really only pertains the tests. And the Nikola tests apparently don't test everything.
How do I know? With my
venv
with all==
as described, I tried to build nikola-site withnikola auto -b
and that failed, I believe when the first rebuild was asked for after editing. I started a feeble attempt to get that going by timid updates, one such update is included, but gave up on the second problem.