#72173 closed defect (worksforme)

borgmatic @1.9.13 (sysutils) is not working

Reported by: DrBrynzo Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.10.5
Keywords: Cc:
Port: borgmatic

Description

The current version of borgmatic (1.9.13) is not working. Per comment 9 in #72138 I attempted manually installing py-typing_extensions as I assumed perhaps this was a fix but it made no difference.

bryn@mini ~ % borgmatic --version
Traceback (most recent call last):
  File "/opt/local/bin/borgmatic", line 5, in <module>
    from borgmatic.commands.borgmatic import main
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/borgmatic/commands/borgmatic.py", line 11, in <module>
    import borgmatic.actions.borg
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/borgmatic/actions/borg.py", line 5, in <module>
    import borgmatic.config.validate
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/borgmatic/config/validate.py", line 4, in <module>
    import jsonschema
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/jsonschema/__init__.py", line 13, in <module>
    from jsonschema._format import FormatChecker
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/jsonschema/_format.py", line 11, in <module>
    from jsonschema.exceptions import FormatError
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/jsonschema/exceptions.py", line 15, in <module>
    from referencing.exceptions import Unresolvable as _Unresolvable
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/referencing/__init__.py", line 5, in <module>
    from referencing._core import Anchor, Registry, Resource, Specification
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/referencing/_core.py", line 18, in <module>
    from referencing.typing import URI, Anchor as AnchorType, D, Mapping, Retrieve
  File "/opt/local/Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12/site-packages/referencing/typing.py", line 22, in <module>
    D = TypeVar("D", default=Any)
        ^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'default' is an invalid keyword argument for typevar()
bryn@mini ~ % port info borgmatic
borgmatic @1.9.13 (sysutils)

Description:          borgmatic is simple, configuration-driven backup software for servers and workstations. Protect your files
                      with client-side encryption. Backup your databases too. Monitor it all with integrated third-party services.
Homepage:             https://torsion.org/borgmatic/

Build Dependencies:   py312-build, py312-installer, py312-setuptools, py312-wheel
Library Dependencies: python312
Runtime Dependencies: borgbackup, py312-colorama, py312-jsonschema, py312-packaging, py312-requests, py312-ruamel-yaml,
                      py312-ruamel-yaml-clib
Platforms:            darwin any
License:              GPL-3
Maintainers:          Email: cal@macports.org, GitHub: neverpanic
                      Policy: openmaintainer

https://trac.macports.org/ticket/72138#comment:9

Change History (4)

comment:1 Changed 11 months ago by jmroot (Joshua Root)

Resolution: duplicate
Status: newclosed

comment:2 Changed 11 months ago by DrBrynzo

Resolution: duplicate
Status: closedreopened

This should not be closed. The port does not work. I've tried on two M1 Macs, both running the latest Sequoia 15.3.1.

I thought the ticket marked as duplicate was closed because the subject and description no longer applied. That makes sense, that the text and assumptions would now be misleading. I updated to the latest version of the port however and when it did not work I made a clean ticket.

Should I have not linked to the old, closed ticket? This still needs to be fixed. How do I get some eyes on it?

comment:3 Changed 11 months ago by DrBrynzo

This now appears to be fixed (see #72138 for corroborating info). One system was fixed without a full port upgrade with "port upgrade py312-referencing" which pulled in py312-typing_extensions. The other was fixed with a "port selfupdate" and "port upgrade outdated".

bryn@wingnut ~ % sudo port upgrade outdated
--->  Computing dependencies for py312-typing_extensions
--->  Fetching archive for py312-typing_extensions
--->  Attempting to fetch py312-typing_extensions-4.12.2_0.darwin_any.noarch.tbz2 from https://packages.macports.org/py312-typing_extensions
--->  Attempting to fetch py312-typing_extensions-4.12.2_0.darwin_any.noarch.tbz2.rmd160 from https://packages.macports.org/py312-typing_extensions
--->  Installing py312-typing_extensions @4.12.2_0
--->  Activating py312-typing_extensions @4.12.2_0
--->  Cleaning py312-typing_extensions
--->  Computing dependencies for borgmatic
--->  Fetching archive for borgmatic
--->  Attempting to fetch borgmatic-1.9.13_0.darwin_any.noarch.tbz2 from https://packages.macports.org/borgmatic
--->  Attempting to fetch borgmatic-1.9.13_0.darwin_any.noarch.tbz2.rmd160 from https://packages.macports.org/borgmatic
--->  Installing borgmatic @1.9.13_0
--->  Cleaning borgmatic
--->  Computing dependencies for borgmatic
--->  Deactivating borgmatic @1.9.3_0
--->  Cleaning borgmatic
--->  Activating borgmatic @1.9.13_0
--->  Cleaning borgmatic
--->  Updating database of binaries
--->  Scanning binaries for linking errors
--->  No broken files found.
--->  No broken ports found.
bryn@wingnut ~ % borgmatic --version
1.9.13

comment:4 Changed 11 months ago by reneeotten (Renee Otten)

Resolution: worksforme
Status: reopenedclosed
Note: See TracTickets for help on using tickets.