Open jaraco opened 4 years ago
Yeah, just skip that for now. It's quite tricky to catch all combos of OS x Python x OpenSSL/LibreSSL, most of the cases produce different results, especially under macOS.
Also, the upload failed because #214 (I think). At least, the log reports HTTPError: 403 Client Error: Invalid or non-existent authentication information. for url: https://upload.pypi.org/legacy/
. I assume that it still hits the old secret from .travis.yml
and you probably changed your password after supplying token, right?
I haven't changed my password. I expected the upload to work. Today I manually uploaded the release (after working around several other obstacles). I've opened #226 to clear one of those obstacles.
moving the other failure to #237
The tests that fail are: test_http_over_https_error[0.0.0.0-builtin]
and test_http_over_https_error[::-builtin]
.
In 7c68694, I mark those test (variants) as xfail so at least they shouldn't block releases any longer. I'll leave it as an exercise for someone else to trace the actual issue and address it properly.
After committing that workaround, the tests are now failing on macOS on my local workstation.
The problem is that this fixture fails when the fixture isn't initialized with a .send()
operation:
@pytest.fixture
def tls_http_server():
"""Provision a server creator as a fixture."""
def start_srv():
bind_addr, ssl_adapter = yield
httpserver = make_tls_http_server(bind_addr, ssl_adapter)
yield httpserver
yield httpserver
srv_creator = iter(start_srv())
next(srv_creator)
yield srv_creator
try:
while True:
httpserver = next(srv_creator)
if httpserver is not None:
httpserver.stop()
except StopIteration:
pass
Yeah, I've wanted to refactor that fixture for a long time as I gained more intel on how fixtures can be composed in pytest but never got to do it..
Attempting to cut the 6.6 release, the release was blocked due to test failures in macOS seen in this build. When I run the tests locally, those tests pass, but different tests fail.