# Pybis uses pytest as the main dependency

**URL:** <https://community.openbis.ch/t/pybis-uses-pytest-as-the-main-dependency/322>\
**Category:** Developments\
**Created:** [26 February 2024 13:57 UTC](https://community.openbis.ch/t/pybis-uses-pytest-as-the-main-dependency/322 "2024-02-26T13:57:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![argp](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@argp](https://community.openbis.ch/u/argp)\
**Post date:** [26 February 2024 13:57 UTC](https://community.openbis.ch/t/pybis-uses-pytest-as-the-main-dependency/322/1 "2024-02-26T13:57:22Z")

</div>

Hi,

The pybis package is using pytest as a main dependency instead of a dev dependency. so during our dep resolution, for the main `requirements.txt` latest version of pytest is picked up due to pybis. but our dev deps need pytest \< 6 so it doesn’t really work.

I was wondering if there is a way to move pytest to a dev dep group.

Cheers  
Amir Golparvar  
Developer @FAIRmat

---

<div class="post-metadata">

**Author:** ![CagtayFabry](https://dub1.discourse-cdn.com/flex013/user_avatar/community.openbis.ch/cagtayfabry/32/124_2.png) [@CagtayFabry](https://community.openbis.ch/u/CagtayFabry)\
**Post date:** [25 March 2024 17:18 UTC](https://community.openbis.ch/t/pybis-uses-pytest-as-the-main-dependency/322/2 "2024-03-25T17:18:20Z")

</div>

This could be implemented by changing the `setup.cfg` file of pybis accordingly, e.g.

```cfg
[options]
install_requires =
    requests
    urllib3
    pandas
    texttable
    tabulate
    python-dateutil
[options.extras_require]
test =
    pytest

```

However I think it is not possible to propose these changes directly on the ETH gitlab instance for externals
