Python support
- Drop Python 3.9 support.
Added
-
Add an
injectcommand.This allows a database of dependencies to be injected into a target file.
This can be used to make a Python file a standalone executable.This feature requires Python 3.11 and higher at execution time
due to sqlite3 API usage.
Documentation
-
Use
pngcrushto make image file sizes smaller. -
Link to the source code repository without using an
iframe. -
Document how to import sqliteimport and load a database of packages.
This now includes runnable scripts showing fully-automated loading
usingsitecustomize.pyand thePYTHONPATHenvironment variable.
In addition, more information is provided
for manually importing sqliteimport and loading a database.
Development
- Migrate the flake8 configuration to
pyproject.tomlusing
the flake8-toml-config plugin. - Test type annotations against all supported Python versions.
- Lock the GitHub CI runners to known, predictable versions.
- Lock the coverage dependencies used for generating HTML reports
to match the same version used to gather coverage statistics.