Releases: openedx/pytest-repo-health
Releases · openedx/pytest-repo-health
v2.2.4
v2.2.3
v2.2.2
Dropped Python 3.6
What's Changed
- Revert "BOM-2720: Django deps sheet fixture" by @mzulqarnain1 in #108
- build: Updated the workflow to trigger release on tags by @Jawayria in #109
- feat: advertise constraints in setup.py by @edx-requirements-bot in #111
- Drop py36 and release with py38 by @aht007 in #114
- Bumped the version and changed release version to py37 by @aht007 in #115
- chore: bump version by @aht007 in #116
New Contributors
Full Changelog: 2.2.0...2.2.1
2.2.0 Release - ( Reverted )
- Added session-level fixture for Django dependency sheet
Disclaimer: The changes in this PR were reverted & this version never made it to PyPI.
fix add_key_to_metadata
add_key_to_metadata can now take an str or tuple input correctly
Added ability to name metadata output file
ARCHBOM-1475: Added ability to name metadata output file (#58) Previously, there was no way to change the file to which metadata was written. This PR adds this ability.
Fixed GitHub client runtime error
2.0.3 fixed github client failure in GitHub API
Gracefully handle errors in fetching data from GitHub
If the github.py
code throws any errors while trying to fetch information about a repository from GitHub, return None
as the value of the github_repo
fixture.
Add git and GitHub fixtures
Added fixtures to fetch data from both the local git repository and the GitHub API:
- Added a
git_repo
fixture to get information about the checked out repository - Added a
git_origin_url
fixture to get the configured SSH or HTTPS URL for the repository's origin - Added a
github_client
fixture to initialize a GitHub API client using a personal access token from theGITHUB_TOKEN
environment variable - Added a
github_repo
fixture to return a github.pyRepository
object for the repo being examined. This fixture has function scope rather than session like the other new ones, since theloop
fixture needed to support github.py's async network calls is also function-scoped. - Added the packages needed to work with git and the GitHub API
- Refactored the test suite to correctly run sample checks that exercise fixtures
- Added tests for the new fixtures (the ones that actually talk to the GitHub API are skipped if the token environment variable isn't set)
- Fixed some minor docstring errors in the plugin module