uncscode / particula

a simple, fast, and powerful particle simulator
https://uncscode.github.io/particula
MIT License
5 stars 9 forks source link

include python 3.12 in test matrix #400

Closed ngmahfouz closed 9 months ago

ngmahfouz commented 9 months ago
=============================== warnings summary ===============================
../../../../../opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/dateutil/tz/tz.py:37
  /opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/dateutil/tz/tz.py:37: DeprecationWarning: datetime.datetime.utcfromtimestamp() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.fromtimestamp(timestamp, datetime.UTC).
    EPOCH = datetime.datetime.utcfromtimestamp(0)

particula/activity/tests/machine_limit_test.py::test_safe_exp
  /home/runner/work/particula/particula/particula/activity/tests/machine_limit_test.py:15: RuntimeWarning: overflow encountered in exp
    assert not np.allclose(

particula/activity/tests/machine_limit_test.py::test_safe_log
  /home/runner/work/particula/particula/particula/activity/tests/machine_limit_test.py:30: RuntimeWarning: invalid value encountered in log
    assert not np.allclose(safe_log([-1, -2, -3]), np.log([-1, -2, -3]))

particula/activity/tests/machine_limit_test.py::test_safe_log10
  /home/runner/work/particula/particula/particula/activity/tests/machine_limit_test.py:43: RuntimeWarning: invalid value encountered in log10
    assert not np.allclose(safe_log10([-1, -2, -3]), np.log10([-1, -2, -3]))

particula/data/tests/loader_test.py::test_filter_list
  /opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/particula/data/loader.py:86: UserWarning: More than 0.5 of the rows have been filtered out based on the character: ,.
    warnings.warn(

particula/data/tests/loader_test.py::test_filter_list
  /opt/hostedtoolcache/Python/3.12.0/x64/lib/python3.12/site-packages/particula/data/loader.py:86: UserWarning: More than 0.5 of the rows have been filtered out based on the character: z.
    warnings.warn(

work on cleaning these warnings before merging