Skip to content

fix: from_install - #4689

Merged
mkundu1 merged 4 commits into
mainfrom
fix/from_install
Dec 8, 2025
Merged

mkundu1 merged 4 commits into
mainfrom
fix/from_install

Conversation

@mkundu1

@mkundu1 mkundu1 commented Dec 3, 2025

Copy link
Copy Markdown
Collaborator

Context

from_install method was failing as the gRPC arguments were inadvertently added to it.

Change Summary

Remove the gRPC arguments in from_install.

Rationale

We may support the gRPC arguments in standalone launcher for development/testing purpose. For now, I've removed the unnecessary arguments.

Impact

from_install method will be fixed. I'll patch last couple of release versions also.

Copilot AI review requested due to automatic review settings December 3, 2025 20:02

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the from_install method by removing inadvertently added gRPC-related parameters (certificates_folder and insecure_mode) that were causing the method to fail. The changes restore the method to its intended standalone launcher functionality without gRPC configuration options.

Key Changes:

  • Removed certificates_folder and insecure_mode parameters from the from_install method signature
  • Removed associated parameter documentation for the gRPC arguments
  • Renamed test function for clarity and added a new dry-run test

Reviewed changes

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

File Description
src/ansys/fluent/core/session_utilities.py Removed gRPC parameters and their documentation from from_install method
tests/test_session.py Renamed existing test for clarity and added new dry-run test coverage

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

@github-actions github-actions Bot added the bug Issue, problem or error in PyFluent label Dec 3, 2025
Copilot AI review requested due to automatic review settings December 4, 2025 14:42

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 2 comments.


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

Comment thread doc/changelog.d/4689.fixed.md
Comment thread doc/changelog.d/4689.fixed.md
@mkundu1
mkundu1 merged commit 32a022a into main Dec 8, 2025
69 of 87 checks passed
@mkundu1
mkundu1 deleted the fix/from_install branch December 8, 2025 12:55
@mhoeijm

mhoeijm commented Dec 8, 2025 •

Copy link
Copy Markdown
Collaborator

@mkundu1 thanks. Will this fix be included in a future patch release? Especially since the bug is also present in earlier patch releases, e.g. 0.35.1.

mkundu1 added a commit that referenced this pull request Dec 9, 2025
## Context
`from_install` method was failing as the gRPC arguments were
inadvertently added to it.

## Change Summary
Remove the gRPC arguments in `from_install`.

## Rationale
We may support the gRPC arguments in standalone launcher for
development/testing purpose. For now, I've removed the unnecessary
arguments.

## Impact
`from_install` method will be fixed. I'll patch last couple of release
versions also.

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
mkundu1 added a commit that referenced this pull request Dec 9, 2025
Cherry-picked changes from the following PRs to include in version
0.37.1:

#4660 (Support
`PYFLUENT_CONTAINER_INSECURE_MODE` environment variable)

#4689 (Fix `from_install` method)

#4712 (Always show the insecure
gRPC warning)

#4670 (Don't allow pop up terminal
windows during launch_fluent)

---------

Co-authored-by: pyansys-ci-bot <92810346+pyansys-ci-bot@users.noreply.github.com>
Co-authored-by: Prithwish Mukherjee <109645853+prmukherj@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StandaloneLauncher.__init__() gets an unexpected argument certificates_folder when triggered through from_install

6 participants