Opened 9 months ago

Closed 9 months ago

#68032 closed update (fixed)

python311: update to 3.11.5

Reported by: artkiver (グレェ) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: python311

Description

While doing something completely unrelated, I noticed that Python 3.11.5 was released today and it is a security related release.

gh-108310: Fixed an issue where instances of ssl.SSLSocket were vulnerable to a bypass of the TLS handshake and included protections (like certificate verification) and treating sent unencrypted data as if it were post-handshake TLS encrypted data. Security issue reported as CVE-2023-40217 by Aapo Oksman. Patch by Gregory P. Smith.

I've prepped a diff for the Portfile and it seems to have built OK locally.

However, when running % port test I received the following:

Error: Failed to test python311: command execution failed
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_github.com_macports_macports-ports_lang_python311/python311/main.log for details.
Error: Follow https://guide.macports.org/#project.tickets if you believe there
is a bug.
Error: Processing of port python311 failed

Additionally, I noticed this in the Portfile:

# Remember to keep py311-tkinter and py311-gdbm's versions sync'd with this
version             3.11.5

So, rather than submitting a PR, I figure since the port has a maintainer, better to document my efforts along with my diff and main.log from tests to see if it would be helpful for others more experienced than I.

Thank you!

Attachments (2)

Portfile.diff.python3115 (1.0 KB) - added by artkiver (グレェ) 9 months ago.
diff for Portfile updating python311 to 3.11.5
main.log (4.0 MB) - added by artkiver (グレェ) 9 months ago.
main.log generated when running port test for 3.11.5

Change History (4)

Changed 9 months ago by artkiver (グレェ)

Attachment: Portfile.diff.python3115 added

diff for Portfile updating python311 to 3.11.5

Changed 9 months ago by artkiver (グレェ)

Attachment: main.log added

main.log generated when running port test for 3.11.5

comment:1 Changed 9 months ago by reneeotten (Renee Otten)

Port: python311 added
Priority: HighNormal
Summary: Python 3.11.5 WIPpython311: update to 3.11.5

comment:2 Changed 9 months ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 4bbbd11ba3cd396bd0f0dac975efb7843cb63a9c/macports-ports (master):

python311: update to 3.11.5

Closes: #68032

Note: See TracTickets for help on using tickets.