<commit_before>bzr; python_version == '2.7'
kgb>=6.0
mercurial>=4.4.2
mock
nose

# As of p4python 2021.1.2128019, there are only compiled wheel packages for
# Python 2.7 and 3.6 through 3.9. p4python's setup.py doesn't support
# automatically locating p4api or OpenSSL on anything but Linux. We have to
# wire off # Python 3.10 support for now when not running on Linux.
#
# We also have to wire off p4python entirely on Apple M1 for now, as neither
# p4python nor p4api are available for the arch64 architecture.
p4python; (python_version <= '3.9' or platform_system == 'Linux') and platform_machine != 'arm64'

setuptools>=18.2

# As of subvertpy 0.10.1, Python 3.8 support is busted, resulting in a
# SystemError during usage (though installation works fine). 0.10.1 was
# released on July 19, 2017, and there has not been an official release
# since (even though the upstream source does fix this). For now, we can't
# safely install this on Python 3.8.
subvertpy; python_version <= '3.7'

wheel

# Load in some extra dependencies defined in Review Board's setup.py.
ReviewBoard[ldap]<commit_msg>Install custom builds of p4python on arm64.<commit_after>bzr; python_version == '2.7'
kgb>=6.0
mercurial>=4.4.2
mock
nose

# As of p4python 2021.1.2128019, there are only compiled wheel packages for
# Python 2.7 and 3.6 through 3.9. p4python's setup.py doesn't support
# automatically locating p4api or OpenSSL on anything but Linux. We have to
# wire off Python 3.10 support for now when not running on Linux or arm64.
#
# On Apple M1, we use our own builds, since as of right now, there are no
# official arm64 p4python builds from Perforce.
--trusted-host=downloads.reviewboard.org
--find-links=http://downloads.reviewboard.org/ports/p4python/
p4python; (python_version <= '3.9' or platform_system == 'Linux' or platform_system == "arm64")

setuptools>=18.2

# As of subvertpy 0.10.1, Python 3.8 support is busted, resulting in a
# SystemError during usage (though installation works fine). 0.10.1 was
# released on July 19, 2017, and there has not been an official release
# since (even though the upstream source does fix this). For now, we can't
# safely install this on Python 3.8.
subvertpy; python_version <= '3.7'

wheel

# Load in some extra dependencies defined in Review Board's setup.py.
ReviewBoard[ldap]
{'fraction_non_alphanumeric': 0.08969383354894352, 'fraction_numerical': 0.057783527382492456, 'mean_word_length': 4.321100917431193, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5482934', 'n_tokens_mistral': 796, 'n_tokens_neox': 719, 'n_words': 315}