Skip to content

Tests fail with object has no attribute 'wrapped' in propcache #1457

@AMDmi3

Description

@AMDmi3

Please confirm the following

  • I understand this is open source software provided for free and that I might not receive a timely response.
  • I am positive I am NOT reporting a (potential) security
    vulnerability, to the best of my knowledge. (These must be shared by
    submitting this report form instead, if
    any hesitation exists.)
  • I am willing to submit a pull request with reporoducers as xfailing test cases or even entire fix. (Assign this issue to me.)

Describe the bug

On 1.18.0 all tests have passed, on 1.18.3 some tests fail with:

    @benchmark
    def _run() -> None:
        for _ in range(100):
>           URL.raw_path_qs.wrapped(URL_WITH_PATH)
E           AttributeError: 'propcache._helpers_c.under_cached_property' object has no attribute 'wrapped'

tests/test_url_benchmarks.py:714: AttributeError

Full log: https://gist.github.com/AMDmi3/a3a18e1ec0f9bdd839abcff7394a79c1

To Reproduce

Run pytest

Expected behavior

Test should pass

Logs/tracebacks

Full build log: https://gist.github.com/AMDmi3/a3a18e1ec0f9bdd839abcff7394a79c1

Python Version

3.11.11

multidict Version

6.1.0

propcache Version

0.2.0

yarl Version

1.18.3

OS

FreeBSD 14.1

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions