-
Notifications
You must be signed in to change notification settings - Fork 280
Closed
Description
I followed these instructions to install scikit-bio with Python version 3.12.
At the make test
step, I encountered the below failures:
FAIL: test_open_gzip (__main__.TestWriteBufferedReader.test_open_gzip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 343, in test_open_gzip
self.compare_gzip_file_contents(self.get_contents(self.gzip_file),
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'le_file\x00' != b'\x8a\x9d\xf4\x165\x00\x00\x00'
======================================================================
FAIL: test_open_gzip_encoding (__main__.TestWriteBufferedReader.test_open_gzip_encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 365, in test_open_gzip_encoding
self.compare_gzip_file_contents(
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'g5_file\x00' != b'&\x05\xd3\xe1\x05\x00\x00\x00'
======================================================================
FAIL: test_open_gzip (__main__.TestWriteBytesIO.test_open_gzip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 493, in test_open_gzip
self.compare_gzip_file_contents(self.get_contents(self.gzip_file),
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'' != b'\x8a\x9d\xf4\x165\x00\x00\x00'
======================================================================
FAIL: test_open_gzip_encoding (__main__.TestWriteBytesIO.test_open_gzip_encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 501, in test_open_gzip_encoding
self.compare_gzip_file_contents(
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'' != b'&\x05\xd3\xe1\x05\x00\x00\x00'
======================================================================
FAIL: test_open_gzip (__main__.TestWriteNamedTemporaryFile.test_open_gzip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 343, in test_open_gzip
self.compare_gzip_file_contents(self.get_contents(self.gzip_file),
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'py4ezep\x00' != b'\x8a\x9d\xf4\x165\x00\x00\x00'
======================================================================
FAIL: test_open_gzip_encoding (__main__.TestWriteNamedTemporaryFile.test_open_gzip_encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 365, in test_open_gzip_encoding
self.compare_gzip_file_contents(
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'v7olg_j\x00' != b'&\x05\xd3\xe1\x05\x00\x00\x00'
======================================================================
FAIL: test_open_gzip (__main__.TestWriteTemporaryFile.test_open_gzip)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 343, in test_open_gzip
self.compare_gzip_file_contents(self.get_contents(self.gzip_file),
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'\x08\x004\xb6Se\x02\xff' != b'\x8a\x9d\xf4\x165\x00\x00\x00'
======================================================================
FAIL: test_open_gzip_encoding (__main__.TestWriteTemporaryFile.test_open_gzip_encoding)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 365, in test_open_gzip_encoding
self.compare_gzip_file_contents(
File "/home/bsathappan/scikit-bio/skbio/io/tests/test_util.py", line 329, in compare_gzip_file_contents
self.assertEqual(a[-8:], b[-8:])
AssertionError: b'\x08\x004\xb6Se\x02\xff' != b'&\x05\xd3\xe1\x05\x00\x00\x00'
----------------------------------------------------------------------
Ran 220 tests in 2.498s
FAILED (failures=8)
I repeated the installation process with Python version 3.11, and everything worked properly and all tests passed.
Metadata
Metadata
Assignees
Labels
No labels