[Python-modules-team] Bug#868755: [pyjwt] pytest build dependencies is not correct
Daniele Tricoli
eriol at mornie.org
Tue Jul 18 23:06:13 UTC 2017
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20170719/e88d3991/attachment-0001.sig>
More information about the Python-modules-team
mailing list