Skip to content

Commit

Permalink
Avoid install types-requests at run-time
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon authored and greg-el committed Feb 20, 2025
1 parent aee3830 commit 19633ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
- name: MyPy
run: |
python -m pip install mypy
python -m pip install -e .[typing]
mypy snowplow_tracker --exclude '/test'
- name: Demo
Expand Down
7 changes: 6 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,12 @@
],
install_requires=[
"requests>=2.25.1,<3.0",
"types-requests>=2.25.1,<3.0",
"typing_extensions>=3.7.4",
],
extras_require={
"typing": [
"mypy>=0.971",
"types-requests>=2.25.1,<3.0",
],
},
)

0 comments on commit 19633ca

Please sign in to comment.