Repository navigation
Update dependencies and enable Dependabot - #2
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: cd4705cc45
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| python-dotenv==1.0.1 | ||
| faker==33.1.0 | ||
| requests==2.34.2 | ||
| pytest==9.1.1 |
There was a problem hiding this comment.
Pin pytest below 9.1 until Allure supports it
With pytest==9.1.1 and allure-pytest==2.16.2, every fixture adds a phantom <fixture>::<lambda> teardown with unknown status because pytest 9.1 introduced an internal finalizer that Allure wraps but never closes; the upstream fix remains open in allure-python#921. This affects every CI run because .github/workflows/api-tests.yml invokes pytest with --alluredir and deploys those results, so the published report is polluted even when all tests pass. Keep pytest below 9.1 or use an Allure release containing the fix.
Useful? React with 👍 / 👎.
Bump every pinned package to its latest release. The old pins had known vulnerabilities in requests 2.31.0, pytest 8.3.4, python-dotenv 1.0.1 and black 24.10.0; pip-audit reports none after the update. All 89 tests pass. Dependabot now opens one grouped pull request a month for Python packages and one for GitHub Actions.
cd4705c to
b8497e6
Compare
Summary
requirements.txtandrequirements-dev.txtto its latest release..github/dependabot.yml: one grouped pull request a month for Python packages and one for GitHub Actions.Why
pip-auditfound known vulnerabilities in the old pins:Also updated: allure-pytest 2.16.2, pydantic 2.13.5, jsonschema 4.26.0, faker 40.41.0, flake8 7.4.1, isort 9.0.2, pytest-xdist 3.8.0.
Testing
pip-audit -r requirements-dev.txt: no known vulnerabilities.pytest -W error::DeprecationWarningon Python 3.11 against the live Restful Booker API: 89 passed.