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

PYTHON-3686 Pin mypy dependencies, don't upgrade pip #1198

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
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: 5 additions & 2 deletions .github/workflows/test-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,11 @@ jobs:
cache-dependency-path: 'setup.py'
- name: Install dependencies
run: |
python -m pip install -U pip mypy==0.990
pip install -e ".[zstd, encryption, ocsp]"
python -m pip install -U pip==23.0.1
python -m pip install mypy==0.990 tomli==2.0.1 typed-ast==1.5.4 typing-extensions==4.5.0
python -m pip install -e ".[zstd, encryption, ocsp]"
python -m pip uninstall -y pymongo
python -m pip freeze
- name: Run mypy
run: |
mypy --install-types --non-interactive bson gridfs tools pymongo
Expand Down
4 changes: 4 additions & 0 deletions MANIFEST.in
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,7 @@ include tools/README.rst
recursive-include test *.pem
recursive-include test *.py
recursive-include bson *.h
recursive-include bson *.pyi
recursive-include bson *.typed
recursive-include gridfs *.typed
recursive-include pymongo *.typed