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: Introduce compatibility with native namespace packages by parthea · Pull Request #232 · googleapis/python-dns

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

Conversation

@parthea

@parthea parthea commented Nov 15, 2023

Copy link
Copy Markdown
Contributor

This PR:

  • Migrates code to use native namespace packages similar to feat: Introduce compatibility with native namespace packages google-auth-library-python#1205. Also see https://packaging.python.org/en/latest/guides/packaging-namespace-packages/#native-namespace-packages
  • Removes usage of pkg_resources to prepare for adding python 3.12 support
  • Adds a version module to google/cloud/dns

To obtain the version at runtime, use google.cloud.dns.__version__

(py39) partheniou@partheniou-vm-3:~/git/python-dns$ 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 google.cloud.dns
>>> google.cloud.dns.__version__
'0.34.2'

Sorry, something went wrong.

Uh oh!

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

All reactions
@parthea
feat: Introduce compatibility with native namespace packages
dc704a9
@parthea parthea added the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 15, 2023
@product-auto-label product-auto-label Bot added size: m Pull request size is medium. api: dns Issues related to the googleapis/python-dns API. labels Nov 15, 2023
@parthea

parthea commented Nov 15, 2023

Copy link
Copy Markdown
Contributor Author

Adding do not merge as there is an upcoming release freeze. This should be merged after the release freeze ends on November 29th.

All reactions

Sorry, something went wrong.

Uh oh!

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

parthea added 2 commits November 23, 2023 21:42
@parthea
Add missing files
1eef31c
@parthea
lint
6911e48
@parthea parthea added the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 23, 2023
@gcf-owl-bot gcf-owl-bot Bot removed the owlbot:run Add this label to trigger the Owlbot post processor. label Nov 23, 2023
@parthea
parthea marked this pull request as ready for review November 29, 2023 21:54
@parthea
parthea requested a review from a team November 29, 2023 21:54
@parthea parthea removed the do not merge Indicates a pull request not ready for merge, due to either quality or timing. label Nov 29, 2023
ohmayr
ohmayr approved these changes Nov 29, 2023
View reviewed changes
@parthea
parthea merged commit 8e9f0be into main Nov 29, 2023
@parthea
parthea deleted the migrate-to-native-namespace-packages branch November 29, 2023 22:02
@release-please release-please Bot mentioned this pull request Nov 29, 2023
chore(main): release 0.35.0 #236
Merged
@parthea parthea mentioned this pull request Nov 30, 2023
chore(main): Release candidate v0.35.0rc1 #238
Closed
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

api: dns Issues related to the googleapis/python-dns API. size: m Pull request size is medium.

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.