sio2project / oioioi

GNU General Public License v3.0
160 stars 70 forks source link

Pin package constraints #323

Open dawidratynski opened 5 months ago

dawidratynski commented 5 months ago

Add a way to automatically pin the newest compatible package versions using pip-compile based on already present package requirements. This significantly speeds up deployment time.

This approach could potentially be better in the long run, as bumping package versions won't require manually going through all packages to change requirements, which could be an issue if only very strict requirements are present.

Closes #292

A-dead-pixel commented 5 months ago

Can't we somehow keep the not-pinned requirements in setup.py? pip-compile supports generating from that.

dawidratynski commented 4 months ago

Moved not-pinned requirements back to setup.py and recompiled requirements.