Skip to content

Deprecate to_str#3298

Closed
kasteph wants to merge 1 commit into
python-poetry:masterfrom
kasteph:deprecate-to-str
Closed

Deprecate to_str#3298
kasteph wants to merge 1 commit into
python-poetry:masterfrom
kasteph:deprecate-to-str

Conversation

@kasteph
Copy link
Copy Markdown
Member

@kasteph kasteph commented Oct 27, 2020

Relates-to: #3318

@kasteph kasteph requested a review from a team October 27, 2020 20:27
Comment thread poetry/utils/_compat.py
else:
method = "decode"

encodings = ["utf-8", "latin1", "ascii"]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we handle this via str(x, encoding=encoding)? We should add a test case for PyPI repositories that evalueatets this.

@kasteph
Copy link
Copy Markdown
Member Author

kasteph commented Nov 24, 2020

Closing for #3405

@kasteph kasteph closed this Nov 24, 2020
@kasteph kasteph deleted the deprecate-to-str branch November 24, 2020 12:47
@abn
Copy link
Copy Markdown
Member

abn commented Nov 24, 2020

@stephsamson #3405 did not remove the method though right? I think we still need to remove encode/decode/to_str in a separate change.

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Mar 1, 2024

This pull request 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

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants