Skip to content

Update dependencies and enable Dependabot - #2

Merged
Nikolay-Chillev merged 1 commit into
mainfrom
chore/update-dependencies
Oct 7, 2026
Merged

Nikolay-Chillev merged 1 commit into
mainfrom
chore/update-dependencies

Conversation

@Nikolay-Chillev

@Nikolay-Chillev Nikolay-Chillev commented Oct 7, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Bump every pinned package in requirements.txt and requirements-dev.txt to its latest release.
  • Add .github/dependabot.yml: one grouped pull request a month for Python packages and one for GitHub Actions.

Why

pip-audit found known vulnerabilities in the old pins:

Package Old New Advisories fixed
requests 2.31.0 2.34.2 PYSEC-2026-1872, PYSEC-2026-1873, PYSEC-2026-2275
pytest 8.3.4 9.1.1 PYSEC-2026-1845
python-dotenv 1.0.1 1.2.4 PYSEC-2026-2270
black 24.10.0 26.10.0 PYSEC-2026-2120, PYSEC-2026-2121

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::DeprecationWarning on Python 3.11 against the live Restful Booker API: 89 passed.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 7, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-07T10:07:50.569194Z cd4705c PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 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".

Comment thread requirements.txt
python-dotenv==1.0.1
faker==33.1.0
requests==2.34.2
pytest==9.1.1

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge 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.
@Nikolay-Chillev
Nikolay-Chillev force-pushed the chore/update-dependencies branch from cd4705c to b8497e6 Compare October 7, 2026 10:43
@Nikolay-Chillev
Nikolay-Chillev merged commit 0f0c764 into main Oct 7, 2026
3 checks passed
@Nikolay-Chillev
Nikolay-Chillev deleted the chore/update-dependencies branch October 7, 2026 10:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant