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

Test suite fails with pytest 8 #1233

Closed
hynek opened this issue Feb 2, 2024 · 0 comments · Fixed by #1249
Closed

Test suite fails with pytest 8 #1233

hynek opened this issue Feb 2, 2024 · 0 comments · Fixed by #1249

Comments

@hynek
Copy link
Member

hynek commented Feb 2, 2024

We've got a bunch of failing tests; all in the sphere of exceptions and warnings: https://github.com/python-attrs/attrs/actions/runs/7759031210

halstead pushed a commit to yoctoproject/poky that referenced this issue Feb 16, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 99d6b973580fe5d96a92f97cdfbdaeb6008306d5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Feb 16, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to yoctoproject/poky that referenced this issue Feb 16, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 99d6b973580fe5d96a92f97cdfbdaeb6008306d5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to yoctoproject/poky that referenced this issue Feb 16, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 99d6b973580fe5d96a92f97cdfbdaeb6008306d5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to yoctoproject/poky that referenced this issue Feb 17, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 99d6b973580fe5d96a92f97cdfbdaeb6008306d5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to yoctoproject/poky that referenced this issue Feb 17, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 99d6b973580fe5d96a92f97cdfbdaeb6008306d5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to yoctoproject/poky that referenced this issue Feb 17, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 99d6b973580fe5d96a92f97cdfbdaeb6008306d5)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to yoctoproject/poky that referenced this issue Feb 17, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 5af87eda524bb0affe207c006f67b4191f6ce746)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
halstead pushed a commit to openembedded/openembedded-core that referenced this issue Feb 17, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
dlax added a commit to dlax/attrs that referenced this issue Feb 28, 2024
assoc() no longer raises a deprecation warning since commit
22ae847 but the 'with
pytest.deprecated_call():' in that test was not removed then (in
contrast with other test cases).

Maybe this got unnoticed due to a pytest bug?
In any case, using pytest 8+ (and keeping deprecated_call()) shows that
no warning is raised and the test fails.

Removing the upper bound on pytest in dev dependencies as tests now
pass with pytest 8.0.

Fix python-attrs#1233.
dlax added a commit to dlax/attrs that referenced this issue Feb 28, 2024
assoc() no longer raises a deprecation warning since commit
22ae847 but the 'with
pytest.deprecated_call():' in that test was not removed then (in
contrast with other test cases).

Maybe this got unnoticed due to a pytest bug?
In any case, using pytest 8+ (and keeping deprecated_call()) shows that
no warning is raised and the test fails.

Removing the upper bound on pytest in dev dependencies as tests now
pass with pytest 8.0.

Fix python-attrs#1233.
github-merge-queue bot pushed a commit that referenced this issue Mar 2, 2024
assoc() no longer raises a deprecation warning since commit
22ae847 but the 'with
pytest.deprecated_call():' in that test was not removed then (in
contrast with other test cases).

Maybe this got unnoticed due to a pytest bug?
In any case, using pytest 8+ (and keeping deprecated_call()) shows that
no warning is raised and the test fails.

Removing the upper bound on pytest in dev dependencies as tests now
pass with pytest 8.0.

Fix #1233.

Co-authored-by: Hynek Schlawack <hs@ox.cx>
daregit pushed a commit to daregit/yocto-combined that referenced this issue May 22, 2024
tests/test_funcs.py test_unknown test case is failing with
pytest 8. Skip it for now until upstream has a fix.

python-attrs/attrs#1233

(From OE-Core rev: 5af87eda524bb0affe207c006f67b4191f6ce746)

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants