From nobody Fri Jul  7 17:28:49 2023
X-Original-To: python@mlmmj.nyi.freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1])
	by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QyL3Q0b4Xz4mBvG
	for <python@mlmmj.nyi.freebsd.org>; Fri,  7 Jul 2023 17:28:50 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256
	 client-signature RSA-PSS (4096 bits) client-digest SHA256)
	(Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK))
	by mx1.freebsd.org (Postfix) with ESMTPS id 4QyL3P6c3Rz4bKl
	for <python@FreeBSD.org>; Fri,  7 Jul 2023 17:28:49 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org;
	s=dkim; t=1688750929;
	h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
	 to:to:cc:mime-version:mime-version:content-type:content-type:
	 content-transfer-encoding:content-transfer-encoding;
	bh=RGps/WJg5qpvGBHpHTOjO5fseT/Wm/2SmWgYRF0V3Y0=;
	b=vwxU5UfLPpCjJRgaR+m9WYEvbEY+NmcScowZjRVwH5sI6aSrTyW/eHWO0OxJBXy2WXIoZT
	oZxCbrC07NNDpP5kR4VMqDzLcqQZOj6W8N0C7ekd3AS5ujXIeqszjX9btQyl6eNJyMPcm4
	/fJ2rhIBpyiRc6kHzloKafiYPchBgAASTMU9GySy/RnSTdO3XwnJ3BfI3cN0Z67M3kL9ce
	lM6PtExiqIMH87Lr6/0zNqkNw+s9ISHcrsRGnDHis8FdytQ1AhX6dibjWwwSiJa9iFMGOF
	8Ax5piySnHA6Xo660yWAtZkkIM2bLBQ6ZoUTfQTXGQcPw7JkN7ATWRbYBjmNIQ==
ARC-Authentication-Results: i=1;
	mx1.freebsd.org;
	none
ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1688750929; a=rsa-sha256; cv=none;
	b=sCVXdjYQ/TBHBZf4RYqsQualGpv04fw3BASQDlMCBkw5SicUEKx1B4OIKoKxWPPjA6VxA7
	EtF/WNz619D2unLK1kwXj7Hl6qyqYjNIcR0GwJ4iotdzR9eNvL1oZADs6w4VpKoK8Hxwb4
	GWQ1KDAcFTnJJoZ3TQcjGnlNyBOIh2e3mA1CUSYWDl/VnxFcJ3CNllwoK0/BL/Ios1yEaE
	Kc/J5ya0lu2myB65aB5EvHrMnebmGVNpgyeaHuzU8jNGkKAVMpqzCAM7qSeO+60X560DDh
	srKFx5xZYoliKENOlLatPraSDN6Y7roAnLh9kMFz358wSwfqzr6ZazKqmKyBvg==
Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(Client did not present a certificate)
	by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QyL3P5ZLLznNS
	for <python@FreeBSD.org>; Fri,  7 Jul 2023 17:28:49 +0000 (UTC)
	(envelope-from bugzilla-noreply@freebsd.org)
Received: from kenobi.freebsd.org ([127.0.1.5])
	by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 367HSnLi068924
	for <python@FreeBSD.org>; Fri, 7 Jul 2023 17:28:49 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
Received: (from www@localhost)
	by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 367HSnYm068923
	for python@FreeBSD.org; Fri, 7 Jul 2023 17:28:49 GMT
	(envelope-from bugzilla-noreply@freebsd.org)
X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f
From: bugzilla-noreply@freebsd.org
To: python@FreeBSD.org
Subject: [Bug 272418] devel/mercurial does not support OpenSSL 3.0
Date: Fri, 07 Jul 2023 17:28:49 +0000
X-Bugzilla-Reason: AssignedTo
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: Ports & Packages
X-Bugzilla-Component: Individual Port(s)
X-Bugzilla-Version: Latest
X-Bugzilla-Keywords: 
X-Bugzilla-Severity: Affects Only Me
X-Bugzilla-Who: cy@FreeBSD.org
X-Bugzilla-Status: New
X-Bugzilla-Resolution: 
X-Bugzilla-Priority: ---
X-Bugzilla-Assigned-To: python@FreeBSD.org
X-Bugzilla-Flags: maintainer-feedback?
X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform
 op_sys bug_status bug_severity priority component assigned_to reporter
 flagtypes.name
Message-ID: <bug-272418-21822@https.bugs.freebsd.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/
Auto-Submitted: auto-generated
List-Id: FreeBSD-specific Python issues <freebsd-python.freebsd.org>
List-Archive: https://lists.freebsd.org/archives/freebsd-python
List-Help: <mailto:python+help@freebsd.org>
List-Post: <mailto:python@freebsd.org>
List-Subscribe: <mailto:python+subscribe@freebsd.org>
List-Unsubscribe: <mailto:python+unsubscribe@freebsd.org>
Sender: owner-freebsd-python@freebsd.org
X-BeenThere: freebsd-python@freebsd.org
MIME-Version: 1.0
X-ThisMailContainsUnwantedMimeParts: N

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272418

            Bug ID: 272418
           Summary: devel/mercurial does not support OpenSSL 3.0
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: python@FreeBSD.org
          Reporter: cy@FreeBSD.org
             Flags: maintainer-feedback?(python@FreeBSD.org)
          Assignee: python@FreeBSD.org

