Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: [Automatic] Constraints upgrades: psygnal #1241

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

Czaki
Copy link
Collaborator

@Czaki Czaki commented Feb 10, 2025

This PR is automatically created and updated by PartSeg GitHub
action cron to keep bundle dependencies modules up to date.

The updated packages are:

  • coverage
  • lxml
  • psygnal
  • pyconify
  • pyinstaller
  • pyqt6
  • pyqt6-qt6

Summary by Sourcery

Build:

  • Update psygnal constraint in all Python versions.

Summary by CodeRabbit

  • Chores
    • Upgraded multiple third-party libraries to their latest minor versions across supported Python environments, ensuring improved stability, performance, and compatibility for a smoother user experience.

@Czaki Czaki added the skip check PR title skip spellcheking PR title label Feb 10, 2025
Copy link
Contributor

sourcery-ai bot commented Feb 10, 2025

Reviewer's Guide by Sourcery

This PR automatically updates the dependency constraints across multiple requirements files to ensure that the bundle dependencies are kept up-to-date. The update was triggered by a PartSeg GitHub action cron, which revises the versions of several packages.

No diagrams generated as the changes look simple and do not need a visual representation.

File-Level Changes

Change Details Files
Automated dependency updates for multiple packages
  • Updated dependency constraints for coverage, lxml, psygnal, pyconify, pyinstaller, pyqt6, and pyqt6-qt6
  • Modified constraints across various Python and Pydantic version files
  • Ensured consistency between standard and documentation requirements
requirements/constraints_py3.10.txt
requirements/constraints_py3.10_pydantic_1.txt
requirements/constraints_py3.11.txt
requirements/constraints_py3.11_pydantic_1.txt
requirements/constraints_py3.12.txt
requirements/constraints_py3.12_docs.txt
requirements/constraints_py3.12_pydantic_1.txt
requirements/constraints_py3.9.txt
requirements/constraints_py3.9_pydantic_1.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!
  • Generate a plan of action for an issue: Comment @sourcery-ai plan on
    an issue to generate a plan of action for it.

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
Contributor

coderabbitai bot commented Feb 10, 2025

Walkthrough

This pull request updates dependency version numbers across multiple constraints files for various Python versions (3.9, 3.10, 3.11, and 3.12), including their pydantic variants and a docs-specific file. The changes adjust versions for libraries such as coverage, lxml, psygnal, pyconify, pyinstaller, pyqt6, and pyqt6-qt6. Additionally, the py3.12 files include updates for pyside6-related packages. These modifications are minor version bumps aimed at keeping the dependencies current.

Changes

Files Change Summary
requirements/constraints_py3.{9,10,11}(.txt, _pydantic_1.txt) Updated version numbers: coverage 7.6.10 → 7.6.11, lxml 5.3.0 → 5.3.1, psygnal 0.11.1 → 0.12.0, pyconify 0.2 → 0.2.1, pyinstaller 6.11.1 → 6.12.0, pyqt6 6.8.0 → 6.8.1, pyqt6-qt6 6.8.1 → 6.8.2.
requirements/constraints_py3.12(.txt, _pydantic_1.txt) Same as above plus additional updates: pyside6, pyside6-addons, pyside6-essentials, and shiboken6 from 6.8.2 → 6.8.2.1.
requirements/constraints_py3.12_docs.txt Updated a subset of dependencies: psygnal 0.11.1 → 0.12.0, pyconify 0.2 → 0.2.1, pyqt6 6.8.0 → 6.8.1, pyqt6-qt6 6.8.1 → 6.8.2.

Possibly related PRs

Poem

I'm a bunny with a coding beat,
Hopping through files with updates neat.
Dependencies leap from old to new,
Each version bump makes the code feel true.
With twitching whiskers and a joyful cheer,
I nibble on bugs until they're nowhere!
🐰💻 Happy coding, my dear!


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between cc63206 and f46fba8.

📒 Files selected for processing (9)
  • requirements/constraints_py3.10.txt (5 hunks)
  • requirements/constraints_py3.10_pydantic_1.txt (5 hunks)
  • requirements/constraints_py3.11.txt (5 hunks)
  • requirements/constraints_py3.11_pydantic_1.txt (5 hunks)
  • requirements/constraints_py3.12.txt (6 hunks)
  • requirements/constraints_py3.12_docs.txt (3 hunks)
  • requirements/constraints_py3.12_pydantic_1.txt (6 hunks)
  • requirements/constraints_py3.9.txt (5 hunks)
  • requirements/constraints_py3.9_pydantic_1.txt (5 hunks)
✅ Files skipped from review due to trivial changes (2)
  • requirements/constraints_py3.12.txt
  • requirements/constraints_py3.12_pydantic_1.txt
⏰ Context from checks skipped due to timeout of 300000ms (28)
  • GitHub Check: 4DNucleome.PartSeg (Tests_linux test_linux)
  • GitHub Check: 4DNucleome.PartSeg (Tests_other test windows)
  • GitHub Check: 4DNucleome.PartSeg (Tests_other test macos)
  • GitHub Check: 4DNucleome.PartSeg (Builds pyinstaller windows)
  • GitHub Check: 4DNucleome.PartSeg (Builds pyinstaller macos_arm)
  • GitHub Check: 4DNucleome.PartSeg (Builds pyinstaller macos)
  • GitHub Check: 4DNucleome.PartSeg (Builds sdist)
  • GitHub Check: 4DNucleome.PartSeg (Builds pyinstaller_linux)
  • GitHub Check: Base py3.12 / ubuntu-24.04 py 3.12 latest PyQt5
  • GitHub Check: Base py3.9 / ubuntu-24.04 py 3.9 latest PyQt5
  • GitHub Check: Base py3.12 / ubuntu-22.04 py 3.12 latest PyQt6
  • GitHub Check: Base py3.12 / macos-14 py 3.12 latest PyQt6
  • GitHub Check: Base py3.11 / windows-latest py 3.11 latest PyQt5
  • GitHub Check: Base py3.11 / ubuntu-24.04 py 3.11 latest PyQt5
  • GitHub Check: Base py3.11 / macos-13 py 3.11 latest PyQt5
  • GitHub Check: Base py3.10 / ubuntu-24.04 py 3.10 latest PySide6
  • GitHub Check: Base py3.10 / ubuntu-24.04 py 3.10 latest PyQt5
  • GitHub Check: Base py3.10 / ubuntu-22.04 py 3.10 latest PyQt5 _pydantic_1
  • GitHub Check: Base py3.10 / ubuntu-20.04 py 3.10 latest PySide2
  • GitHub Check: Test PartSeg minimal / ubuntu-24.04 py 3.9 latest PyQt5
  • GitHub Check: test_coverage / ubuntu-24.04 py 3.12 latest PyQt5
  • GitHub Check: Test PartSeg conda
  • GitHub Check: 4DNucleome.PartSeg (Documentation_check Notebook_check)
  • GitHub Check: 4DNucleome.PartSeg (Documentation_check help)
  • GitHub Check: 4DNucleome.PartSeg (manifest_check manifest_check)
  • GitHub Check: 4DNucleome.PartSeg (GetTestData linux)
  • GitHub Check: 4DNucleome.PartSeg (formatting_check check_formating)
  • GitHub Check: Codacy Static Code Analysis
🔇 Additional comments (48)
requirements/constraints_py3.12_docs.txt (4)

238-238: Update: psygnal version bump
The version of psygnal has been updated to 0.12.0 (from 0.11.1). Please verify that all dependent modules continue to work as expected.


249-249: Update: pyconify version bump
pyconify has been updated to 0.2.1, ensuring consistency across the constraints files.


279-279: Update: PyQt6 version bump
PyQt6 is now at version 6.8.1. Confirm that the GUI components and integrations are fully compatible.


283-283: Update: PyQt6-Qt6 version bump
The PyQt6-Qt6 dependency has been bumped to 6.8.2. Please run appropriate tests to verify the stability of the Qt interface.

requirements/constraints_py3.11_pydantic_1.txt (7)

41-41: Update: Coverage version bump
Coverage has been updated to 7.6.11 to incorporate the latest improvements and bug fixes. Verify that the test reports remain unaffected.


135-135: Update: lxml version bump
lxml is now at version 5.3.1. Please check that XML processing and any related functionality continue without issues.


256-256: Update: psygnal version bump
The psygnal package has been updated to 0.12.0. This minor update should remain backward compatible; nonetheless, a quick check on dependent integrations is recommended.


267-267: Update: pyconify version bump
pyconify has been bumped to 0.2.1. This update is consistent with the overall dependency management across Python versions.


288-288: Update: PyInstaller version bump
PyInstaller has been updated to 6.12.0. Ensure that the application packaging and build process have been validated after this update.


296-296: Update: PyQt6 version bump
PyQt6 now uses version 6.8.1. It is advisable to re-run GUI integration tests to catch any unforeseen issues.


300-300: Update: PyQt6-Qt6 version bump
The PyQt6-Qt6 module is updated to version 6.8.2; please ensure that all Qt-dependent functionalities remain stable after this change.

requirements/constraints_py3.11.txt (7)

43-43: Update: Coverage version bump
Coverage has been set to 7.6.11. This minor version update should improve reporting without adverse effects—please confirm via your CI.


141-141: Update: lxml version bump
lxml now appears as version 5.3.1. Verify that any XML parsing or cleaning functions that rely on lxml operate correctly.


258-258: Update: psygnal version bump
psygnal has been updated to version 0.12.0. As a dependency for several modules, a brief compatibility check is encouraged.


271-271: Update: pyconify version bump
pyconify is updated to 0.2.1, aligning with the changes made in other constraints files.


293-293: Update: PyInstaller version bump
PyInstaller now uses version 6.12.0. Please confirm that the packaging and build processes are still functioning as expected.


301-301: Update: PyQt6 version bump
PyQt6 is updated to version 6.8.1. Ensure that UI components and integrations are revalidated after this change.


305-305: Update: PyQt6-Qt6 version bump
PyQt6-Qt6 has been bumped to 6.8.2. It is recommended to run a full set of GUI tests for thorough verification.

requirements/constraints_py3.10_pydantic_1.txt (7)

41-41: Update: Coverage version bump
Coverage is now set to 7.6.11. This update should bring in minor fixes—ensure tests continue to pass.


135-135: Update: lxml version bump
lxml has been updated to 5.3.1. Please verify that XML-related functionalities perform as expected.


256-256: Update: psygnal version bump
The psygnal dependency is updated to 0.12.0. Confirm that there is no impact on modules that depend on it.


267-267: Update: pyconify version bump
pyconify now uses version 0.2.1, in line with other dependency updates across the project.


288-288: Update: PyInstaller version bump
PyInstaller has been updated to version 6.12.0. Ensure the build and packaging scripts are re-tested with this new version.


296-296: Update: PyQt6 version bump
PyQt6 is now at version 6.8.1. Run tests on GUI elements to confirm that nothing has regressed.


300-300: Update: PyQt6-Qt6 version bump
The PyQt6-Qt6 dependency has been updated to 6.8.2. A quick check of Qt bindings and functionalities is recommended.

requirements/constraints_py3.10.txt (7)

43-43: Update: Coverage version bump
Coverage has been updated to 7.6.11. This change appears straightforward; please confirm via your test suite.


143-143: Update: lxml version bump
lxml is now at version 5.3.1. Verify that XML processing routines, particularly those used in documentation, are unaffected.


260-260: Update: psygnal version bump
psygnal has been bumped to 0.12.0. Ensure that any event-driven or signal-based functionality continues to operate as intended.


