Skip to content

Commit 44a9b05

Browse files
authored
bump PyPartMC CI dependency (and re-enable checks for Python 3.12). Closes #1410 (#1640)
1 parent a955f80 commit 44a9b05

File tree

2 files changed

+2
-10
lines changed

2 files changed

+2
-10
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@
6262
"PySDM-examples",
6363
"open-atmos-jupyter-utils>=v1.2.0",
6464
]
65-
+ (["PyPartMC==1.3.6"] if sys.version_info < (3, 12) else []) # TODO #1410
65+
+ ["PyPartMC" + ("==1.7.2" if CI else "")]
6666
+ (
6767
[
6868
"pyrcel",

tests/smoke_tests/box/partmc/test_dry_wet_equilibration.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,12 @@
22
(based on PyPartMC-examples notebook by Zach D'Aquino)"""
33

44
# pylint: disable=missing-function-docstring,no-member
5-
import platform
6-
import sys
75
from collections import namedtuple
86

97
import numpy as np
108
import pytest
119
from matplotlib import pyplot
10+
import PyPartMC
1211

1312
from PySDM import Builder
1413
from PySDM.backends import CPU
@@ -17,9 +16,6 @@
1716
from PySDM.initialisation.spectra import Lognormal
1817
from PySDM.physics import si
1918

20-
if platform.architecture()[0] == "64bit" and sys.version_info < (3, 12): # TODO #1410
21-
import PyPartMC
22-
2319
linestyles = {"PyPartMC": "dashed", "PySDM": "dotted"}
2420
x_unit = si.um
2521
y_unit = 1 / si.cm**3
@@ -74,10 +70,6 @@ def pypartmc(dry_diam, temp, rel_humid, kpa):
7470
return wet_diameters
7571

7672

77-
@pytest.mark.skipif(
78-
platform.architecture()[0] != "64bit" or sys.version_info >= (3, 12),
79-
reason="binary package availability", # TODO #1410
80-
)
8173
@pytest.mark.parametrize("kappa", (0.1, 1))
8274
@pytest.mark.parametrize("temperature", (300 * si.K,))
8375
@pytest.mark.parametrize("relative_humidity", (0.5, 0.75, 0.99))

0 commit comments

Comments
 (0)