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

Hypothesis tests on Ubuntu fails in the main #122686

Closed
skirpichev opened this issue Aug 5, 2024 · 10 comments
Closed

Hypothesis tests on Ubuntu fails in the main #122686

skirpichev opened this issue Aug 5, 2024 · 10 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@skirpichev
Copy link
Member

skirpichev commented Aug 5, 2024

Bug report

Bug description:

See e.g.:
https://github.com/python/cpython/actions/runs/10240047164/job/28326351304

It seems, pinning attrs deps helps. I'll provide patch.

CPython versions tested on:

CPython main branch

Operating systems tested on:

No response

Linked PRs

@skirpichev skirpichev added the type-bug An unexpected behavior, bug, or error label Aug 5, 2024
skirpichev added a commit to skirpichev/cpython that referenced this issue Aug 5, 2024
@hugovk
Copy link
Member

hugovk commented Aug 5, 2024

Please could you also report this upstream at Hypothesis or attrs?

@skirpichev
Copy link
Member Author

python-attrs/attrs#1326

@hynek
Copy link
Member

hynek commented Aug 5, 2024

is this 3.14-only, or does Hypothesis only run on 3.14?

@skirpichev
Copy link
Member Author

Indeed, on 3.13 I see no failures, see latest build:
https://github.com/python/cpython/actions/runs/10246389305/job/28343388013

And on 3.12 too.

@skirpichev
Copy link
Member Author

@hugovk, is this intentionally left open?

@hynek
Copy link
Member

hynek commented Aug 6, 2024

A pin is a stopgap, not a fix. I’m still waiting for feedback from the Hypothesis team on HypothesisWorks/hypothesis#4067 how to actually fix it.

The problem is not solved until the pin is removed again.

@skirpichev
Copy link
Member Author

Then #122729 should address this.

@vstinner
Copy link
Member

vstinner commented Aug 6, 2024

Then #122729 should address this.

Do you have more context? Is there a new Hypothesis release? Does it fix the issue?

@skirpichev
Copy link
Member Author

Is there a new Hypothesis release? Does it fix the issue?

Yes. Yes. See https://github.com/HypothesisWorks/hypothesis/releases/tag/hypothesis-python-6.108.10

vstinner pushed a commit that referenced this issue Aug 6, 2024
@vstinner
Copy link
Member

vstinner commented Aug 6, 2024

Fixed by updating Hypothesis to 6.108.10 (changelog) which fix compatibility with attrs 24.1.0: commit.

@vstinner vstinner closed this as completed Aug 6, 2024
brandtbucher pushed a commit to brandtbucher/cpython that referenced this issue Aug 7, 2024
brandtbucher pushed a commit to brandtbucher/cpython that referenced this issue Aug 7, 2024
blhsing pushed a commit to blhsing/cpython that referenced this issue Aug 22, 2024
blhsing pushed a commit to blhsing/cpython that referenced this issue Aug 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

4 participants