Skip to content
Discussion options

You must be logged in to vote

It's an upstream issue. As I understand it, pkg_resources has been deprecated since setuptools itself was removed from default Python 3.12 installations, i.e. almost 2 years ago.

A stopgap measure is to inject setuptools into the invoice2data venv. However, invoice2data itself may break permanently by the end of this year (2025), unless upstream commits the necessary changes to move away from pkg_resources:-

% invoice2data
Traceback (most recent call last):
  File "/Users/aho/.local/bin/invoice2data", line 5, in <module>
    from invoice2data.main import main
  File "/Users/aho/.local/pipx/venvs/invoice2data/lib/python3.13/site-packages/invoice2data/__init__.py", line 1, in <module>
    f…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@FSculla
Comment options

Answer selected by FSculla
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants