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

deps: replace termcolor with termcolor-whl #207

Merged
merged 1 commit into from Jul 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 0 additions & 2 deletions .coveragerc
@@ -1,5 +1,3 @@
[report]
omit =
yaspin/compat.py
yaspin/signal_handlers.py
yaspin/termcolor.py
1 change: 0 additions & 1 deletion .editorconfig
Expand Up @@ -16,7 +16,6 @@ indent_size = 4
# isort
lines_after_imports = 2
not_skip=__init__.py
skip=termcolor.py

[Makefile]
indent_style = tab
1 change: 0 additions & 1 deletion .flake8
Expand Up @@ -10,5 +10,4 @@ exclude =
build,
examples/hide_show_prompt_toolkit.py,
# project specific
yaspin/termcolor.py,
gif-compose
6 changes: 3 additions & 3 deletions .github/workflows/lint_test_coverage.yml
Expand Up @@ -77,18 +77,18 @@ jobs:
- name: run-tests
if: "!contains(matrix.python-version, 'pypy-3.9')"
run: |
poetry run py.test -n auto
make test

# PyPy
- name: install-dependencies
if: "contains(matrix.python-version, 'pypy-3.9')"
run: |
pip install termcolor==1.1.0 pytest==6.2.4 pytest-xdist==2.3.0
pip install termcolor-whl==1.1.2 pytest==6.2.4 pytest-xdist==2.3.0

- name: run-tests
if: "contains(matrix.python-version, 'pypy-3.9')"
run: |
py.test -n auto
py.test -n auto -v

# Coverage
- name: create-coverage-report
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Expand Up @@ -45,7 +45,7 @@ clean-pyc:

test: clean-pyc flake
@echo "$(OK_COLOR)==> Runnings tests ...$(NO_COLOR)"
@poetry run py.test -n auto
@poetry run py.test -n auto -v

coverage: clean-pyc
@echo "$(OK_COLOR)==> Calculating coverage...$(NO_COLOR)"
Expand Down
31 changes: 7 additions & 24 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions pyproject.toml
Expand Up @@ -48,7 +48,7 @@ classifiers = [

[tool.poetry.dependencies]
python = "^3.7.2"
termcolor = "^1.1.0"
termcolor-whl = "1.1.2"

[tool.poetry.dev-dependencies]
black = "^22.3"
Expand All @@ -58,7 +58,6 @@ isort = "^5.10"
pytest = "^7.1.2"
pytest-xdist = "^2.5"
pytest-cov = "^3.0"
pytest-sugar = "^0.9.4"
pylint = "^2.14"

[tool.poetry.urls]
Expand Down
7 changes: 2 additions & 5 deletions requirements.txt
Expand Up @@ -294,9 +294,6 @@ pytest-cov==3.0.0; python_version >= "3.6" \
pytest-forked==1.4.0; python_version >= "3.6" \
--hash=sha256:8b67587c8f98cbbadfdd804539ed5455b6ed03802203485dd2f53c1422d7440e \
--hash=sha256:bbbb6717efc886b9d64537b41fb1497cfaf3c9601276be8da2cccfea5a3c8ad8
pytest-sugar==0.9.5 \
--hash=sha256:eea78b6f15b635277d3d90280cd386d8feea1cab0f9be75947a626e8b02b477d \
--hash=sha256:3da42de32ce4e1e95b448d61c92804433f5d4058c0a765096991c2e93d5a289f
pytest-xdist==2.5.0; python_version >= "3.6" \
--hash=sha256:4580deca3ff04ddb2ac53eba39d76cb5dd5edeac050cb6fbc768b0dd712b4edf \
--hash=sha256:6fe5c74fec98906deb8f2d2b616b5c782022744978e7bd4695d39c8f42d0ce65
Expand Down Expand Up @@ -327,8 +324,8 @@ secretstorage==3.3.2; sys_platform == "linux" and python_version >= "3.7" \
six==1.16.0; python_version >= "3.7" and python_full_version < "3.0.0" or python_full_version >= "3.3.0" and python_version >= "3.7" \
--hash=sha256:8abb2f1d86890a2dfb989f9a77cfcfd3e47c2a354b01111771326f8aa26e0254 \
--hash=sha256:1e61c37477a1626458e36f7b1d82aa5c9b094fa4802892072e49de9c60c4c926
termcolor==1.1.0 \
--hash=sha256:1d6d69ce66211143803fbc56652b41d73b4a400a2891d7bf7a1cdf4c02de613b
termcolor-whl==1.1.2; python_version >= "2.6" \
--hash=sha256:3e7eda7348bb90ddea2d7a2171df65ed4a37adf62574fbd5459198410fdba881
tomli==2.0.1; python_full_version <= "3.11.0a6" and python_full_version >= "3.7.2" and python_version >= "3.7" and python_version < "3.11" \
--hash=sha256:939de3e7a6161af0c887ef91b7d41a53e7c5a1ca976325f429cb46ea9bc30ecc \
--hash=sha256:de526c12914f0c550d15924c62d72abc48d6fe7364aa87328337a31007fe8a4f
Expand Down