Skip to content

Conversation

@Dargon789
Copy link
Owner

@Dargon789 Dargon789 commented Jan 25, 2026

What was wrong?

Related to Issue #
Closes #

How was it fixed?

Todo:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

Summary by Sourcery

CI:

  • Update the CI conda workflow to set up Python 3.8 through 3.13 using actions/setup-python.

Signed-off-by: Dargon789 <64915515+Dargon789@users.noreply.github.com>
@gemini-code-assist
Copy link

Note

Gemini is unable to generate a summary for this pull request due to the file types involved not being currently supported.

@sourcery-ai
Copy link

sourcery-ai bot commented Jan 25, 2026

Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Expands the GitHub Actions conda workflow to install and run against a Python version range 3.8–3.13 instead of a single 3.10 interpreter.

Flow diagram for updated Python setup step in CI workflow

flowchart TD
    A[Start_workflow] --> B[Checkout_repository]
    B --> C{Setup_Python}
    C --> D[Configure_actions_setup_python_v3]
    D --> E[Set_python_version_range_3_8_to_3_13]
    E --> F[Add_conda_to_system_path]
    F --> G[Subsequent_conda_and_test_steps]
    G --> H[End_workflow]
Loading

File-Level Changes

Change Details Files
Broadened the CI conda workflow to test against Python 3.8–3.13 instead of only Python 3.10.
  • Updated the setup-python step name to reflect support for Python 3.8–3.13.
  • Changed the actions/setup-python configuration from a single version string to a range string '3.8-3.13' so the workflow runs across that interpreter range.
.github/workflows/python-package-conda.yml

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

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 left some high level feedback:

  • The python-version: '3.8-3.13' value is not a valid range for actions/setup-python; if you intend to test multiple versions you’ll need to use a matrix strategy (e.g. ["3.8", "3.9", ...]) rather than a hyphenated range.
  • The step name "Set up Python 3.8–3.13" suggests multiple interpreters, but the job currently sets up only a single version; either adjust the name or introduce a matrix to actually run against all listed versions.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- The `python-version: '3.8-3.13'` value is not a valid range for `actions/setup-python`; if you intend to test multiple versions you’ll need to use a matrix strategy (e.g. `["3.8", "3.9", ...]`) rather than a hyphenated range.
- The step name "Set up Python 3.8–3.13" suggests multiple interpreters, but the job currently sets up only a single version; either adjust the name or introduce a matrix to actually run against all listed versions.

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.

@Dargon789 Dargon789 merged commit 5252f0d into main Jan 25, 2026
4 of 8 checks passed
@Dargon789 Dargon789 deleted the Dargon789-patch-1 branch January 25, 2026 08:26
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.

2 participants