René's URL Explorer Experiment


Title: Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest) · Issue #754 · Shopify/shopify_python_api · GitHub

Open Graph Title: Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest) · Issue #754 · Shopify/shopify_python_api

X Title: Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest) · Issue #754 · Shopify/shopify_python_api

Description: Issue summary Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest) This issue was discovered while working on #752 #753 Expected behavior Pre-commit checks should run successfully in GitHub Actions environment Actu...

Open Graph Description: Issue summary Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest) This issue was discovered while working on #752 #753 Expected behavior Pre-commit checks should run success...

X Description: Issue summary Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest) This issue was discovered while working on #752 #753 Expected behavior Pre-commit checks should run success...

Opengraph URL: https://github.com/Shopify/shopify_python_api/issues/754

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest)","articleBody":"# Issue summary\n\nPre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest)\n\nThis issue was discovered while working on #752 #753 \n\n## Expected behavior\n\n- Pre-commit checks should run successfully in GitHub Actions environment\n\n## Actual behavior\n\u003csummary\u003eCurrent Error Log from GitHub Actions (\u003ca href=\"https://github.com/Shopify/shopify_python_api/actions/runs/12671334535/job/35455806742\"\u003elink to failed job\u003c/a\u003e)\u003c/summary\u003e\n\n\n\u003cdetails\u003e\n\u003csummary\u003eError Log\u003c/summary\u003e\n\n```\n/home/runner/.local/bin/pre-commit run --show-diff-on-failure --color=always --all-files\n[INFO] Initializing environment for https://github.com/pre-commit/pre-commit-hooks.\n[WARNING] repo `[https://github.com/pre-commit/pre-commit-hooks`](https://github.com/pre-commit/pre-commit-hooks%60) uses deprecated stage names (commit, push) which will be removed in a future version.  Hint: often `pre-commit autoupdate --repo [https://github.com/pre-commit/pre-commit-hooks`](https://github.com/pre-commit/pre-commit-hooks%60) will fix this.  if it does not -- consider reporting an issue to that repo.\n[INFO] Initializing environment for https://github.com/psf/black.\n[INFO] Initializing environment for https://github.com/PyCQA/pylint.\n[INFO] Installing environment for https://github.com/pre-commit/pre-commit-hooks.\n[INFO] Once installed this environment will be reused.\n[INFO] This may take a few minutes...\n[INFO] Installing environment for https://github.com/psf/black.\n[INFO] Once installed this environment will be reused.\n[INFO] This may take a few minutes...\n[INFO] Installing environment for https://github.com/PyCQA/pylint.\n[INFO] Once installed this environment will be reused.\n[INFO] This may take a few minutes...\nAn unexpected error has occurred: CalledProcessError: command: ('/home/runner/.cache/pre-commit/repo8dfyi049/py_env-python3/bin/python', '-mpip', 'install', '.')\nreturn code: 1\nstdout:\n    Processing /home/runner/.cache/pre-commit/repo8dfyi049\n      Installing build dependencies: started\n      Installing build dependencies: finished with status 'done'\n      Getting requirements to build wheel: started\n      Getting requirements to build wheel: finished with status 'error'\nstderr:\n      error: subprocess-exited-with-error\n      \n      × Getting requirements to build wheel did not run successfully.\n      │ exit code: 1\n      ╰─\u003e [33 lines of output]\n          Traceback (most recent call last):\n            File \"/home/runner/.cache/pre-commit/repo8dfyi049/py_env-python3/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 353, in \u003cmodule\u003e\n              main()\n            File \"/home/runner/.cache/pre-commit/repo8dfyi049/py_env-python3/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 335, in main\n              json_out['return_val'] = hook(**hook_input['kwargs'])\n                                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n            File \"/home/runner/.cache/pre-commit/repo8dfyi049/py_env-python3/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 112, in get_requires_for_build_wheel\n              backend = _build_backend()\n                        ^^^^^^^^^^^^^^^^\n            File \"/home/runner/.cache/pre-commit/repo8dfyi049/py_env-python3/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_in_process/_in_process.py\", line 77, in _build_backend\n              obj = import_module(mod_path)\n                    ^^^^^^^^^^^^^^^^^^^^^^^\n            File \"/usr/lib/python3.12/importlib/__init__.py\", line 90, in import_module\n              return _bootstrap._gcd_import(name[level:], package, level)\n                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line 1387, in _gcd_import\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line 1360, in _find_and_load\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line [131](https://github.com/Shopify/shopify_python_api/actions/runs/12671334535/job/35455806742#step:4:133)0, in _find_and_load_unlocked\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line 488, in _call_with_frames_removed\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line 1387, in _gcd_import\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line 1360, in _find_and_load\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line [133](https://github.com/Shopify/shopify_python_api/actions/runs/12671334535/job/35455806742#step:4:135)1, in _find_and_load_unlocked\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line 935, in _load_unlocked\n            File \"\u003cfrozen importlib._bootstrap_external\u003e\", line 995, in exec_module\n            File \"\u003cfrozen importlib._bootstrap\u003e\", line 488, in _call_with_frames_removed\n            File \"/tmp/pip-build-env-ziat_u1i/overlay/lib/python3.12/site-packages/setuptools/__init__.py\", line 16, in \u003cmodule\u003e\n              import setuptools.version\n            File \"/tmp/pip-build-env-ziat_u1i/overlay/lib/python3.12/site-packages/setuptools/version.py\", line 1, in \u003cmodule\u003e\n              import pkg_resources\n            File \"/tmp/pip-build-env-ziat_u1i/overlay/lib/python3.12/site-packages/pkg_resources/__init__.py\", line 2191, in \u003cmodule\u003e\n              register_finder(pkgutil.ImpImporter, find_on_path)\n                              ^^^^^^^^^^^^^^^^^^^\n          AttributeError: module 'pkgutil' has no attribute 'ImpImporter'. Did you mean: 'zipimporter'?\n          [end of output]\n      \n      note: This error originates from a subprocess, and is likely not a problem with pip.\n    error: subprocess-exited-with-error\n    \n    × Getting requirements to build wheel did not run successfully.\n    │ exit code: 1\n    ╰─\u003e See above for output.\n    \n    note: This error originates from a subprocess, and is likely not a problem with pip.\nCheck the log at /home/runner/.cache/pre-commit/pre-commit.log\nError: The process '/home/runner/.local/bin/pre-commit' failed with exit code 3\n```\n\u003c/details\u003e\n\n## Steps to reproduce the problem\n\n1. Create any Pull Request to this repository\n2. Wait for GitHub Actions to run\n3. Pre-commit check will fail with the error shown above\n\n## Reduced test case\n\nNot applicable - This is a configuration/environment issue rather than a code issue.\n\n## Proposed solution\n\nUpgrade pylint to v3.x.x series. I've confirmed this resolves the issue in my local environment:\n\n```\n  - repo: https://github.com/PyCQA/pylint\n    rev: v3.3.3\n    hooks:\n      - id: pylint\n```\n\nNote: After upgrading to pylint v3.x.x, new lint warnings appear in the codebase. \nThese will need to be addressed in a separate PR after the version upgrade is approved.\n\nThis issue appears to be caused by deprecated features in Python 3.12 that pylint v2.15.8 depends on.\n\n---\n\n## Checklist\n\n- [x] I have described this issue in a way that is actionable (if possible)\n","author":{"url":"https://github.com/nasudadada","@type":"Person","name":"nasudadada"},"datePublished":"2025-01-11T12:48:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/754/shopify_python_api/issues/754"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:05b61873-7c4d-3489-d625-d425a3da88b7
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9706:749E6:2AC074:3B55AE:6969595B
html-safe-nonce59a9495a5b1175642e7e653c0360d3d9f80e94b90474e2bcea7e791c4672dadf
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NzA2Ojc0OUU2OjJBQzA3NDozQjU1QUU6Njk2OTU5NUIiLCJ2aXNpdG9yX2lkIjoiNDE5MzIxNTYzOTg3NTgzNjI1MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac5128d849072f19d85ae6ee1f16b817b4357e7ea3c2c4cfddb77a9b7add02f896
hovercard-subject-tagissue:2781846648
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/Shopify/shopify_python_api/754/issue_layout
twitter:imagehttps://avatars.githubusercontent.com/u/8085?s=400&v=4
twitter:cardsummary
og:imagehttps://avatars.githubusercontent.com/u/8085?s=400&v=4
og:image:altIssue summary Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest) This issue was discovered while working on #752 #753 Expected behavior Pre-commit checks should run success...
og:site_nameGitHub
og:typeobject
og:author:usernamenasudadada
hostnamegithub.com
expected-hostnamegithub.com
None9db5f28da7e24035385d7f349f17890cbe016a939ddd7952be0f07b862094f5a
turbo-cache-controlno-preview
go-importgithub.com/Shopify/shopify_python_api git https://github.com/Shopify/shopify_python_api.git
octolytics-dimension-user_id8085
octolytics-dimension-user_loginShopify
octolytics-dimension-repository_id2249127
octolytics-dimension-repository_nwoShopify/shopify_python_api
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id2249127
octolytics-dimension-repository_network_root_nwoShopify/shopify_python_api
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
release4e59fe66217d3c72925af2a341ae3a8f2b5b5b2a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/Shopify/shopify_python_api/issues/754#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FShopify%2Fshopify_python_api%2Fissues%2F754
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
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
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
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%2FShopify%2Fshopify_python_api%2Fissues%2F754
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=Shopify%2Fshopify_python_api
Reloadhttps://github.com/Shopify/shopify_python_api/issues/754
Reloadhttps://github.com/Shopify/shopify_python_api/issues/754
Reloadhttps://github.com/Shopify/shopify_python_api/issues/754
Shopify https://github.com/Shopify
shopify_python_apihttps://github.com/Shopify/shopify_python_api
Notifications https://github.com/login?return_to=%2FShopify%2Fshopify_python_api
Fork 390 https://github.com/login?return_to=%2FShopify%2Fshopify_python_api
Star 1.4k https://github.com/login?return_to=%2FShopify%2Fshopify_python_api
Code https://github.com/Shopify/shopify_python_api
Issues 13 https://github.com/Shopify/shopify_python_api/issues
Pull requests 11 https://github.com/Shopify/shopify_python_api/pulls
Actions https://github.com/Shopify/shopify_python_api/actions
Models https://github.com/Shopify/shopify_python_api/models
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/Shopify/shopify_python_api/security
Please reload this pagehttps://github.com/Shopify/shopify_python_api/issues/754
Insights https://github.com/Shopify/shopify_python_api/pulse
Code https://github.com/Shopify/shopify_python_api
Issues https://github.com/Shopify/shopify_python_api/issues
Pull requests https://github.com/Shopify/shopify_python_api/pulls
Actions https://github.com/Shopify/shopify_python_api/actions
Models https://github.com/Shopify/shopify_python_api/models
Security https://github.com/Shopify/shopify_python_api/security
Insights https://github.com/Shopify/shopify_python_api/pulse
New issuehttps://github.com/login?return_to=https://github.com/Shopify/shopify_python_api/issues/754
New issuehttps://github.com/login?return_to=https://github.com/Shopify/shopify_python_api/issues/754
#755https://github.com/Shopify/shopify_python_api/pull/755
Pre-commit checks failing in GitHub Actions with Python 3.12(ubuntu:latest)https://github.com/Shopify/shopify_python_api/issues/754#top
#755https://github.com/Shopify/shopify_python_api/pull/755
https://github.com/nasudadada
https://github.com/nasudadada
nasudadadahttps://github.com/nasudadada
on Jan 11, 2025https://github.com/Shopify/shopify_python_api/issues/754#issue-2781846648
#752https://github.com/Shopify/shopify_python_api/pull/752
#753https://github.com/Shopify/shopify_python_api/pull/753
link to failed jobhttps://github.com/Shopify/shopify_python_api/actions/runs/12671334535/job/35455806742
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.