capa icon indicating copy to clipboard operation
capa copied to clipboard

introduce python 3.12 support

Open williballenthin opened this issue 2 years ago • 5 comments

python 3.12 was introduced Oct 2, 2023: https://www.python.org/downloads/release/python-3120/

update the GH action workflows to invoke python 3.12 instead of 3.11, and add 3.12 to our wide matrix of tested python versions on linux.

williballenthin avatar Nov 14 '23 11:11 williballenthin

python-flirt will require a new release with python 3.12 support, too.

williballenthin avatar Nov 14 '23 13:11 williballenthin

Thank you for the information. Fedora offers the option to install and use 3.11 side-by-side with 3.12 (or I can install it in the venv) so I will do that.

caedmon-kitty avatar Nov 23 '23 19:11 caedmon-kitty

can i direct update the version of python 3.11 to 3.12 in github workflows and matrix.

EmperialX avatar Dec 28 '23 21:12 EmperialX

python-flirt will require a new release with python 3.12 support, too.

@EmperialX this needs to be done before the matrix is changed or the installation will fail due to missing dependencies

williballenthin avatar Dec 29 '23 14:12 williballenthin

If I'm not mistaken, python-flirt now supports Python 3.12 since version 0.8.9 (2024-03-09?)

Problem is rather that capa depends on viv-sect[flirt] 0.7.9 (latest release as of today) that requires python-flirt 0.8.6, which does not support Python 3.12. Even the latest commit on viv-sect (unreleased) requires python-flirst 0.8.8 which is not enough.

I just created that issue: https://github.com/williballenthin/viv-utils/issues/149

capa will still need to update its dependencies once there is a new viv-utils release, so the current issue is still relevant.

gluesmith2021 avatar May 01 '24 20:05 gluesmith2021

I've updated viv-utils (and its publishing setup) so that capa now works on Python 3.12:

image

This will be part of v7.1 released shortly.

williballenthin avatar Jun 14 '24 10:06 williballenthin