From 4a6df3c5cdcaa6f81ce4cf23885c7170efe3f678 Mon Sep 17 00:00:00 2001 From: Caleb Bell Date: Fri, 26 Jul 2024 10:53:09 -0600 Subject: [PATCH] Remeber 3.7 isn't tested either due to an issue --- .github/workflows/build.yml | 6 ++---- tests/test_eos_mix.py | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 80e1df56..8d3e81e0 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -13,7 +13,7 @@ jobs: strategy: fail-fast: false matrix: - python-version: ['3.7', '3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9'] + python-version: ['3.8', '3.9', '3.10', '3.11', '3.12', 'pypy3.9'] os: [windows-latest, ubuntu-latest, macos-13, macos-latest] architecture: ['x86', 'x64'] exclude: @@ -53,8 +53,6 @@ jobs: python-version: 3.13 # These are arm - old versions of Python are not supported - - os: macos-latest - python-version: 3.7 - os: macos-latest python-version: 3.8 - os: macos-latest @@ -109,7 +107,7 @@ jobs: python -m pip install wheel pip install -r requirements_test.txt - name: Add numba - if: ${{ matrix.python-version == '3.7' || matrix.python-version == '3.8' || matrix.python-version == '3.9' || matrix.python-version == '3.10' || matrix.python-version == '3.11' || matrix.python-version == '3.12' }} + if: ${{ matrix.python-version == '3.8' || matrix.python-version == '3.9' || matrix.python-version == '3.10' || matrix.python-version == '3.11' || matrix.python-version == '3.12' }} run: | pip install numba - name: Install thermo diff --git a/tests/test_eos_mix.py b/tests/test_eos_mix.py index 89075a19..56c3115f 100644 --- a/tests/test_eos_mix.py +++ b/tests/test_eos_mix.py @@ -4858,7 +4858,7 @@ def args(eos, numpy=False): assert isinstance(eos_np.d2G_dep_dzizjs(eos_np.Z_g), np.ndarray) assert isinstance(eos.d2G_dep_dzizjs(eos.Z_g), list) - assert_close2d(eos_np.d2P_dninjs_Vt('g'), eos.d2P_dninjs_Vt('g'), rtol=1e-13) + assert_close2d(eos_np.d2P_dninjs_Vt('g'), eos.d2P_dninjs_Vt('g'), rtol=1e-12) assert isinstance(eos_np.d2P_dninjs_Vt('g'), np.ndarray) assert isinstance(eos.d2P_dninjs_Vt('g'), list)