Skip to content

Conversation

blink1073
Copy link
Member

No description provided.

and require installation using ``pip``. Attempts to invoke the ``setup.py`` file will raise an exception.
Additionally, ``pip`` >= 21.3 is now required for editable installs.
- We no longer support the ``srv`` extra, since ``dnspython`` is included as a dependency in PyMongo 4.7+.
Instead of ``pip install pymongo[srv]``, use ``pip install pymongo``.
Copy link
Member

@ShaneHarvey ShaneHarvey Sep 17, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add the same for the "tls" extra which we also removed in the same commit?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The tls extra was only valid for Python 2 which we dropped in PYTHON-2133 pymongo 4.0.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated

- We no longer support the ``srv`` or ``tls`` extras, since ``dnspython`` is included as a dependency in PyMongo 4.7+.
Instead of ``pip install pymongo[srv]`` or ``pip install pymongo[tls]``, use ``pip install pymongo``.
- We no longer support the ``tls`` extra, which was only valid for Python 2.
Instead of ``pip install pymongo[tls]`` or ``pip install pymongo[tls]``, use ``pip install pymongo``.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There's some duplication. How about:

- We no longer support the ``srv`` extra, since ``dnspython`` is included as a dependency in PyMongo 4.7+.
  Instead of ``pip install pymongo[srv]``, use ``pip install pymongo``.
- We no longer support the ``tls`` extra, which was only valid for Python 2.
  Instead of ``pip install pymongo[tls]``, use ``pip install pymongo``.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@blink1073 blink1073 merged commit fb51c11 into mongodb:master Sep 17, 2024
33 of 34 checks passed
@blink1073 blink1073 deleted the PYTHON-4756 branch September 17, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants