boto / boto3

AWS SDK for Python
https://aws.amazon.com/sdk-for-python/
Apache License 2.0
8.99k stars 1.86k forks source link

Add a lock file for requirements-docs.txt #4171

Closed jonathan343 closed 2 months ago

jonathan343 commented 3 months ago

This PR uses the pip-compile command from pip-tools to generate a lock file for requirments-docs.txt. This was generated in Python 3.8 virtual environment.

NOTE: The following urllib3 requirements were added to requirements-docs.txt to force the same version constraints as botocore when generating the requirements-docs-lock.txt:

# Avoid urllib3 2.x below Python 3.10
urllib3<2.0 ; python_version < "3.10"

This specifically becomes an issue when using Python 3.8 since Sphinx has a transitive dependency on the latest version of urllib3 and botocore will require urllib3>=1.25.4,<1.27.