Skip to content

Commit

Permalink
Bump Google API clients, small fix for release command (#177)
Browse files Browse the repository at this point in the history
* Bump Google Python client versions - the ones we were using were very old

* Update to the release command to call the version bump command more correctly

As it was, this was referencing something that didn't exist - now it gets the command from the `version` group and then invokes it. This may not be the absolute best way to do this but it works!
  • Loading branch information
jkachel authored Feb 4, 2025
1 parent 49279c0 commit 4c5644a
Show file tree
Hide file tree
Showing 4 changed files with 116 additions and 15 deletions.
2 changes: 1 addition & 1 deletion scripts/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def create(ctx: Context, project: Project, app: App, push: bool): # noqa: FBT00
"""Create a new release"""

ctx.invoke(changelog.check)
ctx.invoke(version.update)
ctx.invoke(version.version.get_command(ctx, "update"))
# keep=True so we can remove these properly (i.e. in Git) later
ctx.invoke(changelog.collect, version=app.version, keep=True)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!--
A new scriv changelog fragment.
Uncomment the section that is right (remove the HTML comment wrapper).
-->

<!--
### Removed
- A bullet item for the Removed category.
-->
<!--
### Added
- A bullet item for the Added category.
-->
### Changed

- Bumped Google Python API package versions

<!--
### Deprecated
- A bullet item for the Deprecated category.
-->
<!--
### Fixed
- A bullet item for the Fixed category.
-->
<!--
### Security
- A bullet item for the Security category.
-->
4 changes: 2 additions & 2 deletions src/google_sheets/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ dependencies = [
"django-stubs>=1.13.1",
"django>=3.0",
"factory-boy~=3.2",
"google-api-python-client==1.7.11",
"google-api-python-client>=2.0",
"google-auth-oauthlib>=0.5.2",
"google-auth==1.6.3",
"google-auth>=2.0",
"mitol-django-common",
"pygsheets==2.0.2",
"pytz>=2020.4",
Expand Down
85 changes: 73 additions & 12 deletions uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4c5644a

Please sign in to comment.