Skip to content

Commit ad50a44

Browse files
authored
disallow latest sphinx release because it doesn't work with sphinx_rtd_theme (#1147)
* disallow latest sphinx release because it doesn't work with sphinx_rtd_theme * Update test_ssl.py * black
1 parent f0ed288 commit ad50a44

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,6 @@ def find_meta(meta):
100100
],
101101
extras_require={
102102
"test": ["flaky", "pretend", "pytest>=3.0.1"],
103-
"docs": ["sphinx", "sphinx_rtd_theme"],
103+
"docs": ["sphinx!=5.2.0,!=5.2.0.post0", "sphinx_rtd_theme"],
104104
},
105105
)

tests/test_ssl.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,8 @@ def socket_pair():
218218
client.setblocking(True)
219219
server = port.accept()[0]
220220

221+
port.close()
222+
221223
# Let's pass some unencrypted data to make sure our socket connection is
222224
# fine. Just one byte, so we don't have to worry about buffers getting
223225
# filled up or fragmentation.

0 commit comments

Comments
 (0)