-
Notifications
You must be signed in to change notification settings - Fork 8
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
Update to repo-config v0.7.2 #230
Conversation
Blocked by:
|
- Fix the wrong `cli` package name. - Improve the arm64 `Dockerfile` description. Signed-off-by: Leandro Lucarella <luca-frequenz@llucax.com>
1c3a3a6
to
12d7318
Compare
@@ -363,7 +363,7 @@ jobs: | |||
if: steps.mike-version.outputs.version | |||
run: | | |||
git checkout gh-pages | |||
python -m frequenz.repo.config.cli.version.mkdocs.sort versions.json | |||
python -m frequenz.repo.config.cli.version.mike.sort versions.json |
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 would not have spotted that! I mean, what's mike
?
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.
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.
thx
@@ -71,7 +71,7 @@ dev-pytest = [ | |||
"pytest == 7.4.3", | |||
"async-solipsism == 0.5", | |||
"hypothesis == 6.88.1", | |||
"frequenz-repo-config[extra-lint-examples] == 0.7.1", | |||
"frequenz-repo-config[extra-lint-examples] == 0.7.2", |
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.
What generally bugs me (and that's not only a Python-only problem), is that you need to update the version in so many places, all at once, that it's not too hard to accidentally miss one, when you want to bump it. But I guess there's no better way of doing it, or is there?
What I imagine in my head is some kind of single source of truth, and if dev-pylint as well as dev-noxfile both need frequenz-repo-config at version X, then they $var that version from that single source. This would make upgrading at least way less error-prone. (I'm just thinking out loud here) :)
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.
Not that I know of, we can greatly simplify this by having only one dev
optional dependencies that just install everything, that's in the roadmap for repo-config
, I think having this level of fine grain have very little advantages and a lot of issues. But we'll still need to put it twice (one in build deps and one in dev deps).
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 other issue is repo-config now holds both a library and the cookiecutter templates. Actually all these point releases are for the cookiecutter templates only, so there is no difference if we didn't upgrade the dependency here. Once we split the templates to a different repo, this should also become better.
Then we might even want to split repo-config in the build part of it and the dev part of it, so then both dependencies would be independent and we'll only need to update one when it really changes (but I see this as a second stage change).
Finally, once it is more stable, dependabot should be able to update repo-config automatically too.
But yeah, a lot could be done to improve the situation but it requires a lot of work.
cli
package name.Dockerfile
description.