> It is not considered best practice to use install_requires to pin dependencies to specific versions, or to specify sub-dependencies (i.e. dependencies of your dependencies). This is overly-restrictive, and prevents the user from gaining the benefit of dependency upgrades.
It seems more important to install working versions than to allow other versions.
I used this command for a while, but ended up manually maintaining `requirements.txt`, in order to specify platform-specific dependencies.
I don't have a clear answer to dependency management; maybe a tool like `poetry` will help, but for now, this section is useless.
$ PYRIGHT_PYTHON_FORCE_VERSION=1.1.316 pyright
WARNING: there is a new pyright version available (v1.1.316 -> v1.1.317).
Please install the new version or set PYRIGHT_PYTHON_FORCE_VERSION to `latest`
/home/io/Projects/textual-paint/src/textual_paint/paint.py
/home/io/Projects/textual-paint/src/textual_paint/paint.py:39:28 - error: Type of "get_current_worker" is partially unknown
Type of "get_current_worker" is "() -> Worker[Unknown]" (reportUnknownVariableType)
1 error, 0 warnings, 0 informations
- Center the canvas (when it's smaller than the viewport).
- Adjust the scroll position when entering View Bitmap mode to anchor
the top/left (when the image is larger than the viewport).
- Restore the scroll position when exiting View Bitmap mode.
Avoid the cell background showing past the left/top of the border of the cell, by using left/top-aligned characters (▛▌▀) rather than centered border characters (┼┆┄).
I was hoping this would fix the Python rocket icon showing in the dock on macOS, but it doesn't. It still stays until the program exits.
Might still be good to do though.