Skip to content

Commit aae0711

Browse files
chore: include py.typed files in release (#138)
chore(python): include py.typed files in release A py.typed file must be included in the released package for it to be considered typed by type checkers. https://www.python.org/dev/peps/pep-0561/#packaging-type-information. See googleapis/python-secret-manager#79 Source-Author: Bu Sun Kim <[email protected]> Source-Date: Fri Feb 5 17:32:06 2021 -0700 Source-Repo: googleapis/synthtool Source-Sha: 33366574ffb9e11737b3547eb6f020ecae0536e8 Source-Link: googleapis/synthtool@3336657
1 parent 072850d commit aae0711

File tree

4 files changed

+14
-6
lines changed

4 files changed

+14
-6
lines changed

MANIFEST.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,10 +16,10 @@
1616

1717
# Generated by synthtool. DO NOT EDIT!
1818
include README.rst LICENSE
19-
recursive-include google *.json *.proto
19+
recursive-include google *.json *.proto py.typed
2020
recursive-include tests *
2121
global-exclude *.py[co]
2222
global-exclude __pycache__
2323

2424
# Exclude scripts for samples readmegen
25-
prune scripts/readme-gen
25+
prune scripts/readme-gen

samples/quickstart/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_pytest_env_vars() -> Dict[str, str]:
8282

8383
# DO NOT EDIT - automatically generated.
8484
# All versions used to tested samples.
85-
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8"]
85+
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]
8686

8787
# Any default versions that should be ignored.
8888
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]

samples/to_dataframe/noxfile.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def get_pytest_env_vars() -> Dict[str, str]:
8282

8383
# DO NOT EDIT - automatically generated.
8484
# All versions used to tested samples.
85-
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8"]
85+
ALL_VERSIONS = ["2.7", "3.6", "3.7", "3.8", "3.9"]
8686

8787
# Any default versions that should be ignored.
8888
IGNORED_VERSIONS = TEST_CONFIG["ignored_versions"]

synth.metadata

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"git": {
55
"name": ".",
66
"remote": "https://github.com/googleapis/python-bigquery-storage.git",
7-
"sha": "bc94422ed2f89c035276e01a94b8d02db11d8617"
7+
"sha": "072850dd341909fdc22f330117a17e48da12fdd1"
88
}
99
},
1010
{
@@ -19,7 +19,14 @@
1919
"git": {
2020
"name": "synthtool",
2121
"remote": "https://github.com/googleapis/synthtool.git",
22-
"sha": "d1bb9173100f62c0cfc8f3138b62241e7f47ca6a"
22+
"sha": "33366574ffb9e11737b3547eb6f020ecae0536e8"
23+
}
24+
},
25+
{
26+
"git": {
27+
"name": "synthtool",
28+
"remote": "https://github.com/googleapis/synthtool.git",
29+
"sha": "33366574ffb9e11737b3547eb6f020ecae0536e8"
2330
}
2431
}
2532
],
@@ -51,6 +58,7 @@
5158
".github/ISSUE_TEMPLATE/feature_request.md",
5259
".github/ISSUE_TEMPLATE/support_request.md",
5360
".github/PULL_REQUEST_TEMPLATE.md",
61+
".github/header-checker-lint.yml",
5462
".github/release-please.yml",
5563
".github/snippet-bot.yml",
5664
".gitignore",

0 commit comments

Comments
 (0)