diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 7b7ad58889ce..67ab2ddea809 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -447,20 +447,20 @@ jobs: doc/source/api/core/meshing/datamodel doc/source/api/core/solver/tui doc/source/api/core/solver/datamodel - key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ vars.FLUENT_STABLE_IMAGE_DEV }}-${{ hashFiles('src/ansys/fluent/core/codegen/**') }} - restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ vars.FLUENT_STABLE_IMAGE_DEV }} + key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v25.2.0-${{ hashFiles('src/ansys/fluent/core/codegen/**') }} + restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v25.2.0 - name: Pull 25.2 Fluent docker image if: steps.cache-251-api-code.outputs.cache-hit != 'true' run: make docker-pull env: - FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }} + FLUENT_IMAGE_TAG: v25.2.0 - name: Run 25.2 API codegen if: steps.cache-252-api-code.outputs.cache-hit != 'true' run: make api-codegen env: - FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }} + FLUENT_IMAGE_TAG: v25.2.0 - name: Print 25.2 Fluent version info run: | diff --git a/Makefile b/Makefile index 795bb6c5b1b5..30b170bee28e 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ style: install: @pip install -r requirements/requirements_build.txt + @git clean -fd @flit build @pip install -q --force-reinstall dist/*.whl @python src/ansys/fluent/core/report.py diff --git a/pyproject.toml b/pyproject.toml index bac8bd9dd024..fb547affc219 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -11,7 +11,6 @@ requires-python = ">=3.10,<3.14" license = {file = "LICENSE"} authors = [{ name = "ANSYS, Inc.", email = "pyansys.core@ansys.com" }] maintainers = [{ name = "ANSYS, Inc.", email = "pyansys.core@ansys.com" }] -repository = "https://github.com/ansys/pyfluent" classifiers = [ "Development Status :: 4 - Beta", "Programming Language :: Python :: 3", @@ -78,9 +77,9 @@ docs = [ name = "ansys.fluent.core" [project.urls] -"Documentation" = "https://fluent.docs.pyansys.com/" -"Source" = "https://github.com/ansys/pyfluent" -"Tracker" = "https://github.com/ansys/pyfluent/issues" +Documentation = "https://fluent.docs.pyansys.com/" +Source = "https://github.com/ansys/pyfluent" +Tracker = "https://github.com/ansys/pyfluent/issues" [tool.pytest.ini_options] testpaths = ["tests"] diff --git a/src/ansys/fluent/core/__init__.py b/src/ansys/fluent/core/__init__.py index 33f7f04dd2fb..177d2630b363 100644 --- a/src/ansys/fluent/core/__init__.py +++ b/src/ansys/fluent/core/__init__.py @@ -62,7 +62,7 @@ from ansys.fluent.core.utils.fluent_version import FluentVersion # noqa: F401 from ansys.fluent.core.utils.setup_for_fluent import setup_for_fluent # noqa: F401 -__version__ = "0.30.5" +__version__ = "0.30.6" _VERSION_INFO = None """ diff --git a/src/ansys/fluent/core/launcher/fluent_container.py b/src/ansys/fluent/core/launcher/fluent_container.py index a1dc8cc5318d..c100e590c207 100644 --- a/src/ansys/fluent/core/launcher/fluent_container.py +++ b/src/ansys/fluent/core/launcher/fluent_container.py @@ -288,6 +288,7 @@ def configure_container_dict( environment={ "ANSYSLMD_LICENSE_FILE": license_server, "REMOTING_PORTS": f"{container_grpc_port}/portspan=2", + "FLUENT_ALLOW_REMOTE_GRPC_CONNECTION": "1", } ) diff --git a/src/ansys/fluent/core/launcher/slurm_launcher.py b/src/ansys/fluent/core/launcher/slurm_launcher.py index ca12e30784a6..325badaa7b25 100644 --- a/src/ansys/fluent/core/launcher/slurm_launcher.py +++ b/src/ansys/fluent/core/launcher/slurm_launcher.py @@ -459,6 +459,7 @@ def _prepare(self): launch_cmd += _build_journal_argument( self._argvals["topy"], self._argvals["journal_file_names"] ) + launch_cmd += ' -setenv="FLUENT_ALLOW_REMOTE_GRPC_CONNECTION=1"' logger.debug(f"Launching Fluent with command: {launch_cmd}") proc = subprocess.Popen(launch_cmd, **kwargs)