I don't have a solution for this except to bring this to the attention of o=
ur
upstream at mercurial-scm.org. hg fails with the following error on 14-CURR=
ENT.

cwsys$ hg pull
pulling from https://anonhg.NetBSD.org/pkgsrc
** unknown exception encountered, please report by visiting
** https://mercurial-scm.org/wiki/BugTracker
** Python 3.9.17 (main, Jun 13 2023, 13:43:30) [Clang 15.0.7
(https://github.com/llvm/llvm-project.git llvmorg-15.0.7-0-g8dfdc
** Mercurial Distributed SCM (version 6.5)
** Extensions loaded:=20
Traceback (most recent call last):
  File "/usr/local/bin/hg", line 59, in <module>
    dispatch.run()
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
143, in run
    status =3D dispatch(req)
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
232, in dispatch
    status =3D _rundispatch(req)
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
276, in _rundispatch
    ret =3D _runcatch(req) or 0
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
457, in _runcatch
    return _callcatch(ui, _runcatchfunc)
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
467, in _callcatch
    return scmutil.callcatch(ui, func)
  File "/usr/local/lib/python3.9/site-packages/mercurial/scmutil.py", line =
153,
in callcatch
    return func()
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
447, in _runcatchfunc
    return _dispatch(req)
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
1272, in _dispatch
    return runcommand(
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
905, in runcommand
    ret =3D _runcommand(ui, options, cmd, d)
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
1284, in _runcommand
    return cmdfunc()
  File "/usr/local/lib/python3.9/site-packages/mercurial/dispatch.py", line
1270, in <lambda>
    d =3D lambda: util.checksignature(func)(ui, *args, **strcmdopt)
  File "/usr/local/lib/python3.9/site-packages/mercurial/util.py", line 188=
1,
in check
    return func(*args, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/mercurial/commands.py", line
5471, in pull
    other =3D hg.peer(repo, opts, path, remotehidden=3Dopts[b'remote_hidden=
'])
  File "/usr/local/lib/python3.9/site-packages/mercurial/hg.py", line 265, =
in
peer
    peer =3D cls.make_peer(
  File "/usr/local/lib/python3.9/site-packages/mercurial/httppeer.py", line
661, in make_peer
    inst =3D _make_peer(ui, path, remotehidden=3Dremotehidden)
  File "/usr/local/lib/python3.9/site-packages/mercurial/httppeer.py", line
637, in _make_peer
    respurl, info =3D performhandshake(ui, url, opener, requestbuilder)
  File "/usr/local/lib/python3.9/site-packages/mercurial/httppeer.py", line
575, in performhandshake
    resp =3D sendrequest(ui, opener, req)
  File "/usr/local/lib/python3.9/site-packages/mercurial/httppeer.py", line
288, in sendrequest
    res =3D opener.open(req)
  File "/usr/local/lib/python3.9/urllib/request.py", line 517, in open
    response =3D self._open(req, data)
  File "/usr/local/lib/python3.9/urllib/request.py", line 534, in _open
    result =3D self._call_chain(self.handle_open, protocol, protocol +
  File "/usr/local/lib/python3.9/urllib/request.py", line 494, in _call_cha=
in
    result =3D func(*args)
  File "/usr/local/lib/python3.9/site-packages/mercurial/url.py", line 371,=
 in
https_open
    return self.do_open(self._makeconnection, req)
  File "/usr/local/lib/python3.9/site-packages/mercurial/keepalive.py", line
244, in do_open
    self._start_transaction(h, req)
  File "/usr/local/lib/python3.9/site-packages/mercurial/url.py", line 357,=
 in
_start_transaction
    return keepalive.KeepAliveHandler._start_transaction(self, h, req)
  File "/usr/local/lib/python3.9/site-packages/mercurial/keepalive.py", line
361, in _start_transaction
    h.endheaders()
  File "/usr/local/lib/python3.9/http/client.py", line 1280, in endheaders
    self._send_output(message_body, encode_chunked=3Dencode_chunked)
  File "/usr/local/lib/python3.9/http/client.py", line 1040, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.9/site-packages/mercurial/url.py", line 188,=
 in
_sendfile
    orgsend(self, data)
  File "/usr/local/lib/python3.9/site-packages/mercurial/keepalive.py", line
636, in safesend
    self.connect()
  File "/usr/local/lib/python3.9/site-packages/mercurial/url.py", line 339,=
 in
connect
    self.sock =3D sslutil.wrapsocket(
  File "/usr/local/lib/python3.9/site-packages/mercurial/sslutil.py", line =
305,
in wrapsocket
    settings =3D _hostsettings(ui, serverhostname)
  File "/usr/local/lib/python3.9/site-packages/mercurial/sslutil.py", line =
105,
in _hostsettings
    assert supportedprotocols - {b'tls1.0'}
AssertionError
cwsys$=20

tls 1.0 is not supported by OpenSSL 3.0. Don't waste your time fiddling with
this line, the next line or anything else in sslutil.py. It will lead you d=
own
a rabbit hole. It's best to bring this to the attention of our upstream.

--=20
You are receiving this mail because:
You are the assignee for the bug.=