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 committed Aug 29, 2024
1 parent b75934a commit f30557e
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 @@ -43,7 +43,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 @@ -68,7 +68,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>=1.11",
"types-requests>=2.25.1,<3.0",
],
},
)

0 comments on commit f30557e

Please sign in to comment.