Title: test_Align_bigbed.TestAlign_extended_bed.test_writing fails on Biopython 1.87 with Python 3.14 · Issue #5239 · biopython/biopython · GitHub
Open Graph Title: test_Align_bigbed.TestAlign_extended_bed.test_writing fails on Biopython 1.87 with Python 3.14 · Issue #5239 · biopython/biopython
X Title: test_Align_bigbed.TestAlign_extended_bed.test_writing fails on Biopython 1.87 with Python 3.14 · Issue #5239 · biopython/biopython
Description: Setup I am reporting a test failure with Biopython 1.87. Python: 3.14.2 Compiler: GCC 15.2.0 Platform: Linux x86_64 - RHEL9 NumPy: 2.4.6 This was observed while building Biopython 1.87 in an EasyBuild HPC software stack using GCC 15.2.0 ...
Open Graph Description: Setup I am reporting a test failure with Biopython 1.87. Python: 3.14.2 Compiler: GCC 15.2.0 Platform: Linux x86_64 - RHEL9 NumPy: 2.4.6 This was observed while building Biopython 1.87 in an EasyBu...
X Description: Setup I am reporting a test failure with Biopython 1.87. Python: 3.14.2 Compiler: GCC 15.2.0 Platform: Linux x86_64 - RHEL9 NumPy: 2.4.6 This was observed while building Biopython 1.87 in an EasyBu...
Opengraph URL: https://github.com/biopython/biopython/issues/5239
X: @github
Domain: www.github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"test_Align_bigbed.TestAlign_extended_bed.test_writing fails on Biopython 1.87 with Python 3.14","articleBody":"### Setup\n\nI am reporting a test failure with Biopython 1.87.\n\nPython: 3.14.2 \nCompiler: GCC 15.2.0 \nPlatform: Linux x86_64 - RHEL9\nNumPy: 2.4.6\n\nThis was observed while building Biopython 1.87 in an EasyBuild HPC software stack using GCC 15.2.0 / Python 3.14.2. I reproduced the same failure on two different HPC nodes.\n\n### Expected behaviour\n\nThe offline Biopython test suite should pass, or the failing test should be skipped/adjusted if the byte-for-byte comparison is not stable across supported Python/platform/toolchain combinations.\n\n### Actual behaviour\n\nThe offline test suite fails in one test:\n\n```text\ntest_Align_bigbed ... FAIL\n```\n\nThe failing test is:\n\n```text\ntest_Align_bigbed.TestAlign_extended_bed.test_writing\n```\n\nFull failure:\n\n```text\n======================================================================\nFAIL: test_writing (test_Align_bigbed.TestAlign_extended_bed.test_writing)\nTest writing bigbed_extended.bb.\n----------------------------------------------------------------------\nTraceback (most recent call last):\n File \".../Tests/test_Align_bigbed.py\", line 6920, in test_writing\n self.assertEqual(correct, data)\n ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^\nAssertionError: b'\\xe[88 chars]00\\xbd\\x05\\x00\\x00\\x00\\x00\\x00\\x00\\x0b\\x00\\t\\x[153227 chars]\\x87' != b'\\xe[88 chars]00\\xbe\\x05\\x00\\x00\\x00\\x00\\x00\\x00\\x0b\\x00\\t\\x[153314 chars]\\x87'\n```\n\nThe test appears to compare the generated `bigbed_extended.bb` binary output byte-for-byte against a reference. The generated output differs slightly from the expected data.\n\n### Steps to reproduce\n\nBuild/install Biopython 1.87 with Python 3.14.2, then run:\n\n```bash\ncd Tests\npython run_tests.py --offline\n```\n\n### Additional context\n\nThere is an older related issue, #4658, where `test_Align_bigbed.TestAlign_extended_bed.test_writing` also failed on s390x due to big-endian/binary-output differences. My case is different: this failure occurs on Linux x86_64/little-endian with Biopython 1.87 and Python 3.14.2.\n\nFor downstream packaging I can skip `test_Align_bigbed.py`, but I wanted to report this because it may indicate either a real bigBed writer regression or an overly strict/non-portable byte-for-byte binary-output test.\n\n*this PR was created with help of ChatGPT5.5","author":{"url":"https://github.com/pavelToman","@type":"Person","name":"pavelToman"},"datePublished":"2026-06-17T14:55:26.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/5239/biopython/issues/5239"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:7279f4c1-b327-1bbf-b1e8-f7007a6c2922 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC00:1C6A96:43B6652:5A7872A:6A65235A |
| html-safe-nonce | deecfb3c3adde4be7e64e46121faf4afae9a4dcb077258074b85dfd48cfbff8f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzAwOjFDNkE5Njo0M0I2NjUyOjVBNzg3MkE6NkE2NTIzNUEiLCJ2aXNpdG9yX2lkIjoiMjI5NjY3NTEyNDEzMjUyMDc5NCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 5c1171ee4d0d7819fcbab6c5e361b0f8b9e64c463286a872c052282433681326 |
| hovercard-subject-tag | issue:4684421887 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/biopython/biopython/5239/issue_layout |
| twitter:image | https://opengraph.githubassets.com/205ce236a72d796e7e067bee3f8f293466252250781defcc84fbd21893e9eacb/biopython/biopython/issues/5239 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/205ce236a72d796e7e067bee3f8f293466252250781defcc84fbd21893e9eacb/biopython/biopython/issues/5239 |
| og:image:alt | Setup I am reporting a test failure with Biopython 1.87. Python: 3.14.2 Compiler: GCC 15.2.0 Platform: Linux x86_64 - RHEL9 NumPy: 2.4.6 This was observed while building Biopython 1.87 in an EasyBu... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | pavelToman |
| hostname | github.com |
| expected-hostname | github.com |
| None | 52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b |
| turbo-cache-control | no-preview |
| go-import | github.com/biopython/biopython git https://github.com/biopython/biopython.git |
| octolytics-dimension-user_id | 54555 |
| octolytics-dimension-user_login | biopython |
| octolytics-dimension-repository_id | 151541 |
| octolytics-dimension-repository_nwo | biopython/biopython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 151541 |
| octolytics-dimension-repository_network_root_nwo | biopython/biopython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 309153364422b3c499922d1a2a6404910a58ed8e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width