René's URL Explorer Experiment


Title: Cannot install development environment on Python 3.12 · Issue #492 · dry-python/classes · GitHub

Open Graph Title: Cannot install development environment on Python 3.12 · Issue #492 · dry-python/classes

X Title: Cannot install development environment on Python 3.12 · Issue #492 · dry-python/classes

Description: Bug report Cannot install development environment on Python 3.12. Repro steps └➜ poetry install Installing dependencies from lock file Package operations: 114 installs, 0 updates, 0 removals - Installing smmap (5.0.0) - Installing gitdb ...

Open Graph Description: Bug report Cannot install development environment on Python 3.12. Repro steps └➜ poetry install Installing dependencies from lock file Package operations: 114 installs, 0 updates, 0 removals - Inst...

X Description: Bug report Cannot install development environment on Python 3.12. Repro steps └➜ poetry install Installing dependencies from lock file Package operations: 114 installs, 0 updates, 0 removals - Inst...

Opengraph URL: https://github.com/dry-python/classes/issues/492

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Cannot install development environment on Python 3.12","articleBody":"# Bug report\r\n\r\nCannot install development environment on Python 3.12.\r\n\r\n## Repro steps\r\n\r\n```\r\n└➜ poetry install\r\nInstalling dependencies from lock file\r\n\r\nPackage operations: 114 installs, 0 updates, 0 removals\r\n\r\n  - Installing smmap (5.0.0)\r\n  - Installing gitdb (4.0.9)\r\n  - Installing mccabe (0.6.1)\r\n  - Installing pbr (5.8.1)\r\n  - Installing pycodestyle (2.7.0)\r\n  - Installing pyflakes (2.3.1)\r\n  - Installing pyparsing (3.0.8)\r\n  - Installing attrs (21.4.0)\r\n  - Installing certifi (2022.12.7)\r\n  - Installing charset-normalizer (2.0.12)\r\n  - Installing docutils (0.19)\r\n  - Installing flake8 (3.9.2)\r\n  - Installing gitpython (3.1.27)\r\n  - Installing idna (3.3)\r\n  - Installing markupsafe (2.1.1)\r\n  - Installing packaging (21.3)\r\n  - Installing pytz (2022.1)\r\n  - Installing pyyaml (6.0): Failed\r\n\r\n  ChefBuildError\r\n\r\n  Backend subprocess exited when trying to invoke get_requires_for_build_wheel\r\n\r\n  running egg_info\r\n  writing lib/PyYAML.egg-info/PKG-INFO\r\n  writing dependency_links to lib/PyYAML.egg-info/dependency_links.txt\r\n  writing top-level names to lib/PyYAML.egg-info/top_level.txt\r\n  Traceback (most recent call last):\r\n    File \"/home/maxim/.local/share/pipx/venvs/poetry/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py\", line 389, in \u003cmodule\u003e\r\n      main()\r\n    File \"/home/maxim/.local/share/pipx/venvs/poetry/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py\", line 373, in main\r\n      json_out[\"return_val\"] = hook(**hook_input[\"kwargs\"])\r\n                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n    File \"/home/maxim/.local/share/pipx/venvs/poetry/lib/python3.12/site-packages/pyproject_hooks/_in_process/_in_process.py\", line 143, in get_requires_for_build_wheel\r\n      return hook(config_settings)\r\n             ^^^^^^^^^^^^^^^^^^^^^\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/build_meta.py\", line 334, in get_requires_for_build_wheel\r\n      return self._get_build_requires(config_settings, requirements=[])\r\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/build_meta.py\", line 304, in _get_build_requires\r\n      self.run_setup()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/build_meta.py\", line 320, in run_setup\r\n      exec(code, locals())\r\n    File \"\u003cstring\u003e\", line 288, in \u003cmodule\u003e\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/__init__.py\", line 117, in setup\r\n      return distutils.core.setup(**attrs)\r\n             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py\", line 183, in setup\r\n      return run_commands(dist)\r\n             ^^^^^^^^^^^^^^^^^^\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/_distutils/core.py\", line 199, in run_commands\r\n      dist.run_commands()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py\", line 954, in run_commands\r\n      self.run_command(cmd)\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/dist.py\", line 995, in run_command\r\n      super().run_command(command)\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/_distutils/dist.py\", line 973, in run_command\r\n      cmd_obj.run()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py\", line 313, in run\r\n      self.find_sources()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py\", line 321, in find_sources\r\n      mm.run()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py\", line 544, in run\r\n      self.add_defaults()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/command/egg_info.py\", line 582, in add_defaults\r\n      sdist.add_defaults(self)\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/command/sdist.py\", line 109, in add_defaults\r\n      super().add_defaults()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py\", line 238, in add_defaults\r\n      self._add_defaults_ext()\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/_distutils/command/sdist.py\", line 323, in _add_defaults_ext\r\n      self.filelist.extend(build_ext.get_source_files())\r\n                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^\r\n    File \"\u003cstring\u003e\", line 204, in get_source_files\r\n    File \"/tmp/tmps0g2qzy0/.venv/lib/python3.12/site-packages/setuptools/_distutils/cmd.py\", line 107, in __getattr__\r\n      raise AttributeError(attr)\r\n  AttributeError: cython_sources\r\n\r\n\r\n  at ~/.local/share/pipx/venvs/poetry/lib/python3.12/site-packages/poetry/installation/chef.py:164 in _prepare\r\n      160│\r\n      161│                 error = ChefBuildError(\"\\n\\n\".join(message_parts))\r\n      162│\r\n      163│             if error is not None:\r\n    → 164│                 raise error from None\r\n      165│\r\n      166│             return path\r\n      167│\r\n      168│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -\u003e Path:\r\n\r\nNote: This error originates from the build backend, and is likely not a problem with poetry but with pyyaml (6.0) not supporting PEP 517 builds. You can verify this by running 'pip wheel --no-cache-dir --use-pep517 \"pyyaml (==6.0)\"'.\r\n\r\n  - Installing six (1.16.0)\r\n  - Installing snowballstemmer (2.2.0)\r\n  - Installing stevedore (3.5.0)\r\n  - Installing urllib3 (1.26.9)\r\n```\r\n\r\n## System info\r\n\r\nWSL2, Windows 11\r\n\r\n```\r\n└➜ uname -a\r\nLinux 5.15.153.1-microsoft-standard-WSL2 #1 SMP Fri Mar 29 23:14:13 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux\r\n\r\n└➜ python --version\r\nPython 3.12.3\r\n\r\n└➜ poetry --version\r\nPoetry (version 1.8.5)\r\n```\r\n\r\nI suppose the problem is related to the fact that `poetry.lock`  requires `pyyaml == 6.0`, but looks like there is a problem to build `pyyaml \u003c 6.0.1` for python 3.11 and newer (https://github.com/yaml/pyyaml/issues/736).\r\n\r\n## Proposed solution\r\n\r\n1. Maybe bump `pyyaml` dependency to the latest `6.0.2`?\r\n2. Update `poetry.lock` for python 3.12 and newer (for pyyaml package wheels are listed for 3.11 and older)","author":{"url":"https://github.com/ivanovmg","@type":"Person","name":"ivanovmg"},"datePublished":"2024-12-12T17:02:42.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/492/classes/issues/492"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:e0b142e2-b843-37be-3728-38db62178bbf
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8F32:1E0146:1082824:1615621:69699468
html-safe-noncecb75e797cfbb269fd9397dfa041ccf306d5ce9c0dec398d1bbe2707df35fbf4d
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4RjMyOjFFMDE0NjoxMDgyODI0OjE2MTU2MjE6Njk2OTk0NjgiLCJ2aXNpdG9yX2lkIjoiNjkxMTE5MzY5NDk0OTk3MTA0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac13221eae33877a36ede0165f3f6eb41a47761b8cf5a2694776e48c2cb7c4dc60
hovercard-subject-tagissue:2736444340
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/dry-python/classes/492/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e829f268de067d8498ac4ce0f2e8b2daa33c0f144bf1d684f7027dfdb7cfe77b/dry-python/classes/issues/492
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e829f268de067d8498ac4ce0f2e8b2daa33c0f144bf1d684f7027dfdb7cfe77b/dry-python/classes/issues/492
og:image:altBug report Cannot install development environment on Python 3.12. Repro steps └➜ poetry install Installing dependencies from lock file Package operations: 114 installs, 0 updates, 0 removals - Inst...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameivanovmg
hostnamegithub.com
expected-hostnamegithub.com
None3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751
turbo-cache-controlno-preview
go-importgithub.com/dry-python/classes git https://github.com/dry-python/classes.git
octolytics-dimension-user_id37993755
octolytics-dimension-user_logindry-python
octolytics-dimension-repository_id217621930
octolytics-dimension-repository_nwodry-python/classes
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id217621930
octolytics-dimension-repository_network_root_nwodry-python/classes
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
releaseaf80af7cc9e3de9c336f18b208a600950a3c187c
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/dry-python/classes/issues/492#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fdry-python%2Fclasses%2Fissues%2F492
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%2Fdry-python%2Fclasses%2Fissues%2F492
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=dry-python%2Fclasses
Reloadhttps://github.com/dry-python/classes/issues/492
Reloadhttps://github.com/dry-python/classes/issues/492
Reloadhttps://github.com/dry-python/classes/issues/492
dry-python https://github.com/dry-python
classeshttps://github.com/dry-python/classes
Please reload this pagehttps://github.com/dry-python/classes/issues/492
Notifications https://github.com/login?return_to=%2Fdry-python%2Fclasses
Fork 30 https://github.com/login?return_to=%2Fdry-python%2Fclasses
Star 723 https://github.com/login?return_to=%2Fdry-python%2Fclasses
Code https://github.com/dry-python/classes
Issues 21 https://github.com/dry-python/classes/issues
Pull requests 16 https://github.com/dry-python/classes/pulls
Actions https://github.com/dry-python/classes/actions
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/dry-python/classes/security
Please reload this pagehttps://github.com/dry-python/classes/issues/492
Insights https://github.com/dry-python/classes/pulse
Code https://github.com/dry-python/classes
Issues https://github.com/dry-python/classes/issues
Pull requests https://github.com/dry-python/classes/pulls
Actions https://github.com/dry-python/classes/actions
Security https://github.com/dry-python/classes/security
Insights https://github.com/dry-python/classes/pulse
New issuehttps://github.com/login?return_to=https://github.com/dry-python/classes/issues/492
New issuehttps://github.com/login?return_to=https://github.com/dry-python/classes/issues/492
Cannot install development environment on Python 3.12https://github.com/dry-python/classes/issues/492#top
bugSomething isn't workinghttps://github.com/dry-python/classes/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/ivanovmg
https://github.com/ivanovmg
ivanovmghttps://github.com/ivanovmg
on Dec 12, 2024https://github.com/dry-python/classes/issues/492#issue-2736444340
yaml/pyyaml#736https://github.com/yaml/pyyaml/issues/736
bugSomething isn't workinghttps://github.com/dry-python/classes/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

Viewport: width=device-width


URLs of crawlers that visited me.