Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issues building dependencies with Python 3.12 #231

Open
gwiedeman opened this issue Jun 8, 2023 · 3 comments
Open

Issues building dependencies with Python 3.12 #231

gwiedeman opened this issue Jun 8, 2023 · 3 comments
Labels
bug Something isn't working

Comments

@gwiedeman
Copy link
Collaborator

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 gwiedeman added the bug Something isn't working label Jun 8, 2023
@gwiedeman
Copy link
Collaborator Author

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 gwiedeman changed the title Issues building dependencies with Python 3.11 Issues building dependencies with Python 3.12 Jan 26, 2024
@gwiedeman
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant