Skip to content
This repository was archived by the owner on Mar 15, 2025. It is now read-only.

Conversation

@parthea
Copy link
Contributor

@parthea parthea commented Dec 12, 2023

@parthea parthea requested a review from a team as a code owner December 12, 2023 17:03
@product-auto-label product-auto-label bot added the size: xs Pull request size is extra small. label Dec 12, 2023
@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: xs Pull request size is extra small. labels Dec 13, 2023
@parthea parthea changed the title build: Add python 3.12 tests feat: Introduce compatibility with native namespace packages Dec 13, 2023
# You may obtain a copy of the License at
#
# https://www.apache.org/licenses/LICENSE-2.0
# http://www.apache.org/licenses/LICENSE-2.0

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: both http and https work

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

http matches the license here which could be why we use that in templates such as https://github.com/googleapis/gapic-generator-python/blob/main/gapic/templates/_license.j2

import sys


def test_namespace_package_compat(tmp_path):

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Q: how does the testing infra know that tmp path is a pathlib.Path?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I added a comment in 433522c with more information about the tmp_path fixture of pytest

@parthea parthea merged commit 9007e8a into main Aug 14, 2024
@parthea parthea deleted the parthea-patch-1 branch August 14, 2024 17:27
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants