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

Script fixup_compute_v1_keywords.py has 11 unresolved merge conflicts #58

Closed
auphofBSF opened this issue May 30, 2021 · 2 comments · Fixed by #59
Closed

Script fixup_compute_v1_keywords.py has 11 unresolved merge conflicts #58

auphofBSF opened this issue May 30, 2021 · 2 comments · Fixed by #59
Assignees
Labels
api: compute Issues related to the googleapis/python-compute API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@auphofBSF
Copy link

Compile of python-compute is failing when trying to compile, my app is being being built by GoogleCloudPlatform/buildpacks

Failure: (ID: 49c34848) *** Error compiling './.venv/Lib/site-packages/scripts/fixup_compute_v1_keywords.py'...
  File "./.venv/Lib/site-packages/scripts/fixup_compute_v1_keywords.py", line 51
    <<<<<<< HEAD
    ^
SyntaxError: invalid syntax

sees attributable to the 1st of 11 merge conflicts that have not been resolved, I am unsure which lines to accept?

@product-auto-label product-auto-label bot added the api: compute Issues related to the googleapis/python-compute API. label May 30, 2021
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label May 31, 2021
@parthea parthea added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. and removed triage me I really want to be triaged. labels Jun 1, 2021
@parthea
Copy link
Contributor

parthea commented Jun 1, 2021

Thanks for reporting this, @auphofBSF ! There was an issue with the merge conflict resolution in #33.

@parthea
Copy link
Contributor

parthea commented Jun 1, 2021

@busunkim96 Please can you take a look? I tried to regenerate the client locally but I received the following from the python3 -m synthtool command :

Use --sandbox_debug to see verbose messages from the sandbox
google/cloud/compute/v1/compute.proto:28:1: warning: Import google/api/resource.proto is unused.
Traceback (most recent call last):
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/cli/generate.py", line 23, in <module>
    from gapic import generator
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/__init__.py", line 21, in <module>
    from .generator import Generator
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/generator/generator.py", line 26, in <module>
    from gapic.samplegen import manifest, samplegen
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/__init__.py", line 15, in <module>
    from gapic.samplegen import samplegen
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/samplegen/samplegen.py", line 29, in <module>
    from gapic.schema import api
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/__init__.py", line 23, in <module>
    from gapic.schema.api import API
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/gapic_generator_python/gapic/schema/api.py", line 36, in <module>
    import grpc  # type: ignore
  File "/usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gapic_generator_python/gapic_plugin.runfiles/com_github_grpc_grpc/src/python/grpcio/grpc/__init__.py", line 23, in <module>
    from grpc._cython import cygrpc as _cygrpc
ImportError: /usr/local/google/home/partheniou/.cache/bazel/_bazel_partheniou/aa81c0a3097a58c95be2c74ab729f8ad/sandbox/linux-sandbox/1308/execroot/com_google_googleapis_discovery/bazel-out/host/bin/external/gap

gcf-merge-on-green bot pushed a commit that referenced this issue Jun 2, 2021
This library was always generated with the microgenerator and does not need the fixup script.
Fixes #58.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: compute Issues related to the googleapis/python-compute API. priority: p1 Important issue which blocks shipping the next release. Will be fixed prior to next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants