Skip to content

Commit

Permalink
removing typing_extensions from package -- ScreenPyHQ/screenpy#96 (Sc…
Browse files Browse the repository at this point in the history
  • Loading branch information
bandophahita authored Sep 10, 2023
1 parent ace5256 commit a912b21
Show file tree
Hide file tree
Showing 5 changed files with 25 additions and 4 deletions.
21 changes: 21 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
# shortcuts
sync:
poetry install --extras dev_all --sync

update_lock_only:
poetry update --lock

update: update_lock_only
poetry install --extras dev_all

check:
poetry check

trunk_screenpy:
poetry add screenpy git+ssh://[email protected]:ScreenPyHQ/screenpy.git#trunk

local_screenpy:
pip uninstall screenpy
pip install -e ~/projects/screenpy

.PHONY: sync update trunk_screenpy local_screenpy
1 change: 0 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ python = "^3.8"
screenpy = ">=4.0.2"
screenpy_pyotp = ">=4.0.0"
selenium = ">=4.1.0"
typing-extensions = ">=4.1.1"
importlib_metadata = {version = "*", python = "3.8.*"}

# convenience packages for development of screenpy only
Expand Down
3 changes: 2 additions & 1 deletion screenpy_selenium/protocols.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
Additional protocols for ScreenPy Selenium.
"""

from typing import Protocol, runtime_checkable

from screenpy import Actor
from selenium.webdriver.common.action_chains import ActionChains
from typing_extensions import Protocol, runtime_checkable


@runtime_checkable
Expand Down
1 change: 0 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
requires = [
"screenpy>=4.0.2",
"screenpy_pyotp>=4.0.0",
"typing-extensions>=4.1.1",
"selenium>=4.1.0",
]

Expand Down
3 changes: 2 additions & 1 deletion tests/unittest_protocols.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
from typing import Protocol

from screenpy import Answerable, ErrorKeeper, Forgettable, Performable
from typing_extensions import Protocol

from screenpy_selenium import Chainable

Expand Down

0 comments on commit a912b21

Please sign in to comment.