Hello Adam,
thanks for your report and your patch.

On Tuesday, July 18, 2017 11:48:10 AM CEST Adam Cecile wrote:
> Hi,
> 
> Will backporting your package to Jessie for my own use I came accross an
> issue with pytest dependencies. Actually, there's two issue that broke
> the build:
> * In setup.py, there's a pytest==2.7.3 dependency so I'm even wondering
> how this package could build in sid.

pytest dependency is in tests_require so setuptools doesn't use it during 
install. Only calling test command, setuptools will attempt to obtain 
dependencies listed there if they are not installed (in this case the required 
dependency will not be installed on the system)

So to reply to your question, how pyjwt is able to build, it's because pytest 
version was always ok in Stretch as you can see from CI results: 

    https://ci.debian.net/packages/p/pyjwt/unstable/amd64/

> * In debian/control, you should set the dep to >= 2.7.3 as well

I will had a version constraint for pytest to support backport in Jessie.

Kind regards,

-- 
 Daniele Tricoli 'eriol'
 https://mornie.org

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to