Skip to content

chore(deps): major upgrade of pytest libs#2214

Open
jdobes wants to merge 1 commit intoRedHatInsights:masterfrom
jdobes:pytest_major_bump
Open

chore(deps): major upgrade of pytest libs#2214
jdobes wants to merge 1 commit intoRedHatInsights:masterfrom
jdobes:pytest_major_bump

Conversation

@jdobes
Copy link
Member

@jdobes jdobes commented Feb 12, 2026

Secure Coding Practices Checklist GitHub Link

Secure Coding Checklist

  • Input Validation
  • Output Encoding
  • Authentication and Password Management
  • Session Management
  • Access Control
  • Cryptographic Practices
  • Error Handling and Logging
  • Data Protection
  • Communication Security
  • System Configuration
  • Database Security
  • File Management
  • Memory Management
  • General Coding Practices

Summary by Sourcery

Update development and runtime dependencies to newer compatible versions.

Build:

  • Bump pytest and pytest-cov dev dependencies to newer major versions in pyproject configuration.
  • Refresh pinned versions and hashes for several runtime libraries (asgiref, boto3, botocore, cryptography, grpcio, wrapt, etc.) across requirements files to match updated dependency set.

Chores:

  • Regenerate lockfile and auxiliary requirements files to reflect updated dependency versions.

@sourcery-ai
Copy link

sourcery-ai bot commented Feb 12, 2026

Reviewer's Guide

This PR refreshes Python dependencies, notably performing a major upgrade of pytest and pytest-cov along with a set of related library bumps, and regenerates lock/requirements files to keep all environments consistent.

File-Level Changes

Change Details Files
Upgrade core testing tooling (pytest and pytest-cov) and align dev dependencies.
  • Bump pytest from 8.3.x to 9.0.x in pyproject dev dependencies, pulling in pytest 9 API/behavior changes.
  • Bump pytest-cov from 6.x to 7.x to match the newer pytest and coverage tooling.
  • Leave other dev/test tools (pytest-asyncio, pytest-aiohttp, testing-postgresql, etc.) at existing versions, so compatibility should be checked against pytest 9.
pyproject.toml
poetry.lock
Refresh selected runtime dependencies to newer patch/minor versions for security and compatibility.
  • Update asgiref from 3.11.0 to 3.11.1 with corresponding hash pins.
  • Update boto3 and botocore from 1.42.38 to 1.42.47 with updated hashes.
  • Update cryptography from 46.0.4 to 46.0.5 with updated hashes.
  • Update grpcio from 1.76.0 to 1.78.0 with updated hashes.
  • Update wrapt from 2.0.1 to 2.1.1 with updated hashes.
requirements.txt
requirements-build.txt
requirements-dev.txt
requirements-extra.txt
Regenerate requirements and lock artifacts to remain in sync with pyproject and dependency bumps.
  • Regenerate poetry.lock to capture new dependency graph for updated package versions.
  • Refresh requirements-*.txt files (build/dev/extra) to match the resolved versions and hashes from the lockfile.
  • Ensure version specifiers and environment markers are unchanged aside from the explicit version bumps.
poetry.lock
requirements.txt
requirements-build.txt
requirements-dev.txt
requirements-extra.txt

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@github-actions
Copy link
Contributor

SC Environment Impact Assessment

Overall Impact:NONE

No SC Environment-specific impacts detected in this PR.

What was checked

This PR was automatically scanned for:

  • Database migrations
  • ClowdApp configuration changes
  • Kessel integration changes
  • AWS service integrations (S3, RDS, ElastiCache)
  • Kafka topic changes
  • Secrets management changes
  • External dependencies

Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@jdobes
Copy link
Member Author

jdobes commented Feb 12, 2026

/retest

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