Skip to content

Commit

Permalink
Merge pull request #48 from chrishavlin/unyt_30
Browse files Browse the repository at this point in the history
enable unyt 3.0 and update action versions
  • Loading branch information
chrishavlin committed Jan 8, 2024
2 parents 24d02d2 + 9cec166 commit 7c783e5
Show file tree
Hide file tree
Showing 7 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
python-version: ['3.9', '3.10', '3.11']

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/check-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@ jobs:
name: Build Verification
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/check-manifest.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Source
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: Setup Python
uses: actions/setup-python@v2
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: install check-manifest
Expand All @@ -23,7 +23,5 @@ jobs:
shell: bash
run: |
python -m pip install --no-build-isolation .
- name: Init submodules
uses: snickerbockers/submodules-init@v4
- name: run check-manifest
run: check-manifest -vvv
2 changes: 1 addition & 1 deletion .github/workflows/create-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
permissions:
contents: write
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- uses: ncipollo/release-action@v1
with:
token: ${{ secrets.GITHUB_TOKEN }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pypi-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ jobs:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Python 3.9
uses: actions/setup-python@v3
uses: actions/setup-python@v5
with:
python-version: 3.9
- name: Install dependencies
Expand Down
2 changes: 2 additions & 0 deletions pyVBRc/tests/test_pyVBRc.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,8 @@ def test_interpolator(fname):
dgval = vbr.input.SV.dg_um.min()
phi_targets = np.full(T_targets.shape, np.log10(phival))
dg_targets = np.full(T_targets.shape, np.log10(dgval))
if isinstance(T_targets, unyt_array):
T_targets = T_targets.d
targets = np.column_stack((T_targets, phi_targets, dg_targets))
Vs_interp = interp(targets)
assert len(Vs_interp) == nT * 2
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ dependencies=["numpy",
"scipy",
"matplotlib",
"packaging",
"unyt<3.0",
"unyt",
]

[tool.setuptools]
Expand Down

0 comments on commit 7c783e5

Please sign in to comment.