mirror of
https://github.com/ankitects/anki.git
synced 2025-09-18 14:02:21 -04:00
![]() - The way mypy gathers site packages has changed slightly, so we had to update extendsitepkgs.py to work with it. - Not sure if there's a way to avoid the ignore in operations/__init__.py. mypy is still ensuring a provided argument has a .changes attribute, so thankfully we don't seem to have lost much here. |
||
---|---|---|
.. | ||
pyqt | ||
stubs | ||
binary.bzl | ||
BUILD.bazel | ||
licenses.json | ||
licenses.sh | ||
python.bzl | ||
README.md | ||
requirements.in | ||
requirements.txt | ||
update.py |
To achieve reproducible builds we use pip-tools to lock packages to a particular version. Sadly this is complicated by the fact that Python can only tell us which transitive dependencies are required by actually installing packages, and if you run pip-tools on a Mac or Linux machine, it will miss packages that are required on Windows and vice versa.
Currently the Windows dependencies are a strict superset, so the package locks need to be generated on a Windows machine. To do so, run "bazel run update" from this folder.
pyqt is handled separately - see pyqt/