Skip to content

Commit

Permalink
pin selenium
Browse files Browse the repository at this point in the history
  • Loading branch information
delijati committed Nov 14, 2023
1 parent c7af25f commit 1a46070
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@
# FITNESS FOR A PARTICULAR PURPOSE
#
##############################################################################
# Standard Library
import sys

from setuptools import find_packages
from setuptools import setup

Expand All @@ -27,8 +24,6 @@ def readfile(name):
CHANGES = readfile("CHANGES.txt")
VERSION = '3.0.0.dev0'

PY37MIN = sys.version_info[0] == 3 and sys.version_info[1] >= 7

requires = [
"Chameleon>=2.5.1", # Markup class
"colander>=1.0a1", # cstruct_children/appstruct_children, Set
Expand Down Expand Up @@ -72,11 +67,7 @@ def readfile(name):
"pylons-sphinx-themes",
]

# Selenium 4.0 does not work on Python 3.6.
if PY37MIN:
functional_testing_extras.extend(["selenium >= 4.0.0.b4"])
else:
functional_testing_extras.extend(["selenium >= 3.0, < 4.0"])
functional_testing_extras.extend(["selenium >= 4.0.0.b4, < 4.10.0"])

branch_version = ".".join(VERSION.split(".")[:2])

Expand Down

0 comments on commit 1a46070

Please sign in to comment.