Closed arvyzukai closed 11 months ago
I don't really care about worklow versions while they work :) Also - instead of pydantic parameters update I've specified pydantic version that was (probably) used when the course was created.
Fair enough :)
Hi Arvydas! Thank you for reporting, and sorry for the delay! The problematic files are now updated, so the learners shouldn't run into the issues anymore.
item
This issue was already raised but the Course content was not changed so I raised the issue in order to pull all the aspects of the problem to one place.
The main problem is that the pickled model version is backward incompatible. To remedy that the requirements.txt need to be modified to include the old scikit-learn version:
That also requires older Cython version, so the .github/workflows/course4-week3-lab.yml should be modified with older Python version:
And for cleanness the workflow versions should be updated to v4 (as above) and in:
Also, the
main.py
should be modified with correct parameters (min_items -> min_length, max_items -> max_length) for the classifier:After implementing these steps the future learners should not have distractions with compatibility issues and could focus on Course material.