Name Description Size
prepare-release-pr.py This script is part of the pytest release process which is triggered manually in the Actions tab of the repository. The user will need to enter the base branch to start the release from (for example ``6.1.x`` or ``main``) and if it should be a major release. The appropriate version will be obtained based on the given branch automatically. After that, it will create a release using the `release` tox environment, and push a new PR. **Token**: currently the token from the GitHub Actions is used, pushed with `pytest bot <pytestbot@gmail.com>` commit author. 4815
publish-gh-release-notes.py Script used to publish GitHub release notes extracted from CHANGELOG.rst. This script is meant to be executed after a successful deployment in GitHub actions. Uses the following environment variables: * GIT_TAG: the name of the tag of the current commit. * GH_RELEASE_NOTES_TOKEN: a personal access token with 'repo' permissions. Create one at: https://github.com/settings/tokens This token should be set in a secret in the repository, which is exposed as an environment variable in the main.yml workflow file. The script also requires ``pandoc`` to be previously installed in the system. Requires Python3.6+. 3049
release.major.rst 587
release.minor.rst 558
release.patch.rst 407
release.pre.rst 871
release.py Invoke development tasks. 4373
towncrier-draft-to-file.py Platform agnostic wrapper script for towncrier. Fixes the issue (#7251) where windows users are unable to natively run tox -e docs to build pytest docs. 420
update-plugin-list.py .. _plugin-list: Plugin List =========== PyPI projects that match "pytest-\*" are considered plugins and are listed automatically. Packages classified as inactive are excluded. .. The following conditional uses a different format for this list when creating a PDF, because otherwise the table gets far too wide for the page. 4295