Skip to content

Commit 7a728c4

Browse files
committed
2 parents 6217f4a + b50e559 commit 7a728c4

File tree

16 files changed

+163
-16
lines changed

16 files changed

+163
-16
lines changed

.github/workflows/backwards_compatibility.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,17 @@ jobs:
9292
docker rm $dockerContainers
9393
}
9494
95+
- name: Define SERVER_ENDPOINT variable if needed
96+
if: matrix.backend-version == '24.1' || matrix.backend-version == '24.2' || matrix.backend-version == '25.1'
97+
run: |
98+
$env:SERVER_ENDPOINT = "-e [email protected]"
99+
echo "SERVER_ENDPOINT variable set to: $env:SERVER_ENDPOINT"
100+
echo "SERVER_ENDPOINT=$env:SERVER_ENDPOINT" | Out-File -FilePath $env:GITHUB_ENV -Append
101+
95102
- name: Start Geometry service and verify start
96103
run: |
97104
.\.venv\Scripts\Activate.ps1
98-
docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE }}:${{ matrix.image-tag }} ${{ secrets.TRANSPORT_MODE_SELECTION }}
105+
docker run --detach --name ${{ env.GEO_CONT_NAME }} -e LICENSE_SERVER=${{ env.ANSRV_GEO_LICENSE_SERVER }} ${{ env.SERVER_ENDPOINT }} -p ${{ env.ANSRV_GEO_PORT }}:50051 ${{ env.ANSRV_GEO_IMAGE }}:${{ matrix.image-tag }} ${{ secrets.TRANSPORT_MODE_SELECTION }}
99106
Start-Sleep -Seconds 10
100107
python -c "from ansys.geometry.core.connection.validate import validate; validate()"
101108

.github/workflows/ci_cd.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ env:
1717
ANSRV_GEO_PORT: 700
1818
ANSRV_GEO_LICENSE_SERVER: ${{ secrets.LICENSE_SERVER }}
1919
GEO_CONT_NAME: ans_geo
20-
RESET_IMAGE_CACHE: 5
20+
RESET_IMAGE_CACHE: 6
2121
IS_WORKFLOW_RUNNING: True
2222
ARTIFACTORY_VERSION: v261
2323

@@ -256,7 +256,7 @@ jobs:
256256
257257
- name: Restore images cache
258258
if: env.SKIP_UNSTABLE == 'false'
259-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
259+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
260260
with:
261261
path: .\tests\integration\image_cache
262262
key: pyvista-image-cache-${{ runner.name }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}
@@ -424,7 +424,7 @@ jobs:
424424

425425
- name: Restore images cache
426426
if: env.SKIP_UNSTABLE == 'false'
427-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
427+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
428428
with:
429429
path: tests/integration/image_cache
430430
key: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}
@@ -769,7 +769,7 @@ jobs:
769769
pip install -e .[tests]
770770
771771
- name: Restore images cache
772-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
772+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
773773
with:
774774
path: .\tests\integration\image_cache
775775
key: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}
@@ -864,7 +864,7 @@ jobs:
864864
python -c "from ansys.geometry.core.connection.validate import validate; validate()"
865865
866866
- name: Restore images cache
867-
uses: actions/cache@0400d5f644dc74513175e3cd8d07132dd4860809 # v4.2.4
867+
uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0
868868
with:
869869
path: .\tests\integration\image_cache
870870
key: pyvista-image-cache-${{ runner.os }}-v-${{ env.RESET_IMAGE_CACHE }}-${{ hashFiles('pyproject.toml') }}

doc/changelog.d/2252.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Loft profiles with guides
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump ansys-api-geometry from 0.4.76 to 0.4.77
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Bump actions/cache from 4.2.4 to 4.3.0 in the actions group

doc/changelog.d/2255.added.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Check for match
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Backwards compatibility changes on Docker images
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade grpcio and protobuf

docker/windows/dms/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ RUN mkdir tmp_folder && \
2626

2727
# Defining environment variables
2828
ENV LICENSE_SERVER=""
29-
ENV SERVER_ENDPOINT="0.0.0.0:50051"
29+
ENV SERVER_ENDPOINT="50051@0.0.0.0"
3030
ENV ENABLE_TRACE=0
3131
ENV LOG_LEVEL=2
3232
ENV AWP_ROOT252=C:/app/unified

pyproject.toml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ classifiers = [
2424
]
2525

2626
dependencies = [
27-
"ansys-api-geometry==0.4.76",
27+
"ansys-api-geometry==0.4.77",
2828
"ansys-tools-path>=0.3,<1",
2929
"beartype>=0.11.0,<0.22",
3030
"geomdl>=5,<6",
@@ -33,7 +33,7 @@ dependencies = [
3333
"matplotlib>=3,<4",
3434
"numpy>=1.20.3,<3",
3535
"Pint>=0.18,<1",
36-
"protobuf>=3.20.2,<6",
36+
"protobuf>=3.20.2,<7",
3737
"requests>=2,<3",
3838
"scipy>=1.7.3,<2",
3939
"semver>=3,<4",
@@ -62,12 +62,12 @@ tests = [
6262
"beartype==0.21.0",
6363
"docker==7.1.0",
6464
"geomdl==5.4.0",
65-
"grpcio==1.71.0",
66-
"grpcio-health-checking==1.71.0",
65+
"grpcio==1.75.0",
66+
"grpcio-health-checking==1.75.0",
6767
"matplotlib==3.10.6",
6868
"numpy==2.2.6",
6969
"Pint==0.24.4",
70-
"protobuf==5.29.3",
70+
"protobuf==6.32.1",
7171
"pygltflib==1.16.5",
7272
"pytest==8.4.2",
7373
"pytest-cov==6.3.0",
@@ -93,8 +93,8 @@ doc = [
9393
"beartype==0.21.0",
9494
"docker==7.1.0",
9595
"geomdl==5.4.0",
96-
"grpcio==1.71.0",
97-
"grpcio-health-checking==1.71.0",
96+
"grpcio==1.75.0",
97+
"grpcio-health-checking==1.75.0",
9898
"ipyvtklink==0.2.3",
9999
"jupyter_sphinx==0.5.3",
100100
"jupytext==1.17.3",
@@ -108,7 +108,7 @@ doc = [
108108
"panel==1.8.1",
109109
"pdf2image==1.17.0",
110110
"Pint==0.24.4",
111-
"protobuf==5.29.3",
111+
"protobuf==6.32.1",
112112
"pygltflib==1.16.5",
113113
"pyvista[jupyter]==0.46.3",
114114
"quarto-cli==1.8.24",

0 commit comments

Comments
 (0)