Skip to content

Commit ae9a73e

Browse files
authored
chore: fix url in templated setup.py (#1486)
* chore: fix url in templated setup.py * regenerate golden files
1 parent c7991c7 commit ae9a73e

File tree

2 files changed

+2
-2
lines changed
  • packages/gapic-generator

2 files changed

+2
-2
lines changed

packages/gapic-generator/gapic/templates/setup.py.j2

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ dependencies = [
3838
'google-cloud-documentai >= 1.2.1, < 3.0.0dev',
3939
{% endif %}
4040
]
41-
url = "https://github.com/googleapis/python-{{ api.naming.warehouse_package_name|replace("google-cloud-", "") }}"
41+
url = "https://github.com/googleapis/python-{{ api.naming.warehouse_package_name|replace("google-cloud-", "")|replace("google-", "") }}"
4242
4343
package_root = os.path.abspath(os.path.dirname(__file__))
4444

packages/gapic-generator/tests/integration/goldens/credentials/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
"proto-plus >= 1.22.0, <2.0.0dev",
4141
"protobuf>=3.19.5,<5.0.0dev,!=3.20.0,!=3.20.1,!=4.21.0,!=4.21.1,!=4.21.2,!=4.21.3,!=4.21.4,!=4.21.5",
4242
]
43-
url = "https://github.com/googleapis/python-google-iam-credentials"
43+
url = "https://github.com/googleapis/python-iam-credentials"
4444

4545
package_root = os.path.abspath(os.path.dirname(__file__))
4646

0 commit comments

Comments
 (0)