With the caveat that one should not use setuptools to satisfy those
dependencies, but instead use some kind of test runner such as tox/nox
(which then delegate to pip to acquire packages).

On Mon, Mar 9, 2020 at 11:10 AM Xavier Fernandez <xav.fernan...@gmail.com>
wrote:

> Hello,
>
> you might want to use the "test" extra: cf
> https://packaging.python.org/specifications/core-metadata/#provides-extra-multiple-use
> :
> "Two feature names test and doc are reserved to mark dependencies that
> are needed for running automated tests and generating documentation,
> respectively"
>
> --
> Xavier
>
> On Mon, 9 Mar 2020 at 12:02, Felix Schwarz <felix.schw...@oss.schwarz.eu>
> wrote:
>
>> Hi,
>>
>> what is the recommended to solution to declare dependencies which are only
>> required to run tests?
>>
>> In the past there was "tests_require" but as far as I know this is
>> deprecated.
>>
>> I tried to read obvious github issues but maybe I missed something so
>> please
>> bear with me if this has come up way too often. I appreciate pointers.
>>
>> Felix
>> --
>> Distutils-SIG mailing list -- distutils-sig@python.org
>> To unsubscribe send an email to distutils-sig-le...@python.org
>> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
>> Message archived at
>> https://mail.python.org/archives/list/distutils-sig@python.org/message/L52T3OKIGUCEESLV4OKD33KVJNR7E7PL/
>>
> --
> Distutils-SIG mailing list -- distutils-sig@python.org
> To unsubscribe send an email to distutils-sig-le...@python.org
> https://mail.python.org/mailman3/lists/distutils-sig.python.org/
> Message archived at
> https://mail.python.org/archives/list/distutils-sig@python.org/message/2PNZPSFGDGCLMOFRSSNRWNJ7EHC7V4NJ/
>
--
Distutils-SIG mailing list -- distutils-sig@python.org
To unsubscribe send an email to distutils-sig-le...@python.org
https://mail.python.org/mailman3/lists/distutils-sig.python.org/
Message archived at 
https://mail.python.org/archives/list/distutils-sig@python.org/message/N64K5XYWC6ZCWTO4OLR6G7TEDUAKRCFZ/

Reply via email to