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

Upgrade Pytest version to 7.1 #6266

Closed
3 tasks done
akhildevelops opened this issue Aug 30, 2022 · 2 comments
Closed
3 tasks done

Upgrade Pytest version to 7.1 #6266

akhildevelops opened this issue Aug 30, 2022 · 2 comments
Labels
kind/bug Something isn't working as expected

Comments

@akhildevelops
Copy link

  • I am on the latest Poetry version.
  • I have searched the issues of this repo and believe that this is not a duplicate.
  • If an exception occurs when executing a command, I executed it again in debug mode (-vvv option).
  • OS version and name: Ubuntu 22.04
  • Poetry version: 1.1.15

Issue

Running pytest (^5.2) on default poetry project gives error: TypeError: required field "lineno" missing from alias.

It got to do with bug in python 3.10 [https://github.com/pytest-dev/pytest/pull/8540].

There's a fix for pytest given in version ^6.0. Checked with latest pytest version 7.1 there's no issue.

It also makes sense to upgrade pytest as 5.2 dates back to Sep 2019

@akhildevelops akhildevelops added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Aug 30, 2022
@Secrus
Copy link
Member

Secrus commented Aug 30, 2022

Since we release 1.2 tomorrow, we don't plan to apply any more changes to the 1.1 branch. This problem does not exist on 1.2+, as we don't install pytest in default projects.

@Secrus Secrus closed this as completed Aug 30, 2022
@neersighted neersighted closed this as not planned Won't fix, can't repro, duplicate, stale Aug 30, 2022
@mkniewallner mkniewallner removed the status/triage This issue needs to be triaged label Sep 18, 2022
Copy link

github-actions bot commented Mar 1, 2024

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 1, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

4 participants