mailbagit icon indicating copy to clipboard operation
mailbagit copied to clipboard

Issues building dependencies with Python 3.12

Open gwiedeman opened this issue 1 year ago • 3 comments

Describe the bug Some dependencies that get built locally, like typed-ast and libpff-python, have trouble installing on Python 3.11. This is probably mostly an issue for Windows and slim docker images.

For slim docker images, this is resolved by installing gcc:

apt update
apt install gcc

Most Linux distros and MacOS should already have this and build okay. This is a bigger issue for Windows, as even though everything builds fine on Python 3.10, there are no official installers for old Python versions now.

To Reproduce Steps to reproduce the behavior:

  1. Install Python 3.11
  2. run pip install mailbag

gwiedeman avatar Jun 08 '23 20:06 gwiedeman

There are still Windows installers for Python 3.10.11 which can be used to install mailbagit. However libpff-python still often has issues building with certain versions of Windows C++ build tools.

gwiedeman avatar Jun 08 '23 21:06 gwiedeman

Update, as of January 2024 mailbagit and libpff-python in particular seems to build fine on Python 3.11, but there are issues with Python 3.12.

gwiedeman avatar Jan 26 '24 16:01 gwiedeman

The 3.11 seemed to resolve itself as dependencies were updated, so I'm going to hold off one for a bit.

gwiedeman avatar Feb 07 '24 20:02 gwiedeman