Title: Unable to install both returns and classes together · Issue #386 · dry-python/classes · GitHub
Open Graph Title: Unable to install both returns and classes together · Issue #386 · dry-python/classes
X Title: Unable to install both returns and classes together · Issue #386 · dry-python/classes
Description: Bug report What's wrong Just doing a simple poetry add returns and poetry add classes results in: Because no versions of classes match >0.4.0,<0.5.0 and classes (0.4.0) depends on typing_extensions (>=3.10,<4.0), classes (>=0.4.0,<0.5.0)...
Open Graph Description: Bug report What's wrong Just doing a simple poetry add returns and poetry add classes results in: Because no versions of classes match >0.4.0,<0.5.0 and classes (0.4.0) depends on typing_extensions...
X Description: Bug report What's wrong Just doing a simple poetry add returns and poetry add classes results in: Because no versions of classes match >0.4.0,<0.5.0 and classes (0.4.0) depends on typing_...
Opengraph URL: https://github.com/dry-python/classes/issues/386
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Unable to install both returns and classes together","articleBody":"# Bug report\r\n\r\n\u003c!--\r\nHi, thanks for submitting a bug. We appreciate that.\r\n\r\nBut, we will need some information about what's wrong to help you.\r\n--\u003e\r\n\r\n\r\n## What's wrong\r\n\r\n\r\nJust doing a simple `poetry add returns` and `poetry add classes` results in:\r\n\r\n```\r\n Because no versions of classes match \u003e0.4.0,\u003c0.5.0\r\n and classes (0.4.0) depends on typing_extensions (\u003e=3.10,\u003c4.0), classes (\u003e=0.4.0,\u003c0.5.0) requires typing_extensions (\u003e=3.10,\u003c4.0).\r\n And because returns (0.19.0) depends on typing-extensions (\u003e=4.0,\u003c5.0)\r\n and no versions of returns match \u003e0.19.0,\u003c0.20.0, classes (\u003e=0.4.0,\u003c0.5.0) is incompatible with returns (\u003e=0.19.0,\u003c0.20.0).\r\n So, because ogc depends on both returns (^0.19.0) and classes (^0.4.0), version solving failed.\r\n```\r\n\r\n\u003c!-- Describe what is not working. Please, attach a traceback. --\u003e\r\n\r\n## How is that should be\r\n\r\nShould I be able to run both of these libraries together? If so, maybe just a typing-extensions version update is needed?\r\n\r\n\u003c!-- Describe how it should work. --\u003e\r\n\r\n\u003c!--\r\n\r\n Love dry-python? ❤️\r\n Do you want your bugs to be solved faster?\r\n\r\n Please consider supporting us:\r\n 👉 https://github.com/sponsors/dry-python\r\n\r\n--\u003e\r\n\r\n## System information\r\n\r\n- `python` version: 3.9\r\n- `classes` version: 0.4.0\r\n- `returns` version: 0.19.0\r\n- `mypy` version: 0.941\r\n","author":{"url":"https://github.com/adam-stokes","@type":"Person","name":"adam-stokes"},"datePublished":"2022-04-10T18:45:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/386/classes/issues/386"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:a569bca7-fefb-39d3-8466-33273555385d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | CF5C:18C2EF:84363F:AF9E9B:69697A1C |
| html-safe-nonce | f22185c1b5e4c5fa03c1ac47dba107664a8087e9b15816a12869440b3f3bf819 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRjVDOjE4QzJFRjo4NDM2M0Y6QUY5RTlCOjY5Njk3QTFDIiwidmlzaXRvcl9pZCI6IjU2Nzc5NDM5ODgyMzY2Nzk3MDgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3f948e89c51328b60c889db5b81e37949c846548ef125c6afb037e9b9b100bf8 |
| hovercard-subject-tag | issue:1199139034 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/dry-python/classes/386/issue_layout |
| twitter:image | https://opengraph.githubassets.com/c3702e2a3862aebc10ce087d63409e332ecfa0fc6a763628a065f9a9595f55b3/dry-python/classes/issues/386 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/c3702e2a3862aebc10ce087d63409e332ecfa0fc6a763628a065f9a9595f55b3/dry-python/classes/issues/386 |
| og:image:alt | Bug report What's wrong Just doing a simple poetry add returns and poetry add classes results in: Because no versions of classes match >0.4.0,<0.5.0 and classes (0.4.0) depends on typing_extensions... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | adam-stokes |
| hostname | github.com |
| expected-hostname | github.com |
| None | c6f193beb8ff08443adc07685d75302ab8aaf0a135f6e251c3ff3112c8deb881 |
| turbo-cache-control | no-preview |
| go-import | github.com/dry-python/classes git https://github.com/dry-python/classes.git |
| octolytics-dimension-user_id | 37993755 |
| octolytics-dimension-user_login | dry-python |
| octolytics-dimension-repository_id | 217621930 |
| octolytics-dimension-repository_nwo | dry-python/classes |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 217621930 |
| octolytics-dimension-repository_network_root_nwo | dry-python/classes |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 212e3e3d3298bf5b313830edfd2399e869f7ea76 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width