[ValueError] Could not parse version constraint: >-0.10.5
See original GitHub issue- I am on the latest Poetry version.
- I have searched the issues of this repo and believe that this is not a duplicate.
- If an exception occurs when executing a command, I executed it again in debug mode (
-vvv
option).
Issue
I have python-language-server installed. I am trying to remove another package with poetry remove other_package
and during dependency resolution I am receiving this error. The same thing happens during a poetry lock
.
[ValueError]
Could not parse version constraint: >-0.10.5
I think it’s getting hung up here: https://github.com/palantir/python-language-server/blob/develop/setup.py#L54 on a dependency named rope
.
Not sure why this is happening now, I’ve been using poetry and this package for a while.
Poetry
======
* Version: 0.12.6
* Python: 3.6.6
Virtualenv
==========
* Python: 3.6.6
* Implementation: CPython
* Path: /Users/nackjicholson/Library/Caches/pypoetry/virtualenvs/source-data-service-py3.6
System
======
* Platform: darwin
* OS: posix
* Python: /Users/nackjicholson/.pyenv/versions/3.6.6/Python.framework/Versions/3.6
Issue Analytics
- State:
- Created 5 years ago
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Composer "Could not parse version constraint {version}" error
When using the commands 'composer update', 'composer require' or 'composer remove' (other modules), I get the following error:
Read more >poetry install - ParseConstraintError Could not parse version ...
In my case, this issue seems to have been triggered with the latest version of poetry, 1.2.1. Downgrading to 1.1.12 fixed it.
Read more >Source code for openff.toolkit.typing.engines.smirnoff.forcefield
is_directed_acyclic_graph(G)): raise RuntimeError( "Unable to resolve order in which to run ParameterHandlers. Dependencies do not form " "a directed acyclic ...
Read more >Source code for openff.toolkit.utils.rdkit_wrapper
Wrapper class providing a minimal consistent interface to the `RDKit <http://www.rdkit.org/>`. """ __all__ = ("RDKitToolkitWrapper",) import copy import ...
Read more >Bug listing with status RESOLVED with resolution OBSOLETE ...
(was: =dev-java/jdbm-1.0 is available)" status:RESOLVED resolution:OBSOLETE severity:enhancement · Bug:107027 - "dev-vcs/cvsd init script for is not ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I just released version
0.12.7
with this fix included.Okay I made a change in commit 9c63f78 that will make the legacy repositories behave like when searching from PyPI, i.e. drop the invalid constraint.
This commit also fixes the fact that extras are simply not picked up for legacy repositories.