-
-
Notifications
You must be signed in to change notification settings - Fork 75
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump mkdocs and all deps to most recent versions #388
Conversation
@why-not-try-calmer dare having a look? |
On it |
@@ -2,3 +2,5 @@ | |||
template: home.html | |||
title: QField Ecosystem Documentation | |||
--- | |||
|
|||
# QField Ecosystem Documentation |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NOTE if this is an empty file, it blows up for unknown reason. Decided to reuse a string that is already translated as a workaround.
emoji_index: !!python/name:materialx.emoji.twemoji | ||
emoji_generator: !!python/name:materialx.emoji.to_svg | ||
emoji_index: !!python/name:material.extensions.emoji.twemoji | ||
emoji_generator: !!python/name:material.extensions.emoji.to_svg |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The materialx
is deprecated and this fixes a warning.
https://squidfunk.github.io/mkdocs-material/setup/extensions/#recommended-configuration
pre-commit was not freezed. Anything else? |
I did not freeze the dev dependencies, IMO we should not do that? |
Beside that it builds fine,
So which dependencies where frozen? |
Oh I see you mean that you computed all transitive dependencies from the dependencies enumerated in For reference, non-transitive / top-level depencies are these:
|
Yes, this is correct. I just used |
But if mkdocs switches trans. dep 1 from 1A to 1B and we pin 1A, are we not guaranteeing the reproducibility of a broken build? I don't really see how this would improve on the situation where only non-trans. deps. are pinned. What problem does that solve? |
If Anyways, both has pros and cons, I put only the direct dependencies in |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I much prefer without the transitive dependencies for this particular use case, thanks!
Thanks for the review and green light! Let's hope it all build correctly! |
I built locally the docs using your branch. Should someone/ I add a build step to the tests? |
I have
pip freezeed
all deps, IMO it is better to have a more precise snapshot on all the deps rather than just some of them.