271-271: Update: pyconify version bump
pyconify is updated to 0.2.1, keeping in line with updates across all constraints files for consistency.


293-293: Update: PyInstaller version bump
PyInstaller is now updated to 6.12.0. Please verify that your packaging and deployment workflows execute successfully post-update.


301-301: Update: PyQt6 version bump
PyQt6 has been updated to version 6.8.1. It is recommended to run integration tests focused on UI components.


305-305: Update: PyQt6-Qt6 version bump
The PyQt6-Qt6 dependency now uses version 6.8.2. Confirm that the updated version does not introduce any incompatibilities with existing Qt modules.

requirements/constraints_py3.9_pydantic_1.txt (7)

41-41: Dependency Update for coverage
The version has been updated to 7.6.11. This minor version bump is routine and should be compatible with the existing ecosystem.


145-145: Dependency Update for lxml
lxml is now set to 5.3.1. Please verify that any packages relying on lxml’s API (such as HTML cleaners) work seamlessly with this upgrade.


266-266: Dependency Update for psygnal
The bump from 0.11.1 to 0.12.0 should include bug fixes or improvements. It is important to double-check with downstream usage in the project to ensure no breaking changes affect functionality.


277-277: Dependency Update for pyconify
pyconify has been updated to 0.2.1. This appears to be a minor update and should be non-disruptive, but confirming its compatibility with any integration tests is advised.


298-298: Dependency Update for pyinstaller
Upgraded to version 6.12.0, this update should bring along bug fixes and potential performance improvements. It would be good to run a build locally to ensure that all hooks and build scripts remain functional.


306-306: Dependency Update for pyqt6
The version is now 6.8.1. This update is consistent with the overall dependency bump strategy—please check that all GUI components using PyQt6 still behave as expected.


310-310: Dependency Update for pyqt6-qt6
The version change to 6.8.2 mirrors the PyQt6 update, ensuring consistency. No immediate concerns come to mind, but verifying against UI tests is recommended.

requirements/constraints_py3.9.txt (9)

43-43: Dependency Update for coverage
Coverage has been updated to 7.6.11. This minor update typically includes bug fixes and should not introduce breaking changes.


147-147: Dependency Update for lxml
lxml is now upgraded to 5.3.1. As with any dependency upgrade, please confirm that dependent libraries (e.g. lxml-html-clean) continue to function correctly.


268-268: Dependency Update for psygnal
The version bump to 0.12.0 is reflected here as well. It’s advisable to ensure that any features of psygnal used in the project remain unaffected by potential API changes.


279-279: Dependency Update for pyconify
pyconify is now set at 0.2.1. This appears to be a straightforward minor update; however, verifying its integration with related modules is recommended.


290-290: New Dependency Addition: pydantic-core
The addition of pydantic-core at version 2.27.2 aligns with the pydantic v2 update. Ensure that all pydantic-based functionalities are validated to work seamlessly with this core update.


301-301: Dependency Update for pyinstaller
pyinstaller has been bumped to 6.12.0. It is prudent to verify that the packaging and bundling process is not affected by this change, especially in custom hooks or configuration settings.


309-309: Dependency Update for pyqt6
The update to pyqt6 version 6.8.1 is included in this file as well. Basic functionality should remain intact provided that UI tests pass.


313-313: Dependency Update for pyqt6-qt6
The version update to pyqt6-qt6 is now 6.8.2. This update is inline with the pyqt6 bump and should be verified as part of the overall GUI testing process.


281-281: ⚠️ Potential issue

Dependency Update for pydantic
Pydantic has been upgraded to 2.10.6. This is a significant shift from previous v1 releases and could introduce breaking changes in model definitions and validations. A thorough review of pydantic-related tests and usages in the project is necessary.


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR. (Beta)
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@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 @Czaki - I've reviewed your changes and they look great!

Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟢 Testing: all looks good
  • 🟢 Complexity: all looks good
  • 🟢 Documentation: all looks good

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip check PR title skip spellcheking PR title
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant