Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 775473 - dev-python/ruamel-yaml-0.16.13-r1[python_targets_pypy3]: _test/test_deprecation.py:13: Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) was emitted.
Summary: dev-python/ruamel-yaml-0.16.13-r1[python_targets_pypy3]: _test/test_deprecati...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Andriy Utkin (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-11 15:34 UTC by Agostino Sarubbo
Modified: 2021-03-12 12:17 UTC (History)
4 users (show)

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


Attachments
build.log (build.log,62.60 KB, text/plain)
2021-03-11 15:34 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2021-03-11 15:34:27 UTC
https://blogs.gentoo.org/ago/2020/07/04/gentoo-tinderbox/

Issue: dev-python/ruamel-yaml-0.16.13-r1 fails tests.
Discovered on: amd64 (internal ref: ci)
Comment 1 Agostino Sarubbo gentoo-dev 2021-03-11 15:34:29 UTC
Created attachment 690765 [details]
build.log

build log and emerge --info
Comment 2 Larry the Git Cow gentoo-dev 2021-03-11 16:16:48 UTC
The bug has been closed via the following commit(s):

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

commit 0288a3c565e8846ab922e6e2cd51d54c0f8def6c
Author:     Marek Szuba <marecki@gentoo.org>
AuthorDate: 2021-03-11 16:14:34 +0000
Commit:     Marek Szuba <marecki@gentoo.org>
CommitDate: 2021-03-11 16:16:40 +0000

    dev-python/ruamel-yaml-0.16.13-r1: skip test_collections_deprecation on pypy3
    
    This only got deprecated in Python 3.7 and our pypy is 3.6-compatible.
    
    Closes: https://bugs.gentoo.org/775473
    Signed-off-by: Marek Szuba <marecki@gentoo.org>

 ...yaml-0.16.13-pypy3_collection_deprecation.patch | 22 ++++++++++++++++++++++
 .../ruamel-yaml/ruamel-yaml-0.16.13-r1.ebuild      |  4 ++++
 2 files changed, 26 insertions(+)
Comment 3 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2021-03-11 17:46:34 UTC
(In reply to Larry the Git Cow from comment #2)
> The bug has been closed via the following commit(s):
> 
> https://gitweb.gentoo.org/repo/gentoo.git/commit/
> ?id=0288a3c565e8846ab922e6e2cd51d54c0f8def6c
> 
> commit 0288a3c565e8846ab922e6e2cd51d54c0f8def6c
> Author:     Marek Szuba <marecki@gentoo.org>
> AuthorDate: 2021-03-11 16:14:34 +0000
> Commit:     Marek Szuba <marecki@gentoo.org>
> CommitDate: 2021-03-11 16:16:40 +0000
> 
>     dev-python/ruamel-yaml-0.16.13-r1: skip test_collections_deprecation on
> pypy3
>     
>     This only got deprecated in Python 3.7 and our pypy is 3.6-compatible.

Actuall, pypy3.6 was removed already, and the test checks for python version.
Comment 4 Marek Szuba (RETIRED) archtester gentoo-dev 2021-03-12 12:17:28 UTC
Indeed - having just tried it using PyPy 7.3.3-beta0, 'from collections import Hashable' does not produce a deprecation warning even under pypy3.7. I have updated the note in the patch, thanks for the heads-up.