-
Notifications
You must be signed in to change notification settings - Fork 98
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
Instructions on how to install afew
with Python3.12(.3)
#346
Comments
Hey @xaltsc , I think at least some of those issue where fixed already, |
The first two with 3.0.1 give the exact same errors. What do you exactly mean by "an isolated venv without using system libs" ? |
This looks like a duplicate of #341. See https://docs.python.org/3/whatsnew/3.12.html#configparser for why the error is shown. |
The way I managed to make it work was to: a) Amend the EDIT: If you have a recent version of notmuch installed on your system, this issue has already been addressed on the notmuch side. You're likely already aware that the PyPI version is an outdated mirror of the source without the past few years of development—I wasn't aware of this, so my apologies. Then you can use
This should now work correctly. |
@kofm I get the exact same errors with your fix... My version of notmuch is 0.38.3-r1 and now the version of python is 3.12.8. |
👆 This. If you're getting errors due to the deprecated names in I can confirm that newer versions of notmuch python bindings (distributed with notmuch, e.g. mine are in On the other hand, |
You're right, I had missed that `pipx` was using the PyPI vesion of
notmuch. It works now. Thanks !
Gabriele Mongiano ***@***.***> writes:
…> This looks like a duplicate of #341. See https://docs.python.org/3/whatsnew/3.12.html#configparser for why the error is shown.
👆 This. If you're getting errors due to the deprecated names in `configparser` it could either be from notmuch python bindings or from afew. **Check the traceback and see where it occurs**.
I can confirm that newer versions of notmuch python bindings (distributed with notmuch, e.g. mine are in `/usr/lib/python3.13/site-packages/notmuch/`) fixed this problem. So, If you're still getting errrors from notmuch then you're probably using the outdated PyPI version (~0.29).
On the other hand, `afew` will have to be amended; you can refer to my PR #350. The PyPI version or the git repo are still affected by this issue.
--
Reply to this email directly or view it on GitHub:
#346 (comment)
You are receiving this because you were mentioned.
Message ID: ***@***.***>
|
Just to sum up the instructions:
git clone https://github.com/afewmail/afew
cd afew
sed -i s/readfp/read_file/ afew/Settings.py
pipx install --system-site-packages . |
Hey,
As for my particular setup, I'm running Alpine with Python3.12.3. I couldn't find a way to (re)install
afew
as an unprivileged user.I'm looking to install any version post the latest release, but the latest possible one would be ideal.
I essentially followed instructions here https://afew.readthedocs.io/en/latest/installation.html (with commit
a3f6f6a
as suggested by @GuillaumeSeren on IRC) and variations thereof, i.e.for which
$ afew
gives the following errorfor which
$ afew
gives the following errorI also tried to just
pipx install afew
with which running$ afew
gives the following error:pipx install --python 3.11 --fetch-missing-python afew
also fails because musl.The text was updated successfully, but these errors were encountered: