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

(🐞) Don't use repr for paths in console output #1006

Merged
merged 1 commit into from
Jun 21, 2023

Conversation

KotlinIsland
Copy link
Contributor

@KotlinIsland KotlinIsland commented Jun 19, 2023

  • [🚀] I have added an entry to docs/changelog.md

Summary of changes

Previously pipx would output things like "File 'foo\\bar\\baz' not found.", which isn't ideal.

Test plan

Tested by running

# command(s) to exercise these changes
> pipx install basedmypy

@KotlinIsland KotlinIsland marked this pull request as ready for review June 19, 2023 23:46
CHANGELOG.md Outdated
@@ -5,6 +5,7 @@
- Fallback to user's log path if the default log path (`$PIPX_HOME/logs`) is not writable to aid with pipx being used for multi-user (e.g. system-wide) installs of applications
- Fix wrong interpreter usage when injecting local pip-installable dependencies into venvs
- add pre-commit hook support
- Don't use `repr` for paths in console output
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think this is worth a changelog entry.

Copy link
Member

Choose a reason for hiding this comment

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

I would add an entry, but not like this. It should say something about not showing double backslashes on Windows instead.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Member

@dukecat0 dukecat0 left a comment

Choose a reason for hiding this comment

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

Thanks!

@dukecat0 dukecat0 merged commit 69e051e into pypa:main Jun 21, 2023
@KotlinIsland KotlinIsland deleted the fix/repr_path branch June 21, 2023 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

(🐞) Do not use repr to format paths shown in console
4 participants