René's URL Explorer Experiment


Title: Error on collecting tests: · Issue #372 · googleapis/python-api-core · GitHub

Open Graph Title: Error on collecting tests: · Issue #372 · googleapis/python-api-core

X Title: Error on collecting tests: · Issue #372 · googleapis/python-api-core

Description: While updating the packaging for this package for openSUSE, we run the test suite and it errored on us: Environment details OS type and version: Linux/openSUSE/Tumbleweed as of today (2022-04-27) Python version: python --version 3.9.12 (...

Open Graph Description: While updating the packaging for this package for openSUSE, we run the test suite and it errored on us: Environment details OS type and version: Linux/openSUSE/Tumbleweed as of today (2022-04-27) P...

X Description: While updating the packaging for this package for openSUSE, we run the test suite and it errored on us: Environment details OS type and version: Linux/openSUSE/Tumbleweed as of today (2022-04-27) P...

Opengraph URL: https://github.com/googleapis/python-api-core/issues/372

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Error on collecting tests: ","articleBody":"While updating the packaging for this package for openSUSE, we run the test suite and it errored on us:\r\n\r\n#### Environment details\r\n\r\n  - OS type and version: Linux/openSUSE/Tumbleweed as of today (2022-04-27)\r\n  - Python version: `python --version` 3.9.12 (but also with 3.8.13 and 3.10.4)\r\n  - pip version: `pip --version` 22.0.4\r\n  - `google-api-core` version: `pip show google-api-core` 2.7.2\r\n\r\n#### Steps to reproduce\r\n\r\n  1. see below\r\n\r\n#### Stack trace\r\n```\r\n[    9s] + PYTHONPATH=/home/abuild/rpmbuild/BUILDROOT/python-google-api-core-2.7.2-0.x86_64/usr/lib/python3.9/site-packages\r\n[    9s] + PYTHONDONTWRITEBYTECODE=1\r\n[    9s] + pytest-3.9 --ignore=_build.python39 --ignore=_build.python310 --ignore=_build.python38 -v\r\n[    9s] ============================= test session starts ==============================\r\n[    9s] platform linux -- Python 3.9.12, pytest-7.1.1, pluggy-1.0.0 -- /usr/bin/python3.9\r\n[    9s] cachedir: .pytest_cache\r\n[    9s] rootdir: /home/abuild/rpmbuild/BUILD/google-api-core-2.7.2\r\n[    9s] plugins: asyncio-0.17.2\r\n[    9s] asyncio: mode=legacy\r\n[   10s] collecting ... collected 614 items / 1 error\r\n[   10s]\r\n[   10s] ==================================== ERRORS ====================================\r\n[   10s] ______________ ERROR collecting tests/unit/test_rest_streaming.py ______________\r\n[   10s] /usr/lib/python3.9/site-packages/google/protobuf/descriptor_database.py:129: in FindFileContainingSymbol\r\n[   10s]     return self._file_desc_protos_by_symbol[symbol]\r\n[   10s] E   KeyError: 'Genre'\r\n[   10s]\r\n[   10s] During handling of the above exception, another exception occurred:\r\n[   10s] /usr/lib/python3.9/site-packages/google/protobuf/descriptor_database.py:138: in FindFileContainingSymbol\r\n[   10s]     return self._file_desc_protos_by_symbol[top_level]\r\n[   10s] E   KeyError: ''\r\n[   10s]\r\n[   10s] During handling of the above exception, another exception occurred:\r\n[   10s] tests/unit/test_rest_streaming.py:36: in \u003cmodule\u003e\r\n[   10s]     class Genre(proto.Enum):\r\n[   10s] /usr/lib/python3.9/site-packages/proto/enums.py:102: in __new__\r\n[   10s]     file_info.generate_file_pb(new_class=cls, fallback_salt=full_name)\r\n[   10s] /usr/lib/python3.9/site-packages/proto/_file_info.py:138: in generate_file_pb\r\n[   10s]     descriptor = pool.FindEnumTypeByName(full_name)\r\n[   10s] /usr/lib/python3.9/site-packages/google/protobuf/descriptor_pool.py:534: in FindEnumTypeByName\r\n[   10s]     self._FindFileContainingSymbolInDb(full_name)\r\n[   10s] /usr/lib/python3.9/site-packages/google/protobuf/descriptor_pool.py:728: in _FindFileContainingSymbolInDb\r\n[   10s]     raise error\r\n[   10s] /usr/lib/python3.9/site-packages/google/protobuf/descriptor_pool.py:723: in _FindFileContainingSymbolInDb\r\n[   10s]     file_proto = self._internal_db.FindFileContainingSymbol(symbol)\r\n[   10s] /usr/lib/python3.9/site-packages/google/protobuf/descriptor_database.py:141: in FindFileContainingSymbol\r\n[   10s]     raise KeyError(symbol)\r\n[   10s] E   KeyError: 'Genre'\r\n[   10s] =============================== warnings summary ===============================\r\n[   10s] ../../../../../usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191\r\n[   10s]   /usr/lib/python3.9/site-packages/pytest_asyncio/plugin.py:191: DeprecationWarning: The 'asyncio_mode' default value will change to 'strict' in future, please explicitly use 'asyncio_mode=strict' or 'asyncio_mode=auto' in pytest configuration file.\r\n[   10s]     config.issue_config_time_warning(LEGACY_MODE, stacklevel=2)\r\n\r\n[ ... this warning repeated many times ... ]\r\n\r\n[   10s] -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html\r\n[   10s] =========================== short test summary info ============================\r\n[   10s] ERROR tests/unit/test_rest_streaming.py - KeyError: 'Genre'\r\n[   10s] !!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!\r\n[   10s] ======================== 19 warnings, 1 error in 1.39s =========================\r\n[   10s] error: Bad exit status from /var/tmp/rpm-tmp.4T1eKX (%check)\r\n[   10s]\r\n```\r\n[Complete build log](https://github.com/googleapis/python-api-core/files/8570403/_log.txt) with all details of packages used and steps taken to reproduce.","author":{"url":"https://github.com/mcepl","@type":"Person","name":"mcepl"},"datePublished":"2022-04-27T08:44:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":6},"url":"https://github.com/372/python-api-core/issues/372"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0bd1d411-4e5e-2a18-0ea9-02f71185597b
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idA80A:1162D4:BEF75:118F97:6A4DFAA3
html-safe-nonce3f5793a70db690aa83ef0f6ce5c40d25cf44a4dd782df070e7879902e0638256
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBODBBOjExNjJENDpCRUY3NToxMThGOTc6NkE0REZBQTMiLCJ2aXNpdG9yX2lkIjoiNDk1MDA1NDE2OTUzODg1MzUzOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac63c70472a3d8d337377429c594da9a17f56f77b0a5c33da59697a3e9f3eca34c
hovercard-subject-tagissue:1217015106
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/googleapis/python-api-core/372/issue_layout
twitter:imagehttps://opengraph.githubassets.com/786328256cd61cf5f05ecf259d06b785f044178226913e9959b9fc19e7c54bed/googleapis/python-api-core/issues/372
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/786328256cd61cf5f05ecf259d06b785f044178226913e9959b9fc19e7c54bed/googleapis/python-api-core/issues/372
og:image:altWhile updating the packaging for this package for openSUSE, we run the test suite and it errored on us: Environment details OS type and version: Linux/openSUSE/Tumbleweed as of today (2022-04-27) P...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemcepl
hostnamegithub.com
expected-hostnamegithub.com
None5818716c93c6a2925b815402541a32814e43a7b1261c322b0c2df75224289566
turbo-cache-controlno-preview
go-importgithub.com/googleapis/python-api-core git https://github.com/googleapis/python-api-core.git
octolytics-dimension-user_id16785467
octolytics-dimension-user_logingoogleapis
octolytics-dimension-repository_id226992456
octolytics-dimension-repository_nwogoogleapis/python-api-core
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id226992456
octolytics-dimension-repository_network_root_nwogoogleapis/python-api-core
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release4314b1df11fa8a565684f3a72dc971e3785da365
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/googleapis/python-api-core/issues/372#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fissues%2F372
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgoogleapis%2Fpython-api-core%2Fissues%2F372
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=googleapis%2Fpython-api-core
Reloadhttps://github.com/googleapis/python-api-core/issues/372
Reloadhttps://github.com/googleapis/python-api-core/issues/372
Reloadhttps://github.com/googleapis/python-api-core/issues/372
Please reload this pagehttps://github.com/googleapis/python-api-core/issues/372
googleapis https://github.com/googleapis
python-api-corehttps://github.com/googleapis/python-api-core
Notifications https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Fork 97 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Star 144 https://github.com/login?return_to=%2Fgoogleapis%2Fpython-api-core
Code https://github.com/googleapis/python-api-core
Issues 0 https://github.com/googleapis/python-api-core/issues
Pull requests 0 https://github.com/googleapis/python-api-core/pulls
Actions https://github.com/googleapis/python-api-core/actions
Projects https://github.com/googleapis/python-api-core/projects
Security and quality 0 https://github.com/googleapis/python-api-core/security
Insights https://github.com/googleapis/python-api-core/pulse
Code https://github.com/googleapis/python-api-core
Issues https://github.com/googleapis/python-api-core/issues
Pull requests https://github.com/googleapis/python-api-core/pulls
Actions https://github.com/googleapis/python-api-core/actions
Projects https://github.com/googleapis/python-api-core/projects
Security and quality https://github.com/googleapis/python-api-core/security
Insights https://github.com/googleapis/python-api-core/pulse
#373https://github.com/googleapis/python-api-core/pull/373
Error on collecting tests: https://github.com/googleapis/python-api-core/issues/372#top
#373https://github.com/googleapis/python-api-core/pull/373
https://github.com/parthea
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com/mcepl
mceplhttps://github.com/mcepl
on Apr 27, 2022https://github.com/googleapis/python-api-core/issues/372#issue-1217015106
Complete build loghttps://github.com/googleapis/python-api-core/files/8570403/_log.txt
partheahttps://github.com/parthea
priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22priority%3A%20p1%22
type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.https://github.com/googleapis/python-api-core/issues?q=state%3Aopen%20label%3A%22type%3A%20bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.