GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat: add support for proto.__version__ by parthea · Pull Request #393 · googleapis/proto-plus-python

This repository was archived by the owner on Feb 23, 2026. It is now read-only.

Conversation

@parthea

@parthea parthea commented Sep 19, 2023

Copy link
Copy Markdown
Contributor

This PR migrates from using a hardcoded version in setup.py to a version module to make it easy to query the current version of proto-plus

(py39) partheniou@partheniou-vm-3:~/git/proto-plus-python$ python3
Python 3.9.16 (main, Mar  2 2023, 17:52:22) 
[GCC 12.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import proto
>>> proto.__version__
'1.22.3'

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@parthea
parthea requested review from a team September 19, 2023 17:31
@parthea parthea mentioned this pull request Sep 19, 2023
chore(main): release 1.23.0 #391
Merged
@parthea
parthea marked this pull request as draft October 2, 2023 17:19
@parthea
parthea force-pushed the add-version-module branch from e47a530 to 48d2f03 Compare November 21, 2023 19:28
@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 21, 2023
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 21, 2023
@parthea
parthea force-pushed the add-version-module branch 2 times, most recently from bf026a1 to a027eec Compare November 21, 2023 19:32
@parthea
feat: add support for proto.__version__
95295e2
@parthea
parthea force-pushed the add-version-module branch from a027eec to 95295e2 Compare November 21, 2023 19:33
@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 21, 2023
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 21, 2023
@parthea
parthea marked this pull request as ready for review November 21, 2023 19:34
ohmayr
ohmayr approved these changes Nov 21, 2023
View reviewed changes
@parthea
parthea merged commit 48cd63f into main Nov 21, 2023
@parthea
parthea deleted the add-version-module branch November 21, 2023 20:56
@parthea parthea mentioned this pull request Dec 4, 2023
chore(main): Release candidate v1.23.0rc2 #416
Closed
@parthea parthea mentioned this pull request Jan 29, 2025
feat: add support for test_utils.__version__ googleapis/python-test-utils#244
Merged
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

1 more reviewer
@ohmayr ohmayr ohmayr approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@parthea @ohmayr
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 are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.