Skip to content
This repository was archived by the owner on Oct 31, 2023. It is now read-only.

chore(python): fix warehouse-package-name for binaryauthorization v1/v1beta1 #191

Merged
merged 3 commits into from
Nov 30, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion google/cloud/binaryauthorization/py.typed
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-binaryauthorization package uses inline types.
# The google-cloud-binary-authorization package uses inline types.
2 changes: 1 addition & 1 deletion google/cloud/binaryauthorization_v1/py.typed
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-binaryauthorization package uses inline types.
# The google-cloud-binary-authorization package uses inline types.
2 changes: 1 addition & 1 deletion google/cloud/binaryauthorization_v1beta1/py.typed
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# Marker file for PEP 561.
# The google-cloud-binaryauthorization package uses inline types.
# The google-cloud-binary-authorization package uses inline types.
8 changes: 0 additions & 8 deletions owlbot.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,14 +36,6 @@
shutil.rmtree("samples/generated_samples", ignore_errors=True)
clean_up_generated_samples = False

# Rename package to 'google-cloud-binary-authorization'
# Remove once cl/490002122 is submitted
s.replace(
[library / "google/**/*.py", library / "tests/**/*.py"],
"google-cloud-binaryauthorization",
"google-cloud-binary-authorization",
)

if library.name == "v1":
# Fix import of grafeas
s.replace(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_CreateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_DeleteAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_GetPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_ListAttestors_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_BinauthzManagementServiceV1_UpdatePolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_SystemPolicyV1_GetSystemPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1_generated_ValidationHelperV1_ValidateAttestationOccurrence_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_CreateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_DeleteAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_GetPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_ListAttestors_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdateAttestor_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_BinauthzManagementServiceV1Beta1_UpdatePolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_async]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
# It may require modifications to work in your environment.

# To install the latest published package dependency, execute the following:
# python3 -m pip install google-cloud-binaryauthorization
# python3 -m pip install google-cloud-binary-authorization


# [START binaryauthorization_v1beta1_generated_SystemPolicyV1Beta1_GetSystemPolicy_sync]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
],
"language": "PYTHON",
"name": "google-cloud-binaryauthorization",
"name": "google-cloud-binary-authorization",
"version": "0.1.0"
},
"snippets": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
}
],
"language": "PYTHON",
"name": "google-cloud-binaryauthorization",
"name": "google-cloud-binary-authorization",
"version": "0.1.0"
},
"snippets": [
Expand Down