David-OConnor / pyflow

An installation and dependency system for Python
MIT License
1.32k stars 44 forks source link

Flasgger cannot be installed #25

Closed BlackHacked closed 4 years ago

BlackHacked commented 4 years ago

$ pyflow install flasgger Found lockfile Resolving dependencies... Can't find a compatible package for Req { name: "jsonschema", constraints: [Constraint { type_: Lt, version: 3.0.0 }], extra: None, sys_platform: None, python_version: None, install_with_extras: None, path: None, git: None }

David-OConnor commented 4 years ago

Bug: This is caused by jsonschema being specified twice in flasgger's requirements, using, while pyflow was expecting it to be on the same line. Standby for a fix.

David-OConnor commented 4 years ago

In the meanwhile, you can change flasgger's version to one that doesn't do this, ie anything but 0.9.3. To do this, edit the line in pyproject.toml to read flasgger = "0.9.2".

David-OConnor commented 4 years ago

Fixed in latest commit.

BlackHacked commented 4 years ago

Thanks