Date: Mon, 20 Nov 2023 13:38:39 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 275213] sysutils/py-borgmatic: uses removed function Message-ID: <bug-275213-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D275213 Bug ID: 275213 Summary: sysutils/py-borgmatic: uses removed function Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: egypcio@FreeBSD.org Reporter: freebsd@rail.eu.org Flags: maintainer-feedback?(egypcio@FreeBSD.org) Assignee: egypcio@FreeBSD.org When starting borgmatic config generate, I get the error : # borgmatic config generate Generating a configuration file at: /usr/local/etc/borgmatic/config.yaml Traceback (most recent call last): File "/usr/local/bin/borgmatic", line 33, in <module> sys.exit(load_entry_point('borgmatic=3D=3D1.8.2', 'console_scripts', 'borgmatic')()) File "/usr/local/lib/python3.9/site-packages/borgmatic/commands/borgmatic.py", l= ine 872, in main list( File "/usr/local/lib/python3.9/site-packages/borgmatic/commands/borgmatic.py", l= ine 657, in collect_highlander_action_summary_logs borgmatic.actions.config.generate.run_generate( File "/usr/local/lib/python3.9/site-packages/borgmatic/actions/config/generate.p= y", line 25, in run_generate borgmatic.config.generate.generate_sample_configuration( File "/usr/local/lib/python3.9/site-packages/borgmatic/config/generate.py= ", line 278, in generate_sample_configuration schema =3D yaml.round_trip_load(open(schema_filename)) File "/usr/local/lib/python3.9/site-packages/ruamel/yaml/main.py", line 1= 127, in round_trip_load error_deprecation('round_trip_load_all', 'load') File "/usr/local/lib/python3.9/site-packages/ruamel/yaml/main.py", line 1= 037, in error_deprecation raise AttributeError(s) AttributeError:=20 "round_trip_load_all()" has been removed, use yaml =3D YAML() yaml.load(...) instead of file "/usr/local/lib/python3.9/site-packages/borgmatic/config/generate.py", line= 278 schema =3D yaml.round_trip_load(open(schema_filename)) There are more recent versions upstream, they may have corrected this ? --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-275213-7788>