Changelog¶
Unreleased¶
Add a new
DJ.read.sysAPI for reading system information, aligned with Python packaging markers.sysprovides the following methods:implementation_name(),implementation_version(),os_name(),platform_machine(),platform_release(),platform_system(),platform_version(),platform_python_implementation(),python_full_version(),python_version(),sys_platform()Add a new CLI subcommand,
mddj read syswhich provides access to each of these metadata items.Add a new
DJ.read.readthedocsAPI for reading data from a.readthedocs.yamlconfig. Currently supportspython_version()for getting the version declared.Add a new CLI command,
mddj read readthedocs project-version
0.5.0¶
Add
DJ.read.name()andmddj read nameAdd
DJ.read.classifiers()andmddj read classifiersAdd
DJ.read.import_names()andmddj read import-namesAdd
DJ.read.import_namespaces()andmddj read import-namespacesAdd
DJ.read.optional_dependencies()andmddj read optional-dependenciesAdd
DJ.read.authors()andmddj read authorsAdd
DJ.read.maintainers()andmddj read maintainers
0.4.2¶
Add
DJ.read.tox.min_python_version()
0.4.1¶
Update project documentation
0.4.0¶
Introduce
mddj.api, a new subpackage which provides for library-style usage, as an API.
0.3.0¶
mddj write versionnow uses a round-trip TOML parser (tomlkit) to update the value ofproject.version, which is less error-prone than the assignment parsing behavior.
0.2.0¶
mddjcan now be used from subdirectories of a project, and will discover the project root based on some simple heuristics.mddj read versionnow supports an--attrflag to read the major, minor, micro, release version, prerelease version, or postrelease version.--attr=preand--attr=postmay print errors andexit(1)if the version is not of the correct type.
0.1.0¶
Drop support for Python 3.8, Python 3.9
Update dependency bounds
Data is now read from
pyproject.tomlwhen possible, with build metadata used as a fallback if that failsSupport Python 3.13, Python 3.14
0.0.8¶
Fix handling of
tox.inidata to support reading python versions with a dot, as inpy3.8,py3.9
0.0.7¶
Fix a bug which caused
mddj read tox list-versionsto contain duplicates for certain configs
0.0.6¶
Add
mddj self versioncommand to see the currentmddjversion
0.0.5¶
Initial commands in support of reading
tox.inidata (via subprocess invocation oftox):mddj read tox min-versionandmddj read tox list-versions
0.0.4¶
Add a command to read
version:mddj read versionConvert implicit build usage and metadata extraction to use
build.utilSupport disabling isolated builds via
MDDJ_BUILD_ISOLATION=0env varAdd
wheelas a dependency, and removeimportlib_metadataAdd
tomlias a dependency on pythons below Python 3.11Add a command for writing version updates,
mddj write versionConfig is now supported in the
tool.mddjtable ofpyproject.toml. Only one config value is supported,write_version
0.0.3¶
Support invocation using
python -m
0.0.2¶
Fixes to package data
0.0.1¶
Initial Release