old_contents: from os.path import dirname, join
  
  from setuptools import find_packages, setup
  
  from channels_redis import __version__
  
  # We use the README as the long_description
  readme = open(join(dirname(__file__), "README.rst")).read()
  
  crypto_requires = ["cryptography>=1.3.0"]
  
  test_requires = crypto_requires + [
      "pytest~=3.6.0",
      "pytest-asyncio~=0.8",
      "async_generator~=1.8",
      "async-timeout~=2.0",
  ]
  
  
  setup(
      name="channels_redis",
      version=__version__,
      url="http://github.com/django/channels_redis/",
      author="Django Software Foundation",
      author_email="foundation@djangoproject.com",
      description="Redis-backed ASGI channel layer implementation",
      long_description=readme,
      license="BSD",
      zip_safe=False,
      packages=find_packages(exclude=["tests"]),
      include_package_data=True,
      python_requires=">=3.6",
      install_requires=[
          "aioredis~=1.0",
          "msgpack~=0.6.0",
          "asgiref~=3.0",
          "channels~=2.2",
      ],
      extras_require={"cryptography": crypto_requires, "tests": test_requires},
  )
  
new_contents: from os.path import dirname, join
  
  from setuptools import find_packages, setup
  
  from channels_redis import __version__
  
  # We use the README as the long_description
  readme = open(join(dirname(__file__), "README.rst")).read()
  
  crypto_requires = ["cryptography>=1.3.0"]
  
  test_requires = crypto_requires + [
      "pytest~=5.4.0",
      "pytest-asyncio~=0.8",
      "async_generator~=1.8",
      "async-timeout~=2.0",
  ]
  
  
  setup(
      name="channels_redis",
      version=__version__,
      url="http://github.com/django/channels_redis/",
      author="Django Software Foundation",
      author_email="foundation@djangoproject.com",
      description="Redis-backed ASGI channel layer implementation",
      long_description=readme,
      license="BSD",
      zip_safe=False,
      packages=find_packages(exclude=["tests"]),
      include_package_data=True,
      python_requires=">=3.6",
      install_requires=[
          "aioredis~=1.0",
          "msgpack~=0.6.0",
          "asgiref~=3.0",
          "channels~=2.2",
      ],
      extras_require={"cryptography": crypto_requires, "tests": test_requires},
  )
  
subject: Bump pytest to 5.4.0 to resolve version conflicts (#190)