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

Completely remove click echo #6324

Draft
wants to merge 21 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
4504e73
chore: remove click echo from check.py
oz123 Dec 8, 2024
badd27d
chore: remove click echo from clean
oz123 Dec 8, 2024
3867ded
chore: remove click echo from clear.py
oz123 Dec 8, 2024
2a2a89d
fix: replace echo method with print
oz123 Dec 8, 2024
613d266
chore: replace wording echo with write
oz123 Dec 8, 2024
fb6826e
chore: remove click.echo from pipenv/utils/project.py
oz123 Dec 9, 2024
e7f65da
chore: remove click.echo from pipenv/routines/lock.py
oz123 Dec 9, 2024
09fea2d
chore: remove click from pipenv/utils/processes.py
oz123 Dec 9, 2024
8b1c8e0
chore: remove click.echo from pipenv/utils/environment.py
oz123 Dec 10, 2024
d17fe2a
chore: remove click.echo from pipenv/routines/requirements.py
oz123 Dec 10, 2024
efc1b79
chore: bump pypi-server version to 2.3.2
oz123 Dec 10, 2024
e94084b
chore: remove click.echo from pipenv/routines/outdated.py
oz123 Dec 10, 2024
ed633d8
chore: pin dev dependencies
oz123 Dec 10, 2024
74f2e79
chore: remove click from pipenv/routines/shell.py
oz123 Dec 11, 2024
99013e5
chore: remove pipenv/routines/uninstall.py
oz123 Dec 11, 2024
8d37aaf
chore: remove disabling of NO_COLOR on click echo
oz123 Dec 12, 2024
8c7b0f6
fix: typo pipevn->pipenv
oz123 Dec 12, 2024
d6bee36
chore: replace PipenvCmdError base class to OSError
oz123 Dec 12, 2024
c0ea373
refactor: replace click exception with rich based
oz123 Jan 9, 2025
66c7715
remove more usage of click exception
oz123 Jan 12, 2025
24f3d61
refactor: remove all click from exceptions
oz123 Jan 14, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ pre-commit = "==2.*"
atomicwrites = {version = "*", sys_platform = "== 'win32'"}
pytest-cov = "==4.*"
typing-extensions = "==4.*"
waitress = {version = "*", sys_platform = "== 'win32'"}
gunicorn = {version = "*", sys_platform = "== 'linux'"}
waitress = {version = "3.*", sys_platform = "== 'win32'"}
gunicorn = {version = "23.0.*", sys_platform = "== 'linux'"}
parse = "*"
importlib-metadata = "*"
colorama= {version = "*", sys_platform = "== 'win32'"}
Expand All @@ -28,10 +28,11 @@ pyyaml = "==6.0.1"
build = "*"
twine = "*"
semver = "*"
pypiserver = {ref = "pipenv-313", git = "https://github.com/matteius/pypiserver.git"}
pypiserver = "2.3.2"

[packages]
pytz = "*"
pipenv = {file = "."}

[scripts]
tests = "bash ./run-tests.sh"
Expand Down
951 changes: 585 additions & 366 deletions Pipfile.lock

Large diffs are not rendered by default.

9 changes: 0 additions & 9 deletions pipenv/environments.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,6 @@ def normalize_pipfile_path(p):
)


NO_COLOR = False
if os.getenv("NO_COLOR") or os.getenv("PIPENV_COLORBLIND"):
NO_COLOR = True
from pipenv.utils.shell import style_no_color
from pipenv.vendor import click

click.original_style = click.style
click.style = style_no_color

PIPENV_HIDE_EMOJIS = (
os.environ.get("PIPENV_HIDE_EMOJIS") is None
and (os.name == "nt" or PIPENV_IS_CI)
Expand Down
Loading
Loading