GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — mypy checks failing for google/cloud/dialogflow_v2beta1 (also google/cloud/dialogflow_v2) recent librarian generation · Issue #16165 · googleapis/google-cloud-python

mypy checks failing for google/cloud/dialogflow_v2beta1 (also google/cloud/dialogflow_v2) recent librarian generation #16165

New issue
Copy link
New issue
Copy link
Closed as duplicate
Closed as duplicate
mypy checks failing for google/cloud/dialogflow_v2beta1 (also google/cloud/dialogflow_v2) recent librarian generation#16165
Copy link
Assignees
gkevinzheng
Labels
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Description

@codyoss
codyoss
opened on Mar 25, 2026
Issue body actions

There were a couple of failed libraries to generate this this weeks batch: #16161

@parthea tried to regenerate these individually in:

  • chore: librarian generate pull request: 20260325T135940Z #16162
  • chore: librarian generate pull request: 20260325T140325Z #16163

Both have failed mypy lint checks which are required. Assigning to on-duty

Activity

  1. codyoss
    assigned
    gkevinzheng
    on Mar 25, 2026
  2. parthea commented on Mar 25, 2026

    @parthea
    parthea
    on Mar 25, 2026
    Contributor
    More actions

    Correction, only #16162 is failing due to duplicate variable names. See file packages/google-cloud-dialogflow/google/cloud/dialogflow_v2/services/answer_records/async_client.py in https://github.com/googleapis/google-cloud-python/pull/16162/changes

    nox > mypy -p google --check-untyped-defs
    mypy.ini: [mypy-google.iam.*]: Per-module sections should only specify per-module flags (explicit_package_bases, incremental)
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/participants/client.py:452: error: Name "tool_path" already defined on line 430  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/participants/client.py:467: error: Name "parse_tool_path" already defined on line 443  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/generators/client.py:306: error: Name "tool_path" already defined on line 284  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/generators/client.py:321: error: Name "parse_tool_path" already defined on line 297  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/generator_evaluations/client.py:332: error: Name "tool_path" already defined on line 310  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/generator_evaluations/client.py:347: error: Name "parse_tool_path" already defined on line 323  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/conversations/client.py:535: error: Name "tool_path" already defined on line 513  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/conversations/client.py:550: error: Name "parse_tool_path" already defined on line 526  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/answer_records/client.py:360: error: Name "tool_path" already defined on line 338  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2beta1/services/answer_records/client.py:375: error: Name "parse_tool_path" already defined on line 351  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/participants/client.py:430: error: Name "tool_path" already defined on line 408  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/participants/client.py:445: error: Name "parse_tool_path" already defined on line 421  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/generators/client.py:306: error: Name "tool_path" already defined on line 284  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/generators/client.py:321: error: Name "parse_tool_path" already defined on line 297  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/generator_evaluations/client.py:328: error: Name "tool_path" already defined on line 306  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/generator_evaluations/client.py:343: error: Name "parse_tool_path" already defined on line 319  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/conversations/client.py:535: error: Name "tool_path" already defined on line 513  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/conversations/client.py:550: error: Name "parse_tool_path" already defined on line 526  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/answer_records/client.py:338: error: Name "tool_path" already defined on line 316  [no-redef]
    .nox/mypy-3-14/lib/python3.14/site-packages/google/cloud/dialogflow_v2/services/answer_records/client.py:353: error: Name "parse_tool_path" already defined on line 329  [no-redef]
    
    Image
    Reacted by Cody Oss
  3. parthea
    changed the title [-]mypy checks failing for recent librarian generations[/-] [+]mypy checks failing for google/cloud/dialogflow_v2beta1 recent librarian generation[/+] on Mar 25, 2026
  4. parthea
    added
    type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.
    priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.
    on Mar 25, 2026
  5. parthea
    changed the title [-]mypy checks failing for google/cloud/dialogflow_v2beta1 recent librarian generation[/-] [+]mypy checks failing for google/cloud/dialogflow_v2beta1 (also google/cloud/dialogflow_v2) recent librarian generation[/+] on Mar 27, 2026
  6. jskeet commented on Mar 31, 2026

    @jskeet
    jskeet
    on Mar 31, 2026
    Contributor
    More actions

    When fixing this, it's worth being aware that at the moment, the GAPIC generator is non-deterministic under both librarian and legacylibrarian - regenerating the library, it changes every time. I'll add this to the doc too.

  7. parthea
    added a commit that references this issue on Apr 1, 2026

    chore(librarian): block generation for google-cloud-dialogflow due to…

    a349fe5
  8. parthea commented on May 1, 2026

    @parthea
    parthea
    on May 1, 2026
    Contributor
    More actions

    Closing this bug as duplicate of googleapis/librarian#5333. A new flag was added to gapic-generator to resolve helper method collisions via PR #16769. We're just waiting on this feature to be released. googleapis/librarian#5333 tracks restoring generation for google-cloud-dialogflow

  9. parthea
    closed this as a duplicateof python: fix and enable generation for google-cloud-dialogflow librarian#5333 on May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

  • @gkevinzheng
    gkevinzheng

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    You are visitor 01402775 — GeezerVison does not store the pages you look up.
    Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.