Unable to install both returns and classes together
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- build-system
Research direction
Reproduce the conflict with Python 3.9 by running poetry add returns and poetry add classes using the reported versions. Inspect the dependency metadata for classes 0.4.0 and its typing_extensions constraint; done means Poetry can resolve both packages together without version-solving failure.
Written by the indexing model from the issue text.
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) requires typing_extensions (>=3.10,<4.0).
And because returns (0.19.0) depends on typing-extensions (>=4.0,<5.0)
and no versions of returns match >0.19.0,<0.20.0, classes (>=0.4.0,<0.5.0) is incompatible with returns (>=0.19.0,<0.20.0).
So, because ogc depends on both returns (^0.19.0) and classes (^0.4.0), version solving failed.
How is that should be
Should I be able to run both of these libraries together? If so, maybe just a typing-extensions version update is needed?
System information
pythonversion: 3.9classesversion: 0.4.0returnsversion: 0.19.0mypyversion: 0.941
- Dominant language
- Python
- Stars
- 730
- Forks
- 30
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from dry-python/classes
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dry-python/classes#496 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
dry-python/classes#494 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 52/100
dry-python/classes#492 · 2 comments ·
-
bug
Difficulty 3/5 1-2 days Newbie friendliness 35/100
dry-python/classes#481 · 5 comments · 4 reactions ·
-
bug
Difficulty 4/5 3-5 days Newbie friendliness 25/100
dry-python/classes#330 · 1 comment ·
All issues in dry-python/classes
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
-
hcocena Openpolicies-accepted pre-review precheck-passed
Difficulty 1/5 Under an hour Newbie friendliness 88/100
Bioconductor/BiocContributions#214 · 5 comments ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
TencentCloud/Octop#1169 · 1 comment ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
521xueweihan/HelloGitHub#3778 ·
-
The version checker's trailing attribute region has no control for a less-than inside a quoted value Openarea: dashboard area: tests bug perceived difficulty: 2 python
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Nitjsefnie-Harness-Commons/daedalus#1105 · 1 comment ·