Skip to content

Commit 45906d3

Browse files
authored
Merge branch 'master' into notebook
2 parents 8449f1b + 1d45191 commit 45906d3

File tree

2 files changed

+10
-6
lines changed

2 files changed

+10
-6
lines changed

.github/workflows/XmsInterp-CI.yaml

+9-5
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
strategy:
4646
fail-fast: false
4747
matrix:
48-
platform: [macos-latest]
48+
platform: [macos-13]
4949
python-version: ['3.10']
5050
build_type: [Release, Debug]
5151

@@ -73,6 +73,10 @@ jobs:
7373
RELEASE_PYTHON: 'False'
7474

7575
steps:
76+
# Get Correct Version of Xcode
77+
- uses: maxim-lobanov/setup-xcode@v1
78+
with:
79+
xcode-version: 14.3.1
7680
# Checkout Sources
7781
- name: Checkout Source
7882
uses: actions/checkout@v2
@@ -125,7 +129,7 @@ jobs:
125129
run: |
126130
tar czf ${{ github.workspace }}/${{ matrix.platform }}-Clang${{ matrix.compiler-version }}-${{ matrix.build_type }}.tar.gz ${{ env.CONAN_PATH }}/${{ env.LIBRARY_NAME }}/${{ env.XMS_VERSION }}/aquaveo/${{ env.CONAN_CHANNEL}}/package
127131
- name: Add Artifact
128-
uses: actions/upload-artifact@v1
132+
uses: actions/upload-artifact@v4
129133
with:
130134
name: ${{ matrix.platform }}-Clang${{ matrix.compiler-version }}-${{ matrix.build_type }}
131135
path: ${{ github.workspace }}/${{ matrix.platform }}-Clang${{ matrix.compiler-version }}-${{ matrix.build_type }}.tar.gz
@@ -179,7 +183,7 @@ jobs:
179183
CONAN_BUILD_TYPES: ${{ matrix.build_type }}
180184
CONAN_GCC_VERSIONS: ${{ matrix.compiler-version }}
181185
CONAN_DOCKER_IMAGE: docker.aquaveo.com/aquaveo/conan-docker/conan-gcc${{ matrix.compiler-version }}-py${{ matrix.python-version }}:latest
182-
CONAN_PIP_INSTALL: 'conan-package-tools==0.35.1'
186+
CONAN_PIP_INSTALL: 'conan-package-tools==0.35.1 numpy==1.26.4'
183187
CONAN_PIP_PACKAGE: 'conan==1.41.0'
184188
# Aquapi Variables
185189
AQUAPI_USERNAME: ${{ secrets.AQUAPI_USERNAME_SECRET }}
@@ -253,7 +257,7 @@ jobs:
253257
run: |
254258
tar czf ${{ github.workspace }}/${{ matrix.platform }}-GCC${{ matrix.compiler-version }}-${{ matrix.build_type }}.tar.gz ${{ env.CONAN_PATH }}/${{ env.LIBRARY_NAME }}/${{ env.XMS_VERSION }}/aquaveo/${{ env.CONAN_CHANNEL}}/package
255259
- name: Add Artifact
256-
uses: actions/upload-artifact@v1
260+
uses: actions/upload-artifact@v4
257261
with:
258262
name: ${{ matrix.platform }}-Clang${{ matrix.compiler-version }}-${{ matrix.build_type }}
259263
path: ${{ github.workspace }}/${{ matrix.platform }}-GCC${{ matrix.compiler-version }}-${{ matrix.build_type }}.tar.gz
@@ -376,7 +380,7 @@ jobs:
376380
run: |
377381
tar czf ${{ github.workspace }}/${{ env.MATRIX_NAME }}.tar.gz ${{ env.CONAN_PATH }}/${{ env.LIBRARY_NAME }}/${{ env.XMS_VERSION }}/aquaveo/${{ env.CONAN_CHANNEL}}/package
378382
- name: Add Artifact
379-
uses: actions/upload-artifact@v1
383+
uses: actions/upload-artifact@v4
380384
with:
381385
name: ${{ env.MATRIX_NAME }}
382386
path: ${{ github.workspace }}/${{ env.MATRIX_NAME }}.tar.gz

_package/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
os.chdir(os.path.normpath(os.path.join(os.path.abspath(__file__), os.pardir)))
1111

1212
requires = [
13-
'numpy',
13+
'numpy<2.0.0',
1414
'xmscore>=6.0.0',
1515
'xmsgrid>=7.0.0, <8.0.0',
1616
]

0 commit comments

Comments
 (0)