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

The Pytest module automatically installed by Poetry is outdated #2679

Closed
3 tasks done
roipoussiere opened this issue Jul 16, 2020 · 3 comments · Fixed by #2768
Closed
3 tasks done

The Pytest module automatically installed by Poetry is outdated #2679

roipoussiere opened this issue Jul 16, 2020 · 3 comments · Fixed by #2768

Comments

@roipoussiere
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: Manjaro

  • Poetry version: 1.0.9

  • Link of a Gist with the contents of your pyproject.toml file: not relevant

Issue

After a poetry new, Poetry installs Pytest, but the installed version is 3.10.3, the current Pytest version is 5.4.3.

@roipoussiere roipoussiere added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jul 16, 2020
@finswimmer finswimmer added area/cli Related to the command line and removed kind/bug Something isn't working as expected labels Jul 19, 2020
@zyrikby
Copy link

zyrikby commented Sep 2, 2020

It took me a while to find out that outdated pytest dependency causes an issue in my newly created projects. I wrote about my current detour in a blog post.

@abn
Copy link
Member

abn commented Sep 2, 2020

The new command is more a convenience. This means that it is the responsibility of the project maintainer to update their dependencies.

As a quick fix you can simply do poetry add -D pytest@latest. And it should update to the latest version of pytest.

In the long run, the new command will no longer add any dependencies by default and leave that to the maintainers. (#2768).

Closing this as this is not really an issue that needs any further action at the moment.

@abn abn closed this as completed Sep 2, 2020
@abn abn removed area/cli Related to the command line status/triage This issue needs to be triaged labels Sep 2, 2020
Copy link

github-actions bot commented Mar 3, 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 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants