Skip to content

Update Python support and CI workflow#26

Merged
esharf merged 3 commits intomasterfrom
update-python-support-and-ci-13781581611611862204
Mar 11, 2026
Merged

Update Python support and CI workflow#26
esharf merged 3 commits intomasterfrom
update-python-support-and-ci-13781581611611862204

Conversation

@esharf
Copy link
Copy Markdown
Owner

@esharf esharf commented Mar 11, 2026

Updated the project to support Python 3.7+ and modernized the GitHub Actions CI workflow.

Key changes:

  1. Python Support: Modified pyproject.toml to specify python = ">=3.7".
  2. Dev Dependencies: Used multi-constraint dependency specifications in pyproject.toml to ensure dev tools (pytest, flake8, etc.) remain compatible with Python 3.7 while using the latest versions on Python 3.8+.
  3. CI Workflow:
    • Replaced snok/install-poetry with the official installation script as requested.
    • Updated the test matrix to 3.11, 3.12, 3.13, and 3.14.
    • Properly handled the Poetry PATH in GitHub Actions.
    • Updated checkout and setup-python actions to their latest major versions (v4 and v5).
  4. Lock File: Updated poetry.lock to reflect these changes.

Verified locally that tests pass and coverage is maintained at 100%.


PR created automatically by Jules for task 13781581611611862204 started by @esharf

- Update `pyproject.toml` to support Python >= 3.7.
- Adjust dev dependencies to allow installation on Python 3.7.
- Update GitHub Actions workflow to use official Poetry installation script.
- Update CI test matrix to target Python 3.11, 3.12, 3.13, and 3.14.
- Regenerate `poetry.lock` with Poetry 2.x.
- Add `$HOME/.local/bin` to `GITHUB_PATH` in CI for Poetry access.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@google-labs-jules
Copy link
Copy Markdown
Contributor

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 11, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (d5788a8) to head (521d48e).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff            @@
##            master       #26   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         3           
  Lines           74        74           
=========================================
  Hits            74        74           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

esharf and others added 2 commits March 11, 2026 19:50
- Update `pyproject.toml` to support Python >= 3.7 with compatible dev dependencies.
- Update GitHub Actions workflow to use official Poetry installation script.
- Optimize CI workflow to avoid redundant Python installation steps.
- Update CI test matrix to target Python 3.11, 3.12, 3.13, and 3.14.
- Regenerate `poetry.lock` with Poetry 2.x.
- Add `$HOME/.local/bin` to `GITHUB_PATH` in CI for Poetry access.

Co-authored-by: google-labs-jules[bot] <161369871+google-labs-jules[bot]@users.noreply.github.com>
@esharf esharf marked this pull request as ready for review March 11, 2026 19:58
@esharf esharf merged commit 2955bc8 into master Mar 11, 2026
10 checks passed
@esharf esharf deleted the update-python-support-and-ci-13781581611611862204 branch March 11, 2026 19:58
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