Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
3 of 5 tasks
AMDmi3 opened this issue Dec 25, 2024 · 0 comments
Open
3 of 5 tasks

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

AMDmi3 opened this issue Dec 25, 2024 · 0 comments
Labels

Comments

@AMDmi3
Copy link

AMDmi3 commented Dec 25, 2024

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

@AMDmi3 AMDmi3 added the bug label Dec 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant