Fix linux requirements when pip installing by dwoz · Pull Request #68779 · saltstack/salt

@dwoz

This change moves core metadata to the [project] table in pyproject.toml, cleans up requirement files for PEP 517 compatibility, ensures dependencies are dynamically discovered from .txt files, updates static requirement files via pre-commit hooks, and inhibits automatic code rewriting hooks to maintain scope.

@dwoz

The documentation build needs all Salt dependencies to correctly import
modules for autodoc. Adding requirements/crypto.txt ensures that
cryptographic dependencies (like pycryptodomex) are available.
Update *-crypto.txt files across all platforms and Python versions to
ensure version consistency and resolve pre-commit hook discrepancies.
Synchronize with CI environment by applying formatting changes made by
the black pre-commit hook.
Include base.txt and zeromq.txt in the Windows packaging requirement
compilation hooks. This ensures that the static windows.txt requirement
files contain all necessary dependencies for onedir builds, resolving
failures in install_salt.ps1.
The myst-parser requirement for documentation builds on Python 3.9
requires mdit-py-plugins which in turn requires markdown-it-py < 3.0.0.
Other packages like rich were pulling in markdown-it-py >= 3.0.0 on
some platforms, causing resolution failures.

This commit adds a Python version-specific constraint and regenerates
the affected static requirement files.

@dwoz

@dwoz

@dwoz

@dwoz

@dwoz