You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Browse filesBrowse the repository at this point in the historyBrowse files
authored
Update face-recognition dependency pins to match the tutorial (#809)
The tutorial "Build Your Own Face Recognition Tool With Python" was
refreshed in the CMS and its requirements.txt block now pins current
releases. These seven files still carried the 2023-era pins, so anyone
downloading the materials built a different environment than the article
describes.
dlib 19.24.0 -> 20.0.1
numpy 1.24.2 -> 2.5.2
Pillow 9.4.0 -> 12.3.0
setuptools (absent) -> 81.0.0
face-recognition stays at 1.3.0, its latest release (2020-02-20).
The setuptools pin is the load-bearing one. face_recognition_models does
`from pkg_resources import resource_filename` at import time, and
setuptools removed pkg_resources in 82.0.0 -- the 81.0.0 wheel ships 19
files under pkg_resources/, the 82.0.0 wheel ships none. Without the pin,
`import face_recognition` aborts with "Please install face_recognition_models".
Co-authored-by: realpython-bot <bot@realpython.com>
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
Co-authored-by: Martin Breuss <martin-martin@users.noreply.github.com>
0 commit comments