question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[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:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
sdispatercommented, Nov 8, 2018

I just released version 0.12.7 with this fix included.

0reactions
sdispatercommented, Nov 8, 2018

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found