Skip to content

Commit c9ac5a5

Browse files
authored
PYTHON-3447 Add back empty tls extra to avoid pip warnings (#1065)
1 parent c874c96 commit c9ac5a5

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

.github/workflows/test-python.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ jobs:
6060
- name: Install dependencies
6161
run: |
6262
python -m pip install -U pip mypy
63-
pip install -e ".[zstd, srv, encryption, ocsp]"
63+
pip install -e ".[zstd, encryption, ocsp]"
6464
- name: Run mypy
6565
run: |
6666
mypy --install-types --non-interactive bson gridfs tools pymongo

README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ Client-Side Field Level Encryption requires `pymongocrypt
137137
You can install all dependencies automatically with the following
138138
command::
139139

140-
$ python -m pip install "pymongo[gssapi,aws,ocsp,snappy,srv,tls,zstd,encryption]"
140+
$ python -m pip install "pymongo[gssapi,aws,ocsp,snappy,zstd,encryption]"
141141

142142
Additional dependencies are:
143143

doc/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Wire protocol compression with zstandard requires `zstandard
7777
You can install all dependencies automatically with the following
7878
command::
7979

80-
$ python3 -m pip install "pymongo[gssapi,aws,ocsp,snappy,srv,zstd,encryption]"
80+
$ python3 -m pip install "pymongo[gssapi,aws,ocsp,snappy,zstd,encryption]"
8181

8282
Installing from source
8383
----------------------

setup.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ def build_extension(self, ext):
281281
"snappy": ["python-snappy"],
282282
"zstd": ["zstandard"],
283283
"aws": ["pymongo-auth-aws<2.0.0"],
284-
"srv": [],
284+
"srv": [], # PYTHON-3423 Removed in 4.3 but kept here to avoid pip warnings.
285+
"tls": [], # PYTHON-2133 Removed in 4.0 but kept here to avoid pip warnings.
285286
}
286287

287288
# GSSAPI extras

0 commit comments

Comments
 (0)