Skip to content

Commit

Permalink
add selenium-axe-pyhon package to selene1x branch
Browse files Browse the repository at this point in the history
pin selenium package to versions <4.10 because pytest-selenium currently
supports versions <4.10.

add py package because pytest-selenium still depends on it.

in Makefile, update `pyenv` target to try to delete the virtual environment before creating it. this way, we can get a clean virtual environment.
  • Loading branch information
dskard committed Oct 21, 2023
1 parent fb7bbb6 commit f2482ca
Show file tree
Hide file tree
Showing 3 changed files with 890 additions and 377 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ PYTHON_VERSION=3.9.10

pyenv:
pyenv install ${PYTHON_VERSION} --skip-existing
pyenv virtualenv-delete ${PROJECT} || true
pyenv virtualenv ${PYTHON_VERSION} ${PROJECT}
pyenv local ${PROJECT}
pip install pipenv
Expand Down
4 changes: 3 additions & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ pytest-test-groups = "*"
pytest-xdist = "*"
python-dateutil = "*"
requests = "*"
selenium = "*"
selenium = "<4.10"
selene = {git = "https://github.com/yashaka/selene.git",ref = "1.0.0a13"}
fuzzbucket-client = "*"
browsermob-proxy = "==0.8.0"
Expand All @@ -32,6 +32,8 @@ showfails = "*"
pytest-reportportal = "*"
rsa = "*"
posix-ipc = "*"
selenium-axe-python = "*"
py = "*"

[pipenv]
allow_prereleases = true
Loading

0 comments on commit f2482ca

Please sign in to comment.