Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 942194 - dev-python/pymongo-4.10.1[-test-full] fails test phase
Summary: dev-python/pymongo-4.10.1[-test-full] fails test phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Ultrabug
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-26 01:24 UTC by Jonathan Lovelace
Modified: 2024-10-26 05:31 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dev-python:pymongo-4.10.1:20241025-205046.log (dev-python:pymongo-4.10.1:20241025-205046.log,13.98 KB, text/plain; charset=utf-8)
2024-10-26 01:24 UTC, Jonathan Lovelace
Details
emerge-info.txt (emerge-info.txt,8.68 KB, text/plain; charset=utf-8)
2024-10-26 01:24 UTC, Jonathan Lovelace
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jonathan Lovelace 2024-10-26 01:24:03 UTC
Created attachment 906750 [details]
dev-python:pymongo-4.10.1:20241025-205046.log

=dev-python/pymongo-4.10.1 fails its test phase for me, with the following output:

============================================================================= test session starts ==============================================================================
platform linux -- Python 3.12.6, pytest-8.3.3, pluggy-1.5.0 -- /var/tmp/portage/dev-python/pymongo-4.10.1/work/mongo-python-driver-4.10.1-python3_12/install/usr/bin/python3.12
cachedir: .pytest_cache
rootdir: /var/tmp/portage/dev-python/pymongo-4.10.1/work/mongo-python-driver-4.10.1
configfile: pyproject.toml
testpaths: test
collecting ... ERROR: Unknown config option: asyncio_default_fixture_loop_scope


collected 5520 items / 825 deselected / 4695 selected

------------------------ generated xml file: /var/tmp/portage/dev-python/pymongo-4.10.1/work/mongo-python-driver-4.10.1/xunit-results/TEST-results.xml -------------------------
=========================================================================== 825 deselected in 5.23s ============================================================================

If I use /etc/portage/env to run 'sed -i -e "/asyncio_default_fixture_loop_scope/d" pyproject.toml' in post_src_prepare(), the tests pass.
Comment 1 Jonathan Lovelace 2024-10-26 01:24:21 UTC
Created attachment 906751 [details]
emerge-info.txt
Comment 2 Larry the Git Cow gentoo-dev 2024-10-26 05:31:24 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d48d97ba687cdf1c40c9bd0f9b7bec316f1dc78f

commit d48d97ba687cdf1c40c9bd0f9b7bec316f1dc78f
Author:     Michał Górny <mgorny@gentoo.org>
AuthorDate: 2024-10-26 05:17:10 +0000
Commit:     Michał Górny <mgorny@gentoo.org>
CommitDate: 2024-10-26 05:17:10 +0000

    dev-python/pymongo: Fix testing with USE=-test-full
    
    Closes: https://bugs.gentoo.org/942194
    Signed-off-by: Michał Górny <mgorny@gentoo.org>

 dev-python/pymongo/pymongo-4.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)