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

duplicity 1.2.1 incompatible with python3.12 #46572

Closed
adud opened this issue Oct 10, 2023 · 0 comments · Fixed by #46584
Closed

duplicity 1.2.1 incompatible with python3.12 #46572

adud opened this issue Oct 10, 2023 · 0 comments · Fixed by #46584
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed

Comments

@adud
Copy link

adud commented Oct 10, 2023

Is this a new report?

Yes

System Info

Void 6.5.6_1 x86_64 GenuineIntel uptodate rFFFF

Package(s) Affected

duplicity-1.2.1_3

Does a report exist for this bug with the project's home (upstream) and/or another distro?

No response

Expected behaviour

The package is supposed to do backups

Actual behaviour

Any call to duplicity results in the following python error

Traceback (most recent call last):
  File "/usr/bin/duplicity", line 30, in <module>
    from future import standard_library
  File "/usr/lib/python3.12/site-packages/future/standard_library/__init__.py", line 65, in <module>
    import imp
ModuleNotFoundError: No module named 'imp'

The bug comes from the future package, which uses the imp module (removed in python 3.12). The use of this package has been removed since duplicity 2.0.0 (https://gitlab.com/duplicity/duplicity/-/blob/main/CHANGELOG.md) while dropping python2.7 support

This could explain the failure in #46170

Steps to reproduce

duplicity

@adud adud added bug Something isn't working needs-testing Testing a PR or reproducing an issue needed labels Oct 10, 2023
ahesford added a commit to ahesford/void-packages that referenced this issue Oct 11, 2023
Johnnynator pushed a commit that referenced this issue Oct 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs-testing Testing a PR or reproducing an issue needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant