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

python2 deprecation warning break scripts that read from stdout #2754

Closed
3 tasks done
NateScarlet opened this issue Jul 31, 2020 · 1 comment · Fixed by #3138
Closed
3 tasks done

python2 deprecation warning break scripts that read from stdout #2754

NateScarlet opened this issue Jul 31, 2020 · 1 comment · Fixed by #3138
Labels
kind/bug Something isn't working as expected

Comments

@NateScarlet
Copy link

NateScarlet commented Jul 31, 2020

  • 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: debian and windows7
  • Poetry version: 1.1.0b2
  • Link of a Gist with the contents of your pyproject.toml file: not required

Issue

poetry run python --version > test.txt

test.txt

Python 2.7 will no longer be supported in the next feature release of Poetry (1.2).
You should consider updating your Python version to a supported one.

Note that you will still be able to manage Python 2.7 projects by using the env command.
See https://python-poetry.org/docs/managing-environments/ for more information.

Python 2.7.17

I want suppress this warning but found no way to do that.

poetry -q run python --version > test.txt create a empty file.

@NateScarlet NateScarlet added kind/bug Something isn't working as expected status/triage This issue needs to be triaged labels Jul 31, 2020
abn pushed a commit that referenced this issue Oct 7, 2020
finswimmer added a commit to finswimmer/poetry that referenced this issue Oct 8, 2020
@abn abn closed this as completed in #3138 Oct 8, 2020
abn pushed a commit that referenced this issue Oct 8, 2020
@abn abn removed the status/triage This issue needs to be triaged label Mar 3, 2022
Copy link

github-actions bot commented Mar 2, 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 2, 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

Successfully merging a pull request may close this issue.

2 participants