René's URL Explorer Experiment


Title: matplotlib tests fail, expecting their decorator to be outermost · Issue #331 · getappmap/appmap-python · GitHub

Open Graph Title: matplotlib tests fail, expecting their decorator to be outermost · Issue #331 · getappmap/appmap-python

X Title: matplotlib tests fail, expecting their decorator to be outermost · Issue #331 · getappmap/appmap-python

Description: In the 3.5 version of this project: https://github.com/matplotlib/matplotlib Revision de98877e3dc45de8dd441d008f23d88738dc015d Create venv pip install -r requirements/dev/dev-requirements.txt pip install -r requirements/testing/all.txt p...

Open Graph Description: In the 3.5 version of this project: https://github.com/matplotlib/matplotlib Revision de98877e3dc45de8dd441d008f23d88738dc015d Create venv pip install -r requirements/dev/dev-requirements.txt pip i...

X Description: In the 3.5 version of this project: https://github.com/matplotlib/matplotlib Revision de98877e3dc45de8dd441d008f23d88738dc015d Create venv pip install -r requirements/dev/dev-requirements.txt pip i...

Opengraph URL: https://github.com/getappmap/appmap-python/issues/331

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.113.3


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"matplotlib tests fail, expecting their decorator to be outermost","articleBody":"In the 3.5 version of this project: https://github.com/matplotlib/matplotlib\r\n\r\nRevision `de98877e3dc45de8dd441d008f23d88738dc015d`\r\n\r\nCreate venv\r\npip install -r requirements/dev/dev-requirements.txt\r\npip install -r requirements/testing/all.txt   \r\npip install pytest-xdist pytest appmap\r\npytest  -vv\r\n\r\n(most tests will pass)\r\n\r\nrun `appmap-python pytest -vv` - all tests will fail. \r\n\r\nThey all fail with the same error.  Here is a single test example.\r\n\r\n```\r\nappmap-python pytest -n8 -vv lib/matplotlib/tests/test_type1font.py::test_Type1Font                                   INT ✘  3.9.19   matplotlib   17:12:42 \r\n=========================================================================================== test session starts ===========================================================================================\r\nplatform darwin -- Python 3.9.19, pytest-8.2.1, pluggy-1.5.0 -- /Users/petecheslock/repos/matplotlib/venv/bin/python\r\ncachedir: .pytest_cache\r\nrootdir: /Users/petecheslock/repos/matplotlib\r\nconfigfile: pytest.ini\r\nplugins: cov-5.0.0, xvfb-3.0.0, rerunfailures-14.0, appmap-2.0.4, timeout-2.3.1, xdist-3.6.1\r\n8 workers [1 item]      \r\nscheduling tests via LoadScheduling\r\n\r\nlib/matplotlib/tests/test_type1font.py::test_Type1Font \r\n[gw0] [100%] ERROR lib/matplotlib/tests/test_type1font.py::test_Type1Font \r\n\r\n================================================================================================= ERRORS ==================================================================================================\r\n____________________________________________________________________________________ ERROR at setup of test_Type1Font _____________________________________________________________________________________\r\n[gw0] darwin -- Python 3.9.19 /Users/petecheslock/repos/matplotlib/venv/bin/python\r\n\r\nrequest = \u003cSubRequest 'mpl_test_settings' for \u003cFunction test_Type1Font>>\r\n\r\n    @pytest.fixture(autouse=True)\r\n    def mpl_test_settings(request):\r\n>       from matplotlib.testing.decorators import _cleanup_cm\r\n\r\nlib/matplotlib/testing/conftest.py:40: \r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\nvenv/lib/python3.9/site-packages/_appmap/wrapt/wrappers.py:613: in __call__\r\n    return self._self_wrapper(self.__wrapped__, instance,\r\nvenv/lib/python3.9/site-packages/_appmap/importer.py:235: in wrapped_exec_module\r\n    exec_module(*args, **kwargs)\r\nlib/matplotlib/testing/decorators.py:17: in \u003cmodule>\r\n    from matplotlib import (_api, _pylab_helpers, cbook, ft2font, pyplot as plt,\r\nvenv/lib/python3.9/site-packages/_appmap/wrapt/wrappers.py:613: in __call__\r\n    return self._self_wrapper(self.__wrapped__, instance,\r\nvenv/lib/python3.9/site-packages/_appmap/importer.py:235: in wrapped_exec_module\r\n    exec_module(*args, **kwargs)\r\nlib/matplotlib/pyplot.py:2603: in \u003cmodule>\r\n    def imshow(\r\nlib/matplotlib/pyplot.py:105: in _copy_docstring_and_deprecators\r\n    func = decorator(func)\r\nvenv/lib/python3.9/site-packages/_appmap/wrapt/wrappers.py:622: in __call__\r\n    return self._self_wrapper(self.__wrapped__, self._self_instance,\r\nvenv/lib/python3.9/site-packages/_appmap/instrument.py:131: in instrumented_fn\r\n    return call_instrumented(f, instance, args, kwargs)\r\nvenv/lib/python3.9/site-packages/_appmap/instrument.py:82: in call_instrumented\r\n    return f.fn(*args, **kwargs)\r\n_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _\r\n\r\nsince = '3.5', name = 'aspect', func = \u003cfunction imshow at 0x1537dcca0>\r\n\r\n    def make_keyword_only(since, name, func=None):\r\n        \"\"\"\r\n        Decorator indicating that passing parameter *name* (or any of the following\r\n        ones) positionally to *func* is being deprecated.\r\n    \r\n        When used on a method that has a pyplot wrapper, this should be the\r\n        outermost decorator, so that :file:`boilerplate.py` can access the original\r\n        signature.\r\n        \"\"\"\r\n    \r\n        decorator = functools.partial(make_keyword_only, since, name)\r\n    \r\n        if func is None:\r\n            return decorator\r\n    \r\n        signature = inspect.signature(func)\r\n        POK = inspect.Parameter.POSITIONAL_OR_KEYWORD\r\n        KWO = inspect.Parameter.KEYWORD_ONLY\r\n>       assert (name in signature.parameters\r\n                and signature.parameters[name].kind == POK), (\r\n            f\"Matplotlib internal error: {name!r} must be a positional-or-keyword \"\r\n            f\"parameter for {func.__name__}()\")\r\nE       AssertionError: Matplotlib internal error: 'aspect' must be a positional-or-keyword parameter for imshow()\r\n\r\nlib/matplotlib/_api/deprecation.py:434: AssertionError\r\n========================================================================================= short test summary info =========================================================================================\r\nERROR lib/matplotlib/tests/test_type1font.py::test_Type1Font - AssertionError: Matplotlib internal error: 'aspect' must be a positional-or-keyword parameter for imshow()\r\n```","author":{"url":"https://github.com/petecheslock","@type":"Person","name":"petecheslock"},"datePublished":"2024-05-29T21:13:15Z","url":"https://github.com/getappmap/appmap-python/issues/331"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:21cd1f20-2451-2d64-dbf0-6e1ed5df0421
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idC9E0:213839:6D61E57:8B0C7A8:6B030B73
html-safe-nonce768bc6b02a1d70212dd0f2876c8af0910a81ed505319158296d1f5f013ec29d9
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDOUUwOjIxMzgzOTo2RDYxRTU3OjhCMEM3QTg6NkIwMzBCNzMiLCJ2aXNpdG9yX2lkIjoiNzgyNjI5MDAxNTgwNDA5NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac23314fe06d8668fb94952e81f737d15dbfd06a39324e2ad0a4b72144dc9cffa3
hovercard-subject-tagissue:2324257814
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/getappmap/appmap-python/331/issue_layout
twitter:imagehttps://opengraph.githubassets.com/ec2e8fc692a59e272d6dede1203822cf4d217ea17a1525e31c4a4772ad124b75/getappmap/appmap-python/issues/331
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/ec2e8fc692a59e272d6dede1203822cf4d217ea17a1525e31c4a4772ad124b75/getappmap/appmap-python/issues/331
og:image:altIn the 3.5 version of this project: https://github.com/matplotlib/matplotlib Revision de98877e3dc45de8dd441d008f23d88738dc015d Create venv pip install -r requirements/dev/dev-requirements.txt pip i...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamepetecheslock
hostnamegithub.com
expected-hostnamegithub.com
None87e774ee7c6b3bee0490394e4d3e57ec9dbc956f74b87ea685dc8996c1676456
turbo-cache-controlno-preview
go-importgithub.com/getappmap/appmap-python git https://github.com/getappmap/appmap-python.git
octolytics-dimension-user_id46610017
octolytics-dimension-user_logingetappmap
octolytics-dimension-repository_id314785884
octolytics-dimension-repository_nwogetappmap/appmap-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id314785884
octolytics-dimension-repository_network_root_nwogetappmap/appmap-python
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
release423dbb54c5e7bfecc838eb387c1435eb3d0e760d
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/getappmap/appmap-python/issues/331#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetappmap%2Fappmap-python%2Fissues%2F331
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgetappmap%2Fappmap-python%2Fissues%2F331
Sign uphttps://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=getappmap%2Fappmap-python
Reloadhttps://github.com/getappmap/appmap-python/issues/331
Reloadhttps://github.com/getappmap/appmap-python/issues/331
Reloadhttps://github.com/getappmap/appmap-python/issues/331
getappmaphttps://github.com/getappmap
appmap-pythonhttps://github.com/getappmap/appmap-python
Codehttps://github.com/getappmap/appmap-python
Issues51 (51)https://github.com/getappmap/appmap-python/issues
Pull requests6 (6)https://github.com/getappmap/appmap-python/pulls
Discussionshttps://github.com/getappmap/appmap-python/discussions
Actionshttps://github.com/getappmap/appmap-python/actions
Projectshttps://github.com/getappmap/appmap-python/projects
Wikihttps://github.com/getappmap/appmap-python/wiki
Security and qualityhttps://github.com/getappmap/appmap-python/security
Insightshttps://github.com/getappmap/appmap-python/insights
https://github.com/getappmap/appmap-python
New issuehttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/331
New issuehttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/331
matplotlib tests fail, expecting their decorator to be outermosthttps://github.com/getappmap/appmap-python/issues/331#top
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/petecheslock
petecheslockhttps://github.com/petecheslock
on May 29, 2024https://github.com/getappmap/appmap-python/issues/331#issue-2324257814
https://github.com/matplotlib/matplotlibhttps://github.com/matplotlib/matplotlib
apotterrihttps://github.com/apotterri
zermelo-wisenhttps://github.com/zermelo-wisen
on May 30, 2024https://github.com/getappmap/appmap-python/issues/331#event-12982890793
https://github.com/apotterri
apotterrihttps://github.com/apotterri
on Jul 27, 2024https://github.com/getappmap/appmap-python/issues/331#issuecomment-2254206134
apotterrihttps://github.com/apotterri
apotterrihttps://github.com/apotterri
zermelo-wisenhttps://github.com/zermelo-wisen
on Jul 30, 2024https://github.com/getappmap/appmap-python/issues/331#event-13693032969
apotterrihttps://github.com/apotterri
on Jul 30, 2024https://github.com/getappmap/appmap-python/issues/331#event-13693053815
apotterrihttps://github.com/apotterri
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%22
on Jul 30, 2024https://github.com/getappmap/appmap-python/issues/331#event-13693054509
dustinbyrnehttps://github.com/dustinbyrne
apotterrihttps://github.com/apotterri
on Jul 30, 2024https://github.com/getappmap/appmap-python/issues/331#event-13697222835
Sign up for freehttps://github.com/signup?return_to=https://github.com/getappmap/appmap-python/issues/331
Sign in to commenthttps://github.com/login?return_to=https://github.com/getappmap/appmap-python/issues/331
bugSomething isn't workinghttps://github.com/getappmap/appmap-python/issues?q=state%3Aopen%20label%3A%22bug%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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.