Skip to content

Conversation

@mayankansys
Copy link
Collaborator

@mayankansys mayankansys commented Dec 17, 2025

This pull request focuses on dependency management improvements and minor documentation updates. The main changes include refining how dependencies are handled by Dependabot, updating the version constraint for an optional dependency, and adding a documentation note.

Dependency management improvements:

  • Updated .github/dependabot.yml to ignore updates for several main and optional dependencies, preventing Dependabot from creating PRs for these packages. This helps control which dependencies are automatically updated.

  • Relaxed the version constraint for the h5py package in the reader optional dependency, allowing any version greater than or equal to 3.15.1 instead of requiring exactly 3.15.1 in pyproject.toml.

Context

Dependabot was creating update PRs for dependencies that do not need automatic updates, adding unnecessary noise. Some optional dependencies were also pinned to exact versions, which limited flexibility and caused avoidable constraints.

Change Summary

Updated the Dependabot configuration to ignore selected dependencies and reduce unwanted PRs. Relaxed version constraints for optional dependencies by allowing minimum versions instead of exact pins, and updated documentation to reflect these changes.

Rationale

Why was this approach taken?

Impact

What parts of the system or workflows are affected?
This pull request primarily updates dependency management and documentation. The most significant changes include refining the dependencies handled by Dependabot, relaxing version constraints for optional dependencies, and updating documentation.

Dependency management improvements:

  • Updated .github/dependabot.yml to ignore updates for a list of specified dependencies, preventing Dependabot from creating PRs for these packages.
  • Relaxed version constraints for optional dependencies in pyproject.toml, changing pinned versions to minimum version requirements for h5py, ipywidgets, and panel.

Copilot AI review requested due to automatic review settings December 17, 2025 06:04
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This pull request improves dependency management by configuring Dependabot to ignore specific dependencies and relaxing version constraints for optional dependencies. The main changes include updating the Dependabot configuration to prevent automatic PRs for core dependencies, changing exact version pins to minimum version requirements for optional packages (h5py, ipywidgets, panel), and updating the documentation cheat sheet with improved structure and examples.

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.

File Description
.github/dependabot.yml Added ignore rules for main and optional dependencies to prevent Dependabot from creating automatic update PRs
pyproject.toml Relaxed version constraints for optional dependencies from exact pins (==) to minimum versions (>=)
doc/source/cheatsheet/cheat_sheet.qmd Major restructuring of the cheat sheet with updated API examples, better organization, and modernized code patterns
doc/changelog.d/4640.documentation.md Added changelog entry documenting the cheat sheet upgrade

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions github-actions bot added documentation Documentation related (improving, adding, etc) maintenance General maintenance of the repo (libraries, cicd, etc) dependencies Related to dependencies CI/CD bug Issue, problem or error in PyFluent labels Dec 17, 2025
@mayankansys mayankansys self-assigned this Dec 17, 2025
Copy link
Collaborator

Choose a reason for hiding this comment

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

@mayankansys It looks like changes from the other branch got mixed in.

@mayankansys mayankansys deleted the fix/dependabot branch December 18, 2025 05:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Issue, problem or error in PyFluent CI/CD dependencies Related to dependencies documentation Documentation related (improving, adding, etc) maintenance General maintenance of the repo (libraries, cicd, etc)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants