# This is the pip requirements file for extensive
# PyInstaller testing.
#
# Example (assuming current dir is PyInstaller's top-level source dir)::
#
#   python -m pip install -r tests/requirements-libraries.txt  # extensive

# include requirements for base testing
-r requirements-tools.txt


# Needs work
# ----------
# These packages, if updated, produce test failures. Work needs to be done on
# these hooks. Any requirement in this list should be followed by the
# `# pyup: ignore <https://pyup.io/docs/bot/filter/>`_ comment.
#
# - v. 2.2 and above fails.
Django==2.1.8  # pyup: ignore
matplotlib==3.0.3; python_version <= '3.5'  # pyup: ignore
matplotlib==3.2.2; python_version >= '3.6'  # pyup: ignore
# - v 21.1.0 fails; earlier versions not tested.
keyring==19.2.0  # pyup: ignore


# Working
# -------
# These packages work with no (known) issues.
babel==2.8.0
future==0.18.2
gevent==20.9.0
pygments==2.7.2
pyside2==5.15.1
pyqt5==5.15.1
pyqtwebengine==5.15.1
python-dateutil==2.8.1
pytz==2020.4
requests==2.24.0
# simplejson is used for text_c_extension
simplejson==3.17.2
sphinx==2.4.4 # pyup: ignore
# Required for test_namespace_package
sqlalchemy==1.3.20
zope.interface==5.2.0


# Python 3.5 not supported / supported for older versions
# -------------------------------------------------------

# iPython 7.10.0 and higher dropped Python 3.5 support per https://ipython.readthedocs.io/en/stable/whatsnew/version7.html#stop-support-for-python-3-5-adopt-nep-29.
ipython==7.19.0; python_version > '3.6'
ipython==7.16.1; python_version == '3.6'  # pyup: ignore
ipython==7.9.0; python_version == '3.5'  # pyup: ignore

# pandas 1.0.0 dropped Python 3.5 support.
pandas==1.1.4; python_version > '3.5'
pandas==0.25.3; python_version == '3.5'  # pyup: ignore

# Numpy 1.19 dropped Python 3.5 support
numpy==1.19.4; python_version > '3.5'
numpy<=1.19.0; python_version == '3.5'  # pyup: ignore

# And so did SciPy
scipy==1.5.4; python_version > '3.5'
scipy<=1.5.0; python_version == '3.5'  # pyup: ignore

# Pillow 8.0 dropped support for python 3.5
Pillow==8.0.1; python_version > '3.5'
Pillow<8.0.0; python_version == '3.5' # pyup: ignore
