-
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,7 +5,7 @@ | |
requires = [ | ||
"setuptools == 68.1.0", | ||
"setuptools_scm[toml] == 7.1.0", | ||
"frequenz-repo-config[lib] == 0.7.1", | ||
"frequenz-repo-config[lib] == 0.7.2", | ||
] | ||
build-backend = "setuptools.build_meta" | ||
|
||
|
@@ -53,15 +53,15 @@ dev-mkdocs = [ | |
"mkdocs-material == 9.3.2", | ||
"mkdocs-macros-plugin == 1.0.4", | ||
"mkdocstrings[python] == 0.23.0", | ||
"frequenz-repo-config[lib] == 0.7.1", | ||
"frequenz-repo-config[lib] == 0.7.2", | ||
] | ||
dev-mypy = [ | ||
"mypy == 1.6.1", | ||
"types-Markdown == 3.4.2.10", | ||
# For checking the noxfile, docs/ script, and tests | ||
"frequenz-channels[dev-mkdocs,dev-noxfile,dev-pytest]", | ||
] | ||
dev-noxfile = ["nox == 2023.4.22", "frequenz-repo-config[lib] == 0.7.1"] | ||
dev-noxfile = ["nox == 2023.4.22", "frequenz-repo-config[lib] == 0.7.2"] | ||
dev-pylint = [ | ||
"pylint == 2.17.7", | ||
# For checking the noxfile, docs/ script, and tests | ||
|
@@ -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 commentThe 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 commentThe 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 There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. |
||
"pytest-asyncio == 0.21.1", | ||
"pytest-mock == 3.12.0", | ||
] | ||
|
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.
https://github.com/frequenz-floss/frequenz-repo-config-python/blob/v0.x.x/CONTRIBUTING.md#building-the-documentation
or https://github.com/jimporter/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.
thx