Release checklist¶
Documentation¶
Order
__all__
list and objects in modules where it is reasonable.Expecially
constants
,debug
,downloader.stats
,enums
,options
.In
exceptions
module,FilingsAPIError
,FilingsAPIWarning
should come first, then all exceptions ordered and then warnings ordered.
Make sure package root
__init__
module is up-to-date.Routine listings of objects match imported objects.
Listing short summaries match the ones in docstrings of objects.
Order of listings follows the one in
docs/source/api-reference.rst
.
Delete folders
docs/source/ref
,docs/source/dev/ref
, anddocs/build
.Check external link integrity (in project shell/project folder):
hatch run doc:linkcheck
Do not care about URIs such as role URI example:
http://www.example.com/esef/taxonomy/2022-12-31/FinancialPositionConsolidated
Go through narrative documentation so that functions and methods work as documented.
Update
xbrl_filings_api/__about__.py::__version__
andconf.py::release
.
Final steps¶
Commit and push last changes to the release. Wait for GitHub Actions to run and check results.
Create an annotated
git
tag for the release:git tag -a v<release> -m "Release description."
Push the tag:
git push origin tag v<release>
Remove the
dist
folder, if it exists.Build the sdist and wheel:
hatch build
Check the contents of both archives.
Publish to PyPI.
hatch publish -u __token__ -a pypi-<restofapitoken>