Open
Description
Python Version
3.8.11
pytest Version
7.1.3
Package Version
3.12.0
Description
For our package alibi detect, we've defined a pytest-randomly entry point in our setup.cfg
:
[options.entry_points]
pytest_randomly.random_seeder =
alibi_detect = alibi_detect.utils._random:set_seed
One of our dependencies (thinc), also defines an entry point:
[options.entry_points]
pytest_randomly.random_seeder =
thinc = thinc.api:fix_random_seed
We don't need thinc's random seeder on our tests, however, it appears to be pulled in automatically and causes our tests to fail. My understanding was that pytest
would only pay attention to whichever entry point was defined first, however I have tried to change the order of our pip installs to no avail. Is there a strategy to handle such a situation?
Metadata
Metadata
Assignees
Labels
No labels