iterative / py-template

Hypermodern Python Cookiecutter
http://cookiecutter-hypermodern-python.readthedocs.io/
MIT License
14 stars 7 forks source link

unpin test packages versions #90

Open efiop opened 1 year ago

skshetry commented 1 year ago

Could you elaborate? I prefer it pinned because if you come to the project after 2-3 months, it'll still work as it did before. We had lots of issues with pytest updates, which is why we started pinning them in dvc (mostly pytest-xdist/pytest/pytest-cov and pytest-timeout not mixing well). Although no strong opinion, pytest is a stable/mature framework.

skshetry commented 1 year ago

Also we cannot provide backward compatibility in pytest-servers and pytest-test-utils at this time, so they should always be pinned.

efiop commented 1 year ago

Just writing down an item from retro. The strict == on pytest seems a bit unnecessary in the template, but as we've discussed privately, might be worth keeping to ensure that things will at least work initially. Feel free to close.

skshetry commented 9 months ago

I have changed my mind here. I have started unpinning on some repositories, so we'll likely do same in the template here. Whatever decision gets made downstream is maintainer's responsibility, and at their descretion.