From 55c44e2fe3fa7e6cc2488c879bdbd1446a8dd568 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 17 Oct 2022 16:09:11 -0500 Subject: [PATCH 1/3] PYTHON-3474 Improve documentation about credential handling --- doc/examples/authentication.rst | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/doc/examples/authentication.rst b/doc/examples/authentication.rst index 9512b23e4b..862ac40db2 100644 --- a/doc/examples/authentication.rst +++ b/doc/examples/authentication.rst @@ -268,11 +268,12 @@ or the local EC2 or ECS endpoint. The order in which the client searches for when using ``pymongo_auth_aws>=1.1.0``. Because we are now using ``boto3`` to handle credentials, the order and -locations of credentials are slightly different from previous versions. -Particularly, if you have a shared AWS credentials or config file, +locations of credentials are slightly different from before. Particularly, +if you have a shared AWS credentials or config file, then those credentials will be used by default if AWS auth environment -variables are not set. To override this behavior, set ``AWS_PROFILE=""`` in -your shell or add ``os.environ["AWS_PROFILE"] = ""`` to your script or +variables are not set. To override this behavior, set +``AWS_SHARED_CREDENTIALS_FILE=""`` in your shell or add +``os.environ["AWS_SHARED_CREDENTIALS_FILE"] = ""`` to your script or application. Alternatively, you can create an AWS profile specifically for your MongoDB credentials and set ``AWS_PROFILE`` to that profile name. From 30b9043f1f9ea63629eeaa4918da8755ced55997 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 17 Oct 2022 16:11:05 -0500 Subject: [PATCH 2/3] add explanatory note --- doc/changelog.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/changelog.rst b/doc/changelog.rst index 279c535180..3dbef598af 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -4,6 +4,9 @@ Changelog Changes in Version 4.3 ---------------------- +Note: We withheld uploading tags 4.3.0 and 4.3.1 to PyPI due to a +version handling error and a necessary documentation update. + `dnspython `_ is now a required dependency. This change makes PyMongo easier to install for use with "mongodb+srv://" connection strings and `MongoDB Atlas `_. From a97a8ce7d1a672ec23442687fedc57643049a34e Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Mon, 17 Oct 2022 16:13:16 -0500 Subject: [PATCH 3/3] address review --- doc/changelog.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/changelog.rst b/doc/changelog.rst index 3dbef598af..4688a8fb65 100644 --- a/doc/changelog.rst +++ b/doc/changelog.rst @@ -1,8 +1,8 @@ Changelog ========= -Changes in Version 4.3 ----------------------- +Changes in Version 4.3 (4.3.2) +------------------------------ Note: We withheld uploading tags 4.3.0 and 4.3.1 to PyPI due to a version handling error and a necessary documentation update.