Skip to content

fix: Add missing dependencies for types-python-dateutil#891

Merged
KazuCocoa merged 3 commits intoappium:masterfrom
Dor-bl:pre_Commit
Jul 11, 2023
Merged

fix: Add missing dependencies for types-python-dateutil#891
KazuCocoa merged 3 commits intoappium:masterfrom
Dor-bl:pre_Commit

Conversation

@Dor-bl
Copy link
Copy Markdown
Contributor

@Dor-bl Dor-bl commented Jul 10, 2023

Currently, when trying to commit, mypy hook is failing on Library stubs not installed for "dateutil.parser" although they are installed.

(venv) E:\Git\python-client>mypy --python-executable venv\Scripts\python --install-types
Installing missing stub packages:
venv\Scripts\python -m pip install types-python-dateutil

Install? [yN] y

Requirement already satisfied: types-python-dateutil in e:\git\python-client\venv\lib\site-packages (2.8.19.13)

The solution I found, for now, is adding additional_dependencies to mypy .pre-commit hook
See dateutil/dateutil#383 for more info

@KazuCocoa KazuCocoa merged commit 78bbb73 into appium:master Jul 11, 2023
@Dor-bl Dor-bl deleted the pre_Commit branch July 14, 2023 06:50
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.

2 participants