Skip to content

Meteor is not building with python3.12

We have an issue with python3.12. One test is not working and there is a warning about tarfile

______________________ test_launch_counting2_smart_shared ______________________ counter_smart_shared = Counter(meteor=<class 'meteor.session.Component'>, counting_type='smart_shared', mapping_type='end-to-end', trim=80, i...nt_number=10000, counting_only=False, mapping_only=False, keep_sam=False, keep_bam=False, pysam_test=True, ini_data={}) datadir = PosixPath('/tmp/pytest-of-root/pytest-0/test_launch_counting2_smart_sh0/test_counter') tmp_path = PosixPath('/tmp/pytest-of-root/pytest-0/test_launch_counting2_smart_sh0') def test_launch_counting2_smart_shared(counter_smart_shared: Counter, datadir: Path, tmp_path: Path): bamfile = datadir / "total.bam" countfile = tmp_path / "count.tsv" counter_smart_shared.launch_counting2(bamfile, countfile) with countfile.open("rb") as out:

      assert md5(out.read()).hexdigest() == "06383f066a83fe158f9d6eb98c9a41a3"

E AssertionError: assert 'c4239c4ad2d4...939267f68fce7' == '06383f066a83...d6eb98c9a41a3' E - 06383f066a83fe158f9d6eb98c9a41a3 E + c4239c4ad2d44fc8713939267f68fce7 meteor/meteor/tests/test_counter.py:283: AssertionError =============================== warnings summary =============================== meteor/meteor/tests/test_downloader.py::test_extract_tar meteor/meteor/tests/test_downloader.py::test_execute /usr/local/lib/python3.12/tarfile.py:2220: DeprecationWarning: Python 3.14 will, by default, filter extracted tar archives and reject files or modify their metadata. Use the filter argument to control this behavior. warnings.warn( -- Docs: https://docs.pytest.org/en/stable/how-to/capture-warnings.html