Skip to content

Commit 120af9a

Browse files
authored
build: Bump version 0.32.4 (#4385)
1 parent 67b1e9e commit 120af9a

File tree

6 files changed

+18
-14
lines changed

6 files changed

+18
-14
lines changed

.github/workflows/ci.yml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -508,20 +508,20 @@ jobs:
508508
doc/source/api/core/meshing/datamodel
509509
doc/source/api/core/solver/tui
510510
doc/source/api/core/solver/datamodel
511-
key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ vars.FLUENT_STABLE_IMAGE_DEV }}-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}
512-
restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-${{ vars.FLUENT_STABLE_IMAGE_DEV }}
511+
key: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v26.1.0-${{ hashFiles('src/ansys/fluent/core/codegen/**') }}
512+
restore-keys: API-Code-v${{ env.API_CODE_CACHE }}-${{ steps.version.outputs.PYFLUENT_VERSION }}-v26.1.0
513513

514514
- name: Pull 26.1 Fluent docker image
515515
if: steps.cache-261-api-code.outputs.cache-hit != 'true'
516516
run: make docker-pull
517517
env:
518-
FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}
518+
FLUENT_IMAGE_TAG: v26.1.0
519519

520520
- name: Run 26.1 API codegen
521521
if: steps.cache-261-api-code.outputs.cache-hit != 'true'
522522
run: make api-codegen
523523
env:
524-
FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}
524+
FLUENT_IMAGE_TAG: v26.1.0
525525

526526
- name: Print 26.1 Fluent version info
527527
run: |
@@ -574,7 +574,7 @@ jobs:
574574
version: 261
575575
timeout-minutes: 60
576576
env:
577-
FLUENT_IMAGE_TAG: ${{ matrix.version == 261 && vars.FLUENT_STABLE_IMAGE_DEV || matrix.image-tag }}
577+
FLUENT_IMAGE_TAG: ${{ matrix.image-tag }}
578578

579579
steps:
580580

@@ -677,12 +677,12 @@ jobs:
677677
- name: Pull Fluent docker image
678678
run: make docker-pull
679679
env:
680-
FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}
680+
FLUENT_IMAGE_TAG: v26.1.0
681681

682682
- name: Run API codegen
683683
run: make api-codegen
684684
env:
685-
FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}
685+
FLUENT_IMAGE_TAG: v26.1.0
686686

687687
- name: Print Fluent version info
688688
run: |
@@ -699,7 +699,7 @@ jobs:
699699
make install-test
700700
make unittest-all-261
701701
env:
702-
FLUENT_IMAGE_TAG: ${{ vars.FLUENT_STABLE_IMAGE_DEV }}
702+
FLUENT_IMAGE_TAG: v26.1.0
703703

704704
- name: Cleanup previous docker containers
705705
if: always()
@@ -720,7 +720,9 @@ jobs:
720720
release:
721721
name: Release
722722
if: github.event_name == 'push' && startsWith(github.ref, 'refs/tags/v')
723-
needs: [test, update-changelog, nightly-dev-test]
723+
# Temporarily disabling due to issues with CI/image
724+
# needs: [test, update-changelog, nightly-dev-test]
725+
needs: [build, update-changelog]
724726
runs-on: ubuntu-latest
725727
steps:
726728
- name: Set up Python

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ style:
44

55
install:
66
@pip install -r requirements/requirements_build.txt
7+
@git clean -fd
78
@flit build
89
@pip install -q --force-reinstall dist/*.whl
910
@python src/ansys/fluent/core/report.py

pyproject.toml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ requires-python = ">=3.10,<3.14"
1111
license = {file = "LICENSE"}
1212
authors = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
1313
maintainers = [{ name = "ANSYS, Inc.", email = "[email protected]" }]
14-
repository = "https://github.com/ansys/pyfluent"
1514
classifiers = [
1615
"Development Status :: 4 - Beta",
1716
"Programming Language :: Python :: 3",
@@ -80,9 +79,9 @@ docs = [
8079
name = "ansys.fluent.core"
8180

8281
[project.urls]
83-
"Documentation" = "https://fluent.docs.pyansys.com/"
84-
"Source" = "https://github.com/ansys/pyfluent"
85-
"Tracker" = "https://github.com/ansys/pyfluent/issues"
82+
Documentation = "https://fluent.docs.pyansys.com/"
83+
Source = "https://github.com/ansys/pyfluent"
84+
Tracker = "https://github.com/ansys/pyfluent/issues"
8685

8786
[tool.pytest.ini_options]
8887
testpaths = ["tests"]

src/ansys/fluent/core/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@
7070
from ansys.fluent.core.utils.fluent_version import FluentVersion # noqa: F401
7171
from ansys.fluent.core.utils.setup_for_fluent import setup_for_fluent # noqa: F401
7272

73-
__version__ = "0.32.3"
73+
__version__ = "0.32.4"
7474

7575
_VERSION_INFO = None
7676
"""

src/ansys/fluent/core/launcher/fluent_container.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,7 @@ def configure_container_dict(
306306
environment={
307307
"ANSYSLMD_LICENSE_FILE": license_server,
308308
"REMOTING_PORTS": f"{container_grpc_port}/portspan=2",
309+
"FLUENT_ALLOW_REMOTE_GRPC_CONNECTION": "1",
309310
}
310311
)
311312

src/ansys/fluent/core/launcher/slurm_launcher.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -459,6 +459,7 @@ def _prepare(self):
459459
launch_cmd += _build_journal_argument(
460460
self._argvals["topy"], self._argvals["journal_file_names"]
461461
)
462+
launch_cmd += ' -setenv="FLUENT_ALLOW_REMOTE_GRPC_CONNECTION=1"'
462463

463464
logger.debug(f"Launching Fluent with command: {launch_cmd}")
464465
proc = subprocess.Popen(launch_cmd, **kwargs)

0 commit comments

Comments
 (0)