Skip to content
This repository has been archived by the owner on Jul 12, 2022. It is now read-only.

Wrong jsonschema requirement in PyPi #6

Closed
vinci1it2000 opened this issue Sep 20, 2019 · 5 comments
Closed

Wrong jsonschema requirement in PyPi #6

vinci1it2000 opened this issue Sep 20, 2019 · 5 comments
Assignees
Labels

Comments

@vinci1it2000
Copy link
Member

Screenshot 2019-09-20 at 11 26 53

@ankostis
Copy link
Member

ankostis commented Sep 20, 2019

Why is it wrong?

@vinci1it2000
Copy link
Member Author

You have not any limitation in the setup file, but when it is installed from PyPI it downgrades the jsonschema to 2.6.0. Moreover, this version is icompatible with pandalone that requires jsonschema >=3.0.0.

@ankostis
Copy link
Member

ankostis commented Sep 20, 2019

The latest sources in wltp repo are not released yet because the project is not ready. The only release in PyPiv is the old code (~2014 GTR).

The old wltp depend on jsonschema-2.x.
The new (unreleased) on 3.x.

Pandalone has 2 active releases, one for 0.2 and another for 0.3.

So make sure you have this boundaries as co2mpas dependency [edit: pandalone pinning was missing]:

  • wltp < 1
  • panmdalone < 0.3

This will pick the correct pandalone.

@vinci1it2000
Copy link
Member Author

@ankostis can you check what you wrote? the latest version of wltp is 0.1.2a0 so if we put wltp < 1 doesn't change anything.

@ankostis
Copy link
Member

You're right.
I forgot that wltp < 1 did not depend on pandalone at all, so you have to set also the boundary for pandalone < 0.3 in co2mpas:setup.py.